diff --git a/examples/src/main/java/io/kubernetes/client/examples/Example.java b/examples/src/main/java/io/kubernetes/client/examples/Example.java index d6905c41a0..0b154acc5e 100644 --- a/examples/src/main/java/io/kubernetes/client/examples/Example.java +++ b/examples/src/main/java/io/kubernetes/client/examples/Example.java @@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException, ApiException{ Configuration.setDefaultApiClient(client); CoreV1Api api = new CoreV1Api(); - V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null); + V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null); for (V1Pod item : list.getItems()) { System.out.println(item.getMetadata().getName()); } diff --git a/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java b/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java index 1e419fcfc4..99ac805f89 100644 --- a/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java +++ b/examples/src/main/java/io/kubernetes/client/examples/WatchExample.java @@ -35,7 +35,7 @@ public static void main(String[] args) throws IOException, ApiException{ Watch watch = Watch.createWatch( client, - api.listNamespaceCall(null, null, null, null, 5, Boolean.TRUE, null, null), + api.listNamespaceCall(null, null, null, null, null, 5, null, null, Boolean.TRUE, null, null), new TypeToken>(){}.getType()); for (Watch.Response item : watch) { diff --git a/kubernetes/.swagger-codegen/COMMIT b/kubernetes/.swagger-codegen/COMMIT new file mode 100644 index 0000000000..d210b271cf --- /dev/null +++ b/kubernetes/.swagger-codegen/COMMIT @@ -0,0 +1,2 @@ +Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5 +Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5 diff --git a/kubernetes/docs/AdmissionregistrationApi.md b/kubernetes/docs/AdmissionregistrationApi.md new file mode 100644 index 0000000000..45c3a669ca --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationApi.md @@ -0,0 +1,60 @@ +# AdmissionregistrationApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**getAPIGroup**](AdmissionregistrationApi.md#getAPIGroup) | **GET** /apis/admissionregistration.k8s.io/ | + + + +# **getAPIGroup** +> V1APIGroup getAPIGroup() + + + +get information of a group + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationApi; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationApi apiInstance = new AdmissionregistrationApi(); +try { + V1APIGroup result = apiInstance.getAPIGroup(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationApi#getAPIGroup"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md new file mode 100644 index 0000000000..5e64d98417 --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md @@ -0,0 +1,960 @@ +# AdmissionregistrationV1alpha1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#createExternalAdmissionHookConfiguration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | +[**createInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#createInitializerConfiguration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | +[**deleteCollectionExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#deleteCollectionExternalAdmissionHookConfiguration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | +[**deleteCollectionInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#deleteCollectionInitializerConfiguration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | +[**deleteExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#deleteExternalAdmissionHookConfiguration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | +[**deleteInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#deleteInitializerConfiguration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | +[**getAPIResources**](AdmissionregistrationV1alpha1Api.md#getAPIResources) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/ | +[**listExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#listExternalAdmissionHookConfiguration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | +[**listInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#listInitializerConfiguration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | +[**patchExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#patchExternalAdmissionHookConfiguration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | +[**patchInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#patchInitializerConfiguration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | +[**readExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#readExternalAdmissionHookConfiguration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | +[**readInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#readInitializerConfiguration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | +[**replaceExternalAdmissionHookConfiguration**](AdmissionregistrationV1alpha1Api.md#replaceExternalAdmissionHookConfiguration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | +[**replaceInitializerConfiguration**](AdmissionregistrationV1alpha1Api.md#replaceInitializerConfiguration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | + + + +# **createExternalAdmissionHookConfiguration** +> V1alpha1ExternalAdmissionHookConfiguration createExternalAdmissionHookConfiguration(body, pretty) + + + +create an ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +V1alpha1ExternalAdmissionHookConfiguration body = new V1alpha1ExternalAdmissionHookConfiguration(); // V1alpha1ExternalAdmissionHookConfiguration | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1ExternalAdmissionHookConfiguration result = apiInstance.createExternalAdmissionHookConfiguration(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#createExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createInitializerConfiguration** +> V1alpha1InitializerConfiguration createInitializerConfiguration(body, pretty) + + + +create an InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +V1alpha1InitializerConfiguration body = new V1alpha1InitializerConfiguration(); // V1alpha1InitializerConfiguration | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1InitializerConfiguration result = apiInstance.createInitializerConfiguration(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#createInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionExternalAdmissionHookConfiguration** +> V1Status deleteCollectionExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#deleteCollectionExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionInitializerConfiguration** +> V1Status deleteCollectionInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#deleteCollectionInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteExternalAdmissionHookConfiguration** +> V1Status deleteExternalAdmissionHookConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete an ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the ExternalAdmissionHookConfiguration +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteExternalAdmissionHookConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#deleteExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ExternalAdmissionHookConfiguration | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteInitializerConfiguration** +> V1Status deleteInitializerConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete an InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the InitializerConfiguration +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteInitializerConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#deleteInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the InitializerConfiguration | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listExternalAdmissionHookConfiguration** +> V1alpha1ExternalAdmissionHookConfigurationList listExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1alpha1ExternalAdmissionHookConfigurationList result = apiInstance.listExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#listExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1ExternalAdmissionHookConfigurationList**](V1alpha1ExternalAdmissionHookConfigurationList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listInitializerConfiguration** +> V1alpha1InitializerConfigurationList listInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1alpha1InitializerConfigurationList result = apiInstance.listInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#listInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1InitializerConfigurationList**](V1alpha1InitializerConfigurationList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchExternalAdmissionHookConfiguration** +> V1alpha1ExternalAdmissionHookConfiguration patchExternalAdmissionHookConfiguration(name, body, pretty) + + + +partially update the specified ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the ExternalAdmissionHookConfiguration +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1ExternalAdmissionHookConfiguration result = apiInstance.patchExternalAdmissionHookConfiguration(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#patchExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ExternalAdmissionHookConfiguration | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchInitializerConfiguration** +> V1alpha1InitializerConfiguration patchInitializerConfiguration(name, body, pretty) + + + +partially update the specified InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the InitializerConfiguration +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1InitializerConfiguration result = apiInstance.patchInitializerConfiguration(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#patchInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the InitializerConfiguration | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readExternalAdmissionHookConfiguration** +> V1alpha1ExternalAdmissionHookConfiguration readExternalAdmissionHookConfiguration(name, pretty, exact, export) + + + +read the specified ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the ExternalAdmissionHookConfiguration +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1alpha1ExternalAdmissionHookConfiguration result = apiInstance.readExternalAdmissionHookConfiguration(name, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#readExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ExternalAdmissionHookConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readInitializerConfiguration** +> V1alpha1InitializerConfiguration readInitializerConfiguration(name, pretty, exact, export) + + + +read the specified InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the InitializerConfiguration +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1alpha1InitializerConfiguration result = apiInstance.readInitializerConfiguration(name, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#readInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the InitializerConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceExternalAdmissionHookConfiguration** +> V1alpha1ExternalAdmissionHookConfiguration replaceExternalAdmissionHookConfiguration(name, body, pretty) + + + +replace the specified ExternalAdmissionHookConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the ExternalAdmissionHookConfiguration +V1alpha1ExternalAdmissionHookConfiguration body = new V1alpha1ExternalAdmissionHookConfiguration(); // V1alpha1ExternalAdmissionHookConfiguration | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1ExternalAdmissionHookConfiguration result = apiInstance.replaceExternalAdmissionHookConfiguration(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#replaceExternalAdmissionHookConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ExternalAdmissionHookConfiguration | + **body** | [**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceInitializerConfiguration** +> V1alpha1InitializerConfiguration replaceInitializerConfiguration(name, body, pretty) + + + +replace the specified InitializerConfiguration + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AdmissionregistrationV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AdmissionregistrationV1alpha1Api apiInstance = new AdmissionregistrationV1alpha1Api(); +String name = "name_example"; // String | name of the InitializerConfiguration +V1alpha1InitializerConfiguration body = new V1alpha1InitializerConfiguration(); // V1alpha1InitializerConfiguration | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1InitializerConfiguration result = apiInstance.replaceInitializerConfiguration(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AdmissionregistrationV1alpha1Api#replaceInitializerConfiguration"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the InitializerConfiguration | + **body** | [**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/ApiextensionsApi.md b/kubernetes/docs/ApiextensionsApi.md new file mode 100644 index 0000000000..da5ccc06ba --- /dev/null +++ b/kubernetes/docs/ApiextensionsApi.md @@ -0,0 +1,60 @@ +# ApiextensionsApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**getAPIGroup**](ApiextensionsApi.md#getAPIGroup) | **GET** /apis/apiextensions.k8s.io/ | + + + +# **getAPIGroup** +> V1APIGroup getAPIGroup() + + + +get information of a group + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsApi; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsApi apiInstance = new ApiextensionsApi(); +try { + V1APIGroup result = apiInstance.getAPIGroup(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsApi#getAPIGroup"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/ApiextensionsV1beta1Api.md b/kubernetes/docs/ApiextensionsV1beta1Api.md new file mode 100644 index 0000000000..3d0284af18 --- /dev/null +++ b/kubernetes/docs/ApiextensionsV1beta1Api.md @@ -0,0 +1,570 @@ +# ApiextensionsV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createCustomResourceDefinition**](ApiextensionsV1beta1Api.md#createCustomResourceDefinition) | **POST** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | +[**deleteCollectionCustomResourceDefinition**](ApiextensionsV1beta1Api.md#deleteCollectionCustomResourceDefinition) | **DELETE** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | +[**deleteCustomResourceDefinition**](ApiextensionsV1beta1Api.md#deleteCustomResourceDefinition) | **DELETE** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**getAPIResources**](ApiextensionsV1beta1Api.md#getAPIResources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ | +[**listCustomResourceDefinition**](ApiextensionsV1beta1Api.md#listCustomResourceDefinition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | +[**patchCustomResourceDefinition**](ApiextensionsV1beta1Api.md#patchCustomResourceDefinition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**readCustomResourceDefinition**](ApiextensionsV1beta1Api.md#readCustomResourceDefinition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**replaceCustomResourceDefinition**](ApiextensionsV1beta1Api.md#replaceCustomResourceDefinition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**replaceCustomResourceDefinitionStatus**](ApiextensionsV1beta1Api.md#replaceCustomResourceDefinitionStatus) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | + + + +# **createCustomResourceDefinition** +> V1beta1CustomResourceDefinition createCustomResourceDefinition(body, pretty) + + + +create a CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +V1beta1CustomResourceDefinition body = new V1beta1CustomResourceDefinition(); // V1beta1CustomResourceDefinition | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CustomResourceDefinition result = apiInstance.createCustomResourceDefinition(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#createCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionCustomResourceDefinition** +> V1Status deleteCollectionCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#deleteCollectionCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCustomResourceDefinition** +> V1Status deleteCustomResourceDefinition(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String name = "name_example"; // String | name of the CustomResourceDefinition +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteCustomResourceDefinition(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#deleteCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listCustomResourceDefinition** +> V1beta1CustomResourceDefinitionList listCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta1CustomResourceDefinitionList result = apiInstance.listCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#listCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinitionList**](V1beta1CustomResourceDefinitionList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchCustomResourceDefinition** +> V1beta1CustomResourceDefinition patchCustomResourceDefinition(name, body, pretty) + + + +partially update the specified CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String name = "name_example"; // String | name of the CustomResourceDefinition +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CustomResourceDefinition result = apiInstance.patchCustomResourceDefinition(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#patchCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readCustomResourceDefinition** +> V1beta1CustomResourceDefinition readCustomResourceDefinition(name, pretty, exact, export) + + + +read the specified CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String name = "name_example"; // String | name of the CustomResourceDefinition +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta1CustomResourceDefinition result = apiInstance.readCustomResourceDefinition(name, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#readCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceCustomResourceDefinition** +> V1beta1CustomResourceDefinition replaceCustomResourceDefinition(name, body, pretty) + + + +replace the specified CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String name = "name_example"; // String | name of the CustomResourceDefinition +V1beta1CustomResourceDefinition body = new V1beta1CustomResourceDefinition(); // V1beta1CustomResourceDefinition | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CustomResourceDefinition result = apiInstance.replaceCustomResourceDefinition(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#replaceCustomResourceDefinition"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceCustomResourceDefinitionStatus** +> V1beta1CustomResourceDefinition replaceCustomResourceDefinitionStatus(name, body, pretty) + + + +replace status of the specified CustomResourceDefinition + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiextensionsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api(); +String name = "name_example"; // String | name of the CustomResourceDefinition +V1beta1CustomResourceDefinition body = new V1beta1CustomResourceDefinition(); // V1beta1CustomResourceDefinition | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CustomResourceDefinition result = apiInstance.replaceCustomResourceDefinitionStatus(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiextensionsV1beta1Api#replaceCustomResourceDefinitionStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/ApiregistrationApi.md b/kubernetes/docs/ApiregistrationApi.md new file mode 100644 index 0000000000..4a11b905bc --- /dev/null +++ b/kubernetes/docs/ApiregistrationApi.md @@ -0,0 +1,60 @@ +# ApiregistrationApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**getAPIGroup**](ApiregistrationApi.md#getAPIGroup) | **GET** /apis/apiregistration.k8s.io/ | + + + +# **getAPIGroup** +> V1APIGroup getAPIGroup() + + + +get information of a group + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationApi; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationApi apiInstance = new ApiregistrationApi(); +try { + V1APIGroup result = apiInstance.getAPIGroup(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationApi#getAPIGroup"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/ApiregistrationV1beta1Api.md b/kubernetes/docs/ApiregistrationV1beta1Api.md new file mode 100644 index 0000000000..2009c588f6 --- /dev/null +++ b/kubernetes/docs/ApiregistrationV1beta1Api.md @@ -0,0 +1,570 @@ +# ApiregistrationV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createAPIService**](ApiregistrationV1beta1Api.md#createAPIService) | **POST** /apis/apiregistration.k8s.io/v1beta1/apiservices | +[**deleteAPIService**](ApiregistrationV1beta1Api.md#deleteAPIService) | **DELETE** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**deleteCollectionAPIService**](ApiregistrationV1beta1Api.md#deleteCollectionAPIService) | **DELETE** /apis/apiregistration.k8s.io/v1beta1/apiservices | +[**getAPIResources**](ApiregistrationV1beta1Api.md#getAPIResources) | **GET** /apis/apiregistration.k8s.io/v1beta1/ | +[**listAPIService**](ApiregistrationV1beta1Api.md#listAPIService) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices | +[**patchAPIService**](ApiregistrationV1beta1Api.md#patchAPIService) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**readAPIService**](ApiregistrationV1beta1Api.md#readAPIService) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**replaceAPIService**](ApiregistrationV1beta1Api.md#replaceAPIService) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**replaceAPIServiceStatus**](ApiregistrationV1beta1Api.md#replaceAPIServiceStatus) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | + + + +# **createAPIService** +> V1beta1APIService createAPIService(body, pretty) + + + +create an APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +V1beta1APIService body = new V1beta1APIService(); // V1beta1APIService | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1APIService result = apiInstance.createAPIService(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#createAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1APIService**](V1beta1APIService.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteAPIService** +> V1Status deleteAPIService(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete an APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String name = "name_example"; // String | name of the APIService +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteAPIService(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#deleteAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionAPIService** +> V1Status deleteCollectionAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#deleteCollectionAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listAPIService** +> V1beta1APIServiceList listAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta1APIServiceList result = apiInstance.listAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#listAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1APIServiceList**](V1beta1APIServiceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchAPIService** +> V1beta1APIService patchAPIService(name, body, pretty) + + + +partially update the specified APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String name = "name_example"; // String | name of the APIService +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1APIService result = apiInstance.patchAPIService(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#patchAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readAPIService** +> V1beta1APIService readAPIService(name, pretty, exact, export) + + + +read the specified APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String name = "name_example"; // String | name of the APIService +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta1APIService result = apiInstance.readAPIService(name, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#readAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceAPIService** +> V1beta1APIService replaceAPIService(name, body, pretty) + + + +replace the specified APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String name = "name_example"; // String | name of the APIService +V1beta1APIService body = new V1beta1APIService(); // V1beta1APIService | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1APIService result = apiInstance.replaceAPIService(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#replaceAPIService"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | [**V1beta1APIService**](V1beta1APIService.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceAPIServiceStatus** +> V1beta1APIService replaceAPIServiceStatus(name, body, pretty) + + + +replace status of the specified APIService + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.ApiregistrationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +ApiregistrationV1beta1Api apiInstance = new ApiregistrationV1beta1Api(); +String name = "name_example"; // String | name of the APIService +V1beta1APIService body = new V1beta1APIService(); // V1beta1APIService | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1APIService result = apiInstance.replaceAPIServiceStatus(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling ApiregistrationV1beta1Api#replaceAPIServiceStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | [**V1beta1APIService**](V1beta1APIService.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/AppsV1beta1Api.md b/kubernetes/docs/AppsV1beta1Api.md index 3b28581b4d..fd1e74c084 100644 --- a/kubernetes/docs/AppsV1beta1Api.md +++ b/kubernetes/docs/AppsV1beta1Api.md @@ -4,35 +4,105 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**createNamespacedControllerRevision**](AppsV1beta1Api.md#createNamespacedControllerRevision) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | [**createNamespacedDeployment**](AppsV1beta1Api.md#createNamespacedDeployment) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments | -[**createNamespacedDeploymentRollbackRollback**](AppsV1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | +[**createNamespacedDeploymentRollback**](AppsV1beta1Api.md#createNamespacedDeploymentRollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | [**createNamespacedStatefulSet**](AppsV1beta1Api.md#createNamespacedStatefulSet) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | +[**deleteCollectionNamespacedControllerRevision**](AppsV1beta1Api.md#deleteCollectionNamespacedControllerRevision) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | [**deleteCollectionNamespacedDeployment**](AppsV1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments | [**deleteCollectionNamespacedStatefulSet**](AppsV1beta1Api.md#deleteCollectionNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | +[**deleteNamespacedControllerRevision**](AppsV1beta1Api.md#deleteNamespacedControllerRevision) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | [**deleteNamespacedDeployment**](AppsV1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | [**deleteNamespacedStatefulSet**](AppsV1beta1Api.md#deleteNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | [**getAPIResources**](AppsV1beta1Api.md#getAPIResources) | **GET** /apis/apps/v1beta1/ | +[**listControllerRevisionForAllNamespaces**](AppsV1beta1Api.md#listControllerRevisionForAllNamespaces) | **GET** /apis/apps/v1beta1/controllerrevisions | [**listDeploymentForAllNamespaces**](AppsV1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/apps/v1beta1/deployments | +[**listNamespacedControllerRevision**](AppsV1beta1Api.md#listNamespacedControllerRevision) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | [**listNamespacedDeployment**](AppsV1beta1Api.md#listNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments | [**listNamespacedStatefulSet**](AppsV1beta1Api.md#listNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | [**listStatefulSetForAllNamespaces**](AppsV1beta1Api.md#listStatefulSetForAllNamespaces) | **GET** /apis/apps/v1beta1/statefulsets | +[**patchNamespacedControllerRevision**](AppsV1beta1Api.md#patchNamespacedControllerRevision) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | [**patchNamespacedDeployment**](AppsV1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +[**patchNamespacedDeploymentScale**](AppsV1beta1Api.md#patchNamespacedDeploymentScale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**patchNamespacedDeploymentStatus**](AppsV1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**patchNamespacedScaleScale**](AppsV1beta1Api.md#patchNamespacedScaleScale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**patchNamespacedStatefulSet**](AppsV1beta1Api.md#patchNamespacedStatefulSet) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | +[**patchNamespacedStatefulSetScale**](AppsV1beta1Api.md#patchNamespacedStatefulSetScale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale | [**patchNamespacedStatefulSetStatus**](AppsV1beta1Api.md#patchNamespacedStatefulSetStatus) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | +[**readNamespacedControllerRevision**](AppsV1beta1Api.md#readNamespacedControllerRevision) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | [**readNamespacedDeployment**](AppsV1beta1Api.md#readNamespacedDeployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +[**readNamespacedDeploymentScale**](AppsV1beta1Api.md#readNamespacedDeploymentScale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**readNamespacedDeploymentStatus**](AppsV1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**readNamespacedScaleScale**](AppsV1beta1Api.md#readNamespacedScaleScale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**readNamespacedStatefulSet**](AppsV1beta1Api.md#readNamespacedStatefulSet) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | +[**readNamespacedStatefulSetScale**](AppsV1beta1Api.md#readNamespacedStatefulSetScale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale | [**readNamespacedStatefulSetStatus**](AppsV1beta1Api.md#readNamespacedStatefulSetStatus) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | +[**replaceNamespacedControllerRevision**](AppsV1beta1Api.md#replaceNamespacedControllerRevision) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | [**replaceNamespacedDeployment**](AppsV1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +[**replaceNamespacedDeploymentScale**](AppsV1beta1Api.md#replaceNamespacedDeploymentScale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**replaceNamespacedDeploymentStatus**](AppsV1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**replaceNamespacedScaleScale**](AppsV1beta1Api.md#replaceNamespacedScaleScale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**replaceNamespacedStatefulSet**](AppsV1beta1Api.md#replaceNamespacedStatefulSet) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | +[**replaceNamespacedStatefulSetScale**](AppsV1beta1Api.md#replaceNamespacedStatefulSetScale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale | [**replaceNamespacedStatefulSetStatus**](AppsV1beta1Api.md#replaceNamespacedStatefulSetStatus) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | + +# **createNamespacedControllerRevision** +> V1beta1ControllerRevision createNamespacedControllerRevision(namespace, body, pretty) + + + +create a ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta1ControllerRevision body = new V1beta1ControllerRevision(); // V1beta1ControllerRevision | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1ControllerRevision result = apiInstance.createNamespacedControllerRevision(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#createNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1ControllerRevision**](V1beta1ControllerRevision.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1ControllerRevision**](V1beta1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + # **createNamespacedDeployment** > AppsV1beta1Deployment createNamespacedDeployment(namespace, body, pretty) @@ -92,13 +162,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedDeploymentRollbackRollback** -> AppsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty) + +# **createNamespacedDeploymentRollback** +> AppsV1beta1DeploymentRollback createNamespacedDeploymentRollback(name, namespace, body, pretty) -create rollback of a DeploymentRollback +create rollback of a Deployment ### Example ```java @@ -123,10 +193,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, AppsV1beta1DeploymentRollback body = new AppsV1beta1DeploymentRollback(); // AppsV1beta1DeploymentRollback | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1DeploymentRollback result = apiInstance.createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty); + AppsV1beta1DeploymentRollback result = apiInstance.createNamespacedDeploymentRollback(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#createNamespacedDeploymentRollbackRollback"); + System.err.println("Exception when calling AppsV1beta1Api#createNamespacedDeploymentRollback"); e.printStackTrace(); } ``` @@ -207,6 +277,79 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedControllerRevision** +> V1Status deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#deleteCollectionNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* @@ -214,7 +357,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedDeployment** -> V1Status deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -240,13 +383,16 @@ BearerToken.setApiKey("YOUR API KEY"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AppsV1beta1Api#deleteCollectionNamespacedDeployment"); @@ -260,8 +406,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -281,7 +430,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedStatefulSet** -> V1Status deleteCollectionNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -307,13 +456,16 @@ BearerToken.setApiKey("YOUR API KEY"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AppsV1beta1Api#deleteCollectionNamespacedStatefulSet"); @@ -327,8 +479,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -341,6 +496,73 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedControllerRevision** +> V1Status deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#deleteNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* @@ -531,13 +753,13 @@ This endpoint does not need any parameter. - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **listDeploymentForAllNamespaces** -> AppsV1beta1DeploymentList listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) + +# **listControllerRevisionForAllNamespaces** +> V1beta1ControllerRevisionList listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) -list or watch objects of kind Deployment +list or watch objects of kind ControllerRevision ### Example ```java @@ -557,17 +779,20 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - AppsV1beta1DeploymentList result = apiInstance.listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1ControllerRevisionList result = apiInstance.listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#listDeploymentForAllNamespaces"); + System.err.println("Exception when calling AppsV1beta1Api#listControllerRevisionForAllNamespaces"); e.printStackTrace(); } ``` @@ -576,8 +801,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -585,7 +813,7 @@ Name | Type | Description | Notes ### Return type -[**AppsV1beta1DeploymentList**](AppsV1beta1DeploymentList.md) +[**V1beta1ControllerRevisionList**](V1beta1ControllerRevisionList.md) ### Authorization @@ -596,9 +824,9 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **listNamespacedDeployment** -> AppsV1beta1DeploymentList listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) + +# **listDeploymentForAllNamespaces** +> AppsV1beta1DeploymentList listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -622,18 +850,20 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - AppsV1beta1DeploymentList result = apiInstance.listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + AppsV1beta1DeploymentList result = apiInstance.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#listNamespacedDeployment"); + System.err.println("Exception when calling AppsV1beta1Api#listDeploymentForAllNamespaces"); e.printStackTrace(); } ``` @@ -642,10 +872,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -663,13 +895,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **listNamespacedStatefulSet** -> V1beta1StatefulSetList listNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) + +# **listNamespacedControllerRevision** +> V1beta1ControllerRevisionList listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) -list or watch objects of kind StatefulSet +list or watch objects of kind ControllerRevision ### Example ```java @@ -691,16 +923,19 @@ BearerToken.setApiKey("YOUR API KEY"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1StatefulSetList result = apiInstance.listNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ControllerRevisionList result = apiInstance.listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#listNamespacedStatefulSet"); + System.err.println("Exception when calling AppsV1beta1Api#listNamespacedControllerRevision"); e.printStackTrace(); } ``` @@ -711,15 +946,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) +[**V1beta1ControllerRevisionList**](V1beta1ControllerRevisionList.md) ### Authorization @@ -730,13 +968,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **listStatefulSetForAllNamespaces** -> V1beta1StatefulSetList listStatefulSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) + +# **listNamespacedDeployment** +> AppsV1beta1DeploymentList listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) -list or watch objects of kind StatefulSet +list or watch objects of kind Deployment ### Example ```java @@ -756,17 +994,21 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1StatefulSetList result = apiInstance.listStatefulSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + AppsV1beta1DeploymentList result = apiInstance.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#listStatefulSetForAllNamespaces"); + System.err.println("Exception when calling AppsV1beta1Api#listNamespacedDeployment"); e.printStackTrace(); } ``` @@ -775,16 +1017,20 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) +[**AppsV1beta1DeploymentList**](AppsV1beta1DeploymentList.md) ### Authorization @@ -795,13 +1041,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **patchNamespacedDeployment** -> AppsV1beta1Deployment patchNamespacedDeployment(name, namespace, body, pretty) + +# **listNamespacedStatefulSet** +> V1beta1StatefulSetList listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) -partially update the specified Deployment +list or watch objects of kind StatefulSet ### Example ```java @@ -821,15 +1067,21 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - AppsV1beta1Deployment result = apiInstance.patchNamespacedDeployment(name, namespace, body, pretty); + V1beta1StatefulSetList result = apiInstance.listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedDeployment"); + System.err.println("Exception when calling AppsV1beta1Api#listNamespacedStatefulSet"); e.printStackTrace(); } ``` @@ -838,14 +1090,20 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) +[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) ### Authorization @@ -853,16 +1111,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **patchNamespacedDeploymentStatus** -> AppsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, pretty) + +# **listStatefulSetForAllNamespaces** +> V1beta1StatefulSetList listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) -partially update status of the specified Deployment +list or watch objects of kind StatefulSet ### Example ```java @@ -882,15 +1140,147 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - AppsV1beta1Deployment result = apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + V1beta1StatefulSetList result = apiInstance.listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedDeploymentStatus"); + System.err.println("Exception when calling AppsV1beta1Api#listStatefulSetForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchNamespacedControllerRevision** +> V1beta1ControllerRevision patchNamespacedControllerRevision(name, namespace, body, pretty) + + + +partially update the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1ControllerRevision result = apiInstance.patchNamespacedControllerRevision(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1ControllerRevision**](V1beta1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDeployment** +> AppsV1beta1Deployment patchNamespacedDeployment(name, namespace, body, pretty) + + + +partially update the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + AppsV1beta1Deployment result = apiInstance.patchNamespacedDeployment(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedDeployment"); e.printStackTrace(); } ``` @@ -917,13 +1307,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedScaleScale** -> AppsV1beta1Scale patchNamespacedScaleScale(name, namespace, body, pretty) + +# **patchNamespacedDeploymentScale** +> AppsV1beta1Scale patchNamespacedDeploymentScale(name, namespace, body, pretty) -partially update scale of the specified Scale +partially update scale of the specified Deployment ### Example ```java @@ -948,10 +1338,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1Scale result = apiInstance.patchNamespacedScaleScale(name, namespace, body, pretty); + AppsV1beta1Scale result = apiInstance.patchNamespacedDeploymentScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedScaleScale"); + System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -973,6 +1363,67 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDeploymentStatus** +> AppsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, pretty) + + + +partially update status of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + AppsV1beta1Deployment result = apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedDeploymentStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json @@ -1034,6 +1485,67 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedStatefulSetScale** +> AppsV1beta1Scale patchNamespacedStatefulSetScale(name, namespace, body, pretty) + + + +partially update scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + AppsV1beta1Scale result = apiInstance.patchNamespacedStatefulSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#patchNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**AppsV1beta1Scale**](AppsV1beta1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json @@ -1100,6 +1612,69 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +# **readNamespacedControllerRevision** +> V1beta1ControllerRevision readNamespacedControllerRevision(name, namespace, pretty, exact, export) + + + +read the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta1ControllerRevision result = apiInstance.readNamespacedControllerRevision(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#readNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1ControllerRevision**](V1beta1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + # **readNamespacedDeployment** > AppsV1beta1Deployment readNamespacedDeployment(name, namespace, pretty, exact, export) @@ -1163,13 +1738,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedDeploymentStatus** -> AppsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, pretty) + +# **readNamespacedDeploymentScale** +> AppsV1beta1Scale readNamespacedDeploymentScale(name, namespace, pretty) -read status of the specified Deployment +read scale of the specified Deployment ### Example ```java @@ -1189,14 +1764,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1Deployment result = apiInstance.readNamespacedDeploymentStatus(name, namespace, pretty); + AppsV1beta1Scale result = apiInstance.readNamespacedDeploymentScale(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#readNamespacedDeploymentStatus"); + System.err.println("Exception when calling AppsV1beta1Api#readNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -1205,13 +1780,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) +[**AppsV1beta1Scale**](AppsV1beta1Scale.md) ### Authorization @@ -1222,13 +1797,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedScaleScale** -> AppsV1beta1Scale readNamespacedScaleScale(name, namespace, pretty) + +# **readNamespacedDeploymentStatus** +> AppsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, pretty) -read scale of the specified Scale +read status of the specified Deployment ### Example ```java @@ -1248,14 +1823,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1Scale result = apiInstance.readNamespacedScaleScale(name, namespace, pretty); + AppsV1beta1Deployment result = apiInstance.readNamespacedDeploymentStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#readNamespacedScaleScale"); + System.err.println("Exception when calling AppsV1beta1Api#readNamespacedDeploymentStatus"); e.printStackTrace(); } ``` @@ -1264,13 +1839,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**AppsV1beta1Scale**](AppsV1beta1Scale.md) +[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) ### Authorization @@ -1339,6 +1914,65 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedStatefulSetScale** +> AppsV1beta1Scale readNamespacedStatefulSetScale(name, namespace, pretty) + + + +read scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + AppsV1beta1Scale result = apiInstance.readNamespacedStatefulSetScale(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#readNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**AppsV1beta1Scale**](AppsV1beta1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* @@ -1398,6 +2032,67 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedControllerRevision** +> V1beta1ControllerRevision replaceNamespacedControllerRevision(name, namespace, body, pretty) + + + +replace the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta1ControllerRevision body = new V1beta1ControllerRevision(); // V1beta1ControllerRevision | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1ControllerRevision result = apiInstance.replaceNamespacedControllerRevision(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1ControllerRevision**](V1beta1ControllerRevision.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1ControllerRevision**](V1beta1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* @@ -1464,13 +2159,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedDeploymentStatus** -> AppsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, pretty) + +# **replaceNamespacedDeploymentScale** +> AppsV1beta1Scale replaceNamespacedDeploymentScale(name, namespace, body, pretty) -replace status of the specified Deployment +replace scale of the specified Deployment ### Example ```java @@ -1490,15 +2185,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -AppsV1beta1Deployment body = new AppsV1beta1Deployment(); // AppsV1beta1Deployment | +AppsV1beta1Scale body = new AppsV1beta1Scale(); // AppsV1beta1Scale | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1Deployment result = apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + AppsV1beta1Scale result = apiInstance.replaceNamespacedDeploymentScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedDeploymentStatus"); + System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -1507,14 +2202,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| | + **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) +[**AppsV1beta1Scale**](AppsV1beta1Scale.md) ### Authorization @@ -1525,13 +2220,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedScaleScale** -> AppsV1beta1Scale replaceNamespacedScaleScale(name, namespace, body, pretty) + +# **replaceNamespacedDeploymentStatus** +> AppsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, pretty) -replace scale of the specified Scale +replace status of the specified Deployment ### Example ```java @@ -1551,15 +2246,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AppsV1beta1Api apiInstance = new AppsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -AppsV1beta1Scale body = new AppsV1beta1Scale(); // AppsV1beta1Scale | +AppsV1beta1Deployment body = new AppsV1beta1Deployment(); // AppsV1beta1Deployment | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - AppsV1beta1Scale result = apiInstance.replaceNamespacedScaleScale(name, namespace, body, pretty); + AppsV1beta1Deployment result = apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedScaleScale"); + System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedDeploymentStatus"); e.printStackTrace(); } ``` @@ -1568,14 +2263,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| | + **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**AppsV1beta1Scale**](AppsV1beta1Scale.md) +[**AppsV1beta1Deployment**](AppsV1beta1Deployment.md) ### Authorization @@ -1642,6 +2337,67 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedStatefulSetScale** +> AppsV1beta1Scale replaceNamespacedStatefulSetScale(name, namespace, body, pretty) + + + +replace scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta1Api apiInstance = new AppsV1beta1Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +AppsV1beta1Scale body = new AppsV1beta1Scale(); // AppsV1beta1Scale | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + AppsV1beta1Scale result = apiInstance.replaceNamespacedStatefulSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta1Api#replaceNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**AppsV1beta1Scale**](AppsV1beta1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* diff --git a/kubernetes/docs/AppsV1beta1Deployment.md b/kubernetes/docs/AppsV1beta1Deployment.md index fd1d001b62..04eb5f93c3 100644 --- a/kubernetes/docs/AppsV1beta1Deployment.md +++ b/kubernetes/docs/AppsV1beta1Deployment.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] **spec** | [**AppsV1beta1DeploymentSpec**](AppsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional] **status** | [**AppsV1beta1DeploymentStatus**](AppsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional] diff --git a/kubernetes/docs/AppsV1beta1DeploymentList.md b/kubernetes/docs/AppsV1beta1DeploymentList.md index 4288dfe8c1..285ccdca11 100644 --- a/kubernetes/docs/AppsV1beta1DeploymentList.md +++ b/kubernetes/docs/AppsV1beta1DeploymentList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<AppsV1beta1Deployment>**](AppsV1beta1Deployment.md) | Items is the list of Deployments. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional] diff --git a/kubernetes/docs/AppsV1beta1DeploymentRollback.md b/kubernetes/docs/AppsV1beta1DeploymentRollback.md index 1d2a39b5de..202875daa1 100644 --- a/kubernetes/docs/AppsV1beta1DeploymentRollback.md +++ b/kubernetes/docs/AppsV1beta1DeploymentRollback.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **String** | Required: This must match the Name of a deployment. | **rollbackTo** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | The config of this deployment rollback. | **updatedAnnotations** | **Map<String, String>** | The annotations to be updated to a deployment | [optional] diff --git a/kubernetes/docs/AppsV1beta1DeploymentSpec.md b/kubernetes/docs/AppsV1beta1DeploymentSpec.md index 72ad47940c..8b305f92ec 100644 --- a/kubernetes/docs/AppsV1beta1DeploymentSpec.md +++ b/kubernetes/docs/AppsV1beta1DeploymentSpec.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] **paused** | **Boolean** | Indicates that the deployment is paused. | [optional] -**progressDeadlineSeconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional] +**progressDeadlineSeconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional] **replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] **revisionHistoryLimit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. | [optional] -**rollbackTo** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] +**rollbackTo** | [**AppsV1beta1RollbackConfig**](AppsV1beta1RollbackConfig.md) | DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] **strategy** | [**AppsV1beta1DeploymentStrategy**](AppsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | diff --git a/kubernetes/docs/AppsV1beta1DeploymentStatus.md b/kubernetes/docs/AppsV1beta1DeploymentStatus.md index fe02f961b2..600e18f2eb 100644 --- a/kubernetes/docs/AppsV1beta1DeploymentStatus.md +++ b/kubernetes/docs/AppsV1beta1DeploymentStatus.md @@ -5,11 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **availableReplicas** | **Integer** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional] +**collisionCount** | **Integer** | Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. | [optional] **conditions** | [**List<AppsV1beta1DeploymentCondition>**](AppsV1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional] **observedGeneration** | **Long** | The generation observed by the deployment controller. | [optional] **readyReplicas** | **Integer** | Total number of ready pods targeted by this deployment. | [optional] **replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional] -**unavailableReplicas** | **Integer** | Total number of unavailable pods targeted by this deployment. | [optional] +**unavailableReplicas** | **Integer** | Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. | [optional] **updatedReplicas** | **Integer** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional] diff --git a/kubernetes/docs/AppsV1beta1RollbackConfig.md b/kubernetes/docs/AppsV1beta1RollbackConfig.md index ea86ac51af..dec48802b0 100644 --- a/kubernetes/docs/AppsV1beta1RollbackConfig.md +++ b/kubernetes/docs/AppsV1beta1RollbackConfig.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**revision** | **Long** | The revision to rollback to. If set to 0, rollbck to the last revision. | [optional] +**revision** | **Long** | The revision to rollback to. If set to 0, rollback to the last revision. | [optional] diff --git a/kubernetes/docs/AppsV1beta1Scale.md b/kubernetes/docs/AppsV1beta1Scale.md index 4d3650b42e..88331f7a28 100644 --- a/kubernetes/docs/AppsV1beta1Scale.md +++ b/kubernetes/docs/AppsV1beta1Scale.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional] -**spec** | [**AppsV1beta1ScaleSpec**](AppsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] -**status** | [**AppsV1beta1ScaleStatus**](AppsV1beta1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**spec** | [**AppsV1beta1ScaleSpec**](AppsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**AppsV1beta1ScaleStatus**](AppsV1beta1ScaleStatus.md) | current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. | [optional] diff --git a/kubernetes/docs/AppsV1beta1ScaleStatus.md b/kubernetes/docs/AppsV1beta1ScaleStatus.md index bbfabef868..5b52c41409 100644 --- a/kubernetes/docs/AppsV1beta1ScaleStatus.md +++ b/kubernetes/docs/AppsV1beta1ScaleStatus.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **replicas** | **Integer** | actual number of observed instances of the scaled object. | **selector** | **Map<String, String>** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] +**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] diff --git a/kubernetes/docs/AppsV1beta2Api.md b/kubernetes/docs/AppsV1beta2Api.md new file mode 100644 index 0000000000..20ae955f6e --- /dev/null +++ b/kubernetes/docs/AppsV1beta2Api.md @@ -0,0 +1,4028 @@ +# AppsV1beta2Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createNamespacedControllerRevision**](AppsV1beta2Api.md#createNamespacedControllerRevision) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions | +[**createNamespacedDaemonSet**](AppsV1beta2Api.md#createNamespacedDaemonSet) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets | +[**createNamespacedDeployment**](AppsV1beta2Api.md#createNamespacedDeployment) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/deployments | +[**createNamespacedReplicaSet**](AppsV1beta2Api.md#createNamespacedReplicaSet) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/replicasets | +[**createNamespacedStatefulSet**](AppsV1beta2Api.md#createNamespacedStatefulSet) | **POST** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets | +[**deleteCollectionNamespacedControllerRevision**](AppsV1beta2Api.md#deleteCollectionNamespacedControllerRevision) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions | +[**deleteCollectionNamespacedDaemonSet**](AppsV1beta2Api.md#deleteCollectionNamespacedDaemonSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets | +[**deleteCollectionNamespacedDeployment**](AppsV1beta2Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/deployments | +[**deleteCollectionNamespacedReplicaSet**](AppsV1beta2Api.md#deleteCollectionNamespacedReplicaSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/replicasets | +[**deleteCollectionNamespacedStatefulSet**](AppsV1beta2Api.md#deleteCollectionNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets | +[**deleteNamespacedControllerRevision**](AppsV1beta2Api.md#deleteNamespacedControllerRevision) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} | +[**deleteNamespacedDaemonSet**](AppsV1beta2Api.md#deleteNamespacedDaemonSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} | +[**deleteNamespacedDeployment**](AppsV1beta2Api.md#deleteNamespacedDeployment) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} | +[**deleteNamespacedReplicaSet**](AppsV1beta2Api.md#deleteNamespacedReplicaSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} | +[**deleteNamespacedStatefulSet**](AppsV1beta2Api.md#deleteNamespacedStatefulSet) | **DELETE** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | +[**getAPIResources**](AppsV1beta2Api.md#getAPIResources) | **GET** /apis/apps/v1beta2/ | +[**listControllerRevisionForAllNamespaces**](AppsV1beta2Api.md#listControllerRevisionForAllNamespaces) | **GET** /apis/apps/v1beta2/controllerrevisions | +[**listDaemonSetForAllNamespaces**](AppsV1beta2Api.md#listDaemonSetForAllNamespaces) | **GET** /apis/apps/v1beta2/daemonsets | +[**listDeploymentForAllNamespaces**](AppsV1beta2Api.md#listDeploymentForAllNamespaces) | **GET** /apis/apps/v1beta2/deployments | +[**listNamespacedControllerRevision**](AppsV1beta2Api.md#listNamespacedControllerRevision) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions | +[**listNamespacedDaemonSet**](AppsV1beta2Api.md#listNamespacedDaemonSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets | +[**listNamespacedDeployment**](AppsV1beta2Api.md#listNamespacedDeployment) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments | +[**listNamespacedReplicaSet**](AppsV1beta2Api.md#listNamespacedReplicaSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets | +[**listNamespacedStatefulSet**](AppsV1beta2Api.md#listNamespacedStatefulSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets | +[**listReplicaSetForAllNamespaces**](AppsV1beta2Api.md#listReplicaSetForAllNamespaces) | **GET** /apis/apps/v1beta2/replicasets | +[**listStatefulSetForAllNamespaces**](AppsV1beta2Api.md#listStatefulSetForAllNamespaces) | **GET** /apis/apps/v1beta2/statefulsets | +[**patchNamespacedControllerRevision**](AppsV1beta2Api.md#patchNamespacedControllerRevision) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} | +[**patchNamespacedDaemonSet**](AppsV1beta2Api.md#patchNamespacedDaemonSet) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} | +[**patchNamespacedDaemonSetStatus**](AppsV1beta2Api.md#patchNamespacedDaemonSetStatus) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status | +[**patchNamespacedDeployment**](AppsV1beta2Api.md#patchNamespacedDeployment) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} | +[**patchNamespacedDeploymentScale**](AppsV1beta2Api.md#patchNamespacedDeploymentScale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale | +[**patchNamespacedDeploymentStatus**](AppsV1beta2Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status | +[**patchNamespacedReplicaSet**](AppsV1beta2Api.md#patchNamespacedReplicaSet) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} | +[**patchNamespacedReplicaSetScale**](AppsV1beta2Api.md#patchNamespacedReplicaSetScale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale | +[**patchNamespacedReplicaSetStatus**](AppsV1beta2Api.md#patchNamespacedReplicaSetStatus) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status | +[**patchNamespacedStatefulSet**](AppsV1beta2Api.md#patchNamespacedStatefulSet) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | +[**patchNamespacedStatefulSetScale**](AppsV1beta2Api.md#patchNamespacedStatefulSetScale) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale | +[**patchNamespacedStatefulSetStatus**](AppsV1beta2Api.md#patchNamespacedStatefulSetStatus) | **PATCH** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status | +[**readNamespacedControllerRevision**](AppsV1beta2Api.md#readNamespacedControllerRevision) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} | +[**readNamespacedDaemonSet**](AppsV1beta2Api.md#readNamespacedDaemonSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} | +[**readNamespacedDaemonSetStatus**](AppsV1beta2Api.md#readNamespacedDaemonSetStatus) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status | +[**readNamespacedDeployment**](AppsV1beta2Api.md#readNamespacedDeployment) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} | +[**readNamespacedDeploymentScale**](AppsV1beta2Api.md#readNamespacedDeploymentScale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale | +[**readNamespacedDeploymentStatus**](AppsV1beta2Api.md#readNamespacedDeploymentStatus) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status | +[**readNamespacedReplicaSet**](AppsV1beta2Api.md#readNamespacedReplicaSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} | +[**readNamespacedReplicaSetScale**](AppsV1beta2Api.md#readNamespacedReplicaSetScale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale | +[**readNamespacedReplicaSetStatus**](AppsV1beta2Api.md#readNamespacedReplicaSetStatus) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status | +[**readNamespacedStatefulSet**](AppsV1beta2Api.md#readNamespacedStatefulSet) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | +[**readNamespacedStatefulSetScale**](AppsV1beta2Api.md#readNamespacedStatefulSetScale) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale | +[**readNamespacedStatefulSetStatus**](AppsV1beta2Api.md#readNamespacedStatefulSetStatus) | **GET** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status | +[**replaceNamespacedControllerRevision**](AppsV1beta2Api.md#replaceNamespacedControllerRevision) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name} | +[**replaceNamespacedDaemonSet**](AppsV1beta2Api.md#replaceNamespacedDaemonSet) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name} | +[**replaceNamespacedDaemonSetStatus**](AppsV1beta2Api.md#replaceNamespacedDaemonSetStatus) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status | +[**replaceNamespacedDeployment**](AppsV1beta2Api.md#replaceNamespacedDeployment) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name} | +[**replaceNamespacedDeploymentScale**](AppsV1beta2Api.md#replaceNamespacedDeploymentScale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale | +[**replaceNamespacedDeploymentStatus**](AppsV1beta2Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status | +[**replaceNamespacedReplicaSet**](AppsV1beta2Api.md#replaceNamespacedReplicaSet) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name} | +[**replaceNamespacedReplicaSetScale**](AppsV1beta2Api.md#replaceNamespacedReplicaSetScale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale | +[**replaceNamespacedReplicaSetStatus**](AppsV1beta2Api.md#replaceNamespacedReplicaSetStatus) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status | +[**replaceNamespacedStatefulSet**](AppsV1beta2Api.md#replaceNamespacedStatefulSet) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | +[**replaceNamespacedStatefulSetScale**](AppsV1beta2Api.md#replaceNamespacedStatefulSetScale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale | +[**replaceNamespacedStatefulSetStatus**](AppsV1beta2Api.md#replaceNamespacedStatefulSetStatus) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status | + + + +# **createNamespacedControllerRevision** +> V1beta2ControllerRevision createNamespacedControllerRevision(namespace, body, pretty) + + + +create a ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2ControllerRevision body = new V1beta2ControllerRevision(); // V1beta2ControllerRevision | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ControllerRevision result = apiInstance.createNamespacedControllerRevision(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#createNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedDaemonSet** +> V1beta2DaemonSet createNamespacedDaemonSet(namespace, body, pretty) + + + +create a DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2DaemonSet body = new V1beta2DaemonSet(); // V1beta2DaemonSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.createNamespacedDaemonSet(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#createNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedDeployment** +> V1beta2Deployment createNamespacedDeployment(namespace, body, pretty) + + + +create a Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Deployment body = new V1beta2Deployment(); // V1beta2Deployment | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.createNamespacedDeployment(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#createNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedReplicaSet** +> V1beta2ReplicaSet createNamespacedReplicaSet(namespace, body, pretty) + + + +create a ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2ReplicaSet body = new V1beta2ReplicaSet(); // V1beta2ReplicaSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.createNamespacedReplicaSet(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#createNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedStatefulSet** +> V1beta2StatefulSet createNamespacedStatefulSet(namespace, body, pretty) + + + +create a StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2StatefulSet body = new V1beta2StatefulSet(); // V1beta2StatefulSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.createNamespacedStatefulSet(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#createNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedControllerRevision** +> V1Status deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteCollectionNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedDaemonSet** +> V1Status deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteCollectionNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedDeployment** +> V1Status deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteCollectionNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedReplicaSet** +> V1Status deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteCollectionNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedStatefulSet** +> V1Status deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteCollectionNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedControllerRevision** +> V1Status deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedDaemonSet** +> V1Status deleteNamespacedDaemonSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedDaemonSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedDeployment** +> V1Status deleteNamespacedDeployment(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedDeployment(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedReplicaSet** +> V1Status deleteNamespacedReplicaSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedReplicaSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedStatefulSet** +> V1Status deleteNamespacedStatefulSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedStatefulSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#deleteNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listControllerRevisionForAllNamespaces** +> V1beta2ControllerRevisionList listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2ControllerRevisionList result = apiInstance.listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listControllerRevisionForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2ControllerRevisionList**](V1beta2ControllerRevisionList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listDaemonSetForAllNamespaces** +> V1beta2DaemonSetList listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2DaemonSetList result = apiInstance.listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listDaemonSetForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2DaemonSetList**](V1beta2DaemonSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listDeploymentForAllNamespaces** +> V1beta2DeploymentList listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2DeploymentList result = apiInstance.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listDeploymentForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2DeploymentList**](V1beta2DeploymentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedControllerRevision** +> V1beta2ControllerRevisionList listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2ControllerRevisionList result = apiInstance.listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2ControllerRevisionList**](V1beta2ControllerRevisionList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedDaemonSet** +> V1beta2DaemonSetList listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2DaemonSetList result = apiInstance.listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2DaemonSetList**](V1beta2DaemonSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedDeployment** +> V1beta2DeploymentList listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2DeploymentList result = apiInstance.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2DeploymentList**](V1beta2DeploymentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedReplicaSet** +> V1beta2ReplicaSetList listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2ReplicaSetList result = apiInstance.listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2ReplicaSetList**](V1beta2ReplicaSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedStatefulSet** +> V1beta2StatefulSetList listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2StatefulSetList result = apiInstance.listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2StatefulSetList**](V1beta2StatefulSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listReplicaSetForAllNamespaces** +> V1beta2ReplicaSetList listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2ReplicaSetList result = apiInstance.listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listReplicaSetForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2ReplicaSetList**](V1beta2ReplicaSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listStatefulSetForAllNamespaces** +> V1beta2StatefulSetList listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta2StatefulSetList result = apiInstance.listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#listStatefulSetForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta2StatefulSetList**](V1beta2StatefulSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchNamespacedControllerRevision** +> V1beta2ControllerRevision patchNamespacedControllerRevision(name, namespace, body, pretty) + + + +partially update the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ControllerRevision result = apiInstance.patchNamespacedControllerRevision(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDaemonSet** +> V1beta2DaemonSet patchNamespacedDaemonSet(name, namespace, body, pretty) + + + +partially update the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.patchNamespacedDaemonSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDaemonSetStatus** +> V1beta2DaemonSet patchNamespacedDaemonSetStatus(name, namespace, body, pretty) + + + +partially update status of the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.patchNamespacedDaemonSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedDaemonSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDeployment** +> V1beta2Deployment patchNamespacedDeployment(name, namespace, body, pretty) + + + +partially update the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.patchNamespacedDeployment(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDeploymentScale** +> V1beta2Scale patchNamespacedDeploymentScale(name, namespace, body, pretty) + + + +partially update scale of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.patchNamespacedDeploymentScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedDeploymentScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedDeploymentStatus** +> V1beta2Deployment patchNamespacedDeploymentStatus(name, namespace, body, pretty) + + + +partially update status of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedDeploymentStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedReplicaSet** +> V1beta2ReplicaSet patchNamespacedReplicaSet(name, namespace, body, pretty) + + + +partially update the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.patchNamespacedReplicaSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedReplicaSetScale** +> V1beta2Scale patchNamespacedReplicaSetScale(name, namespace, body, pretty) + + + +partially update scale of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.patchNamespacedReplicaSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedReplicaSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedReplicaSetStatus** +> V1beta2ReplicaSet patchNamespacedReplicaSetStatus(name, namespace, body, pretty) + + + +partially update status of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedReplicaSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedStatefulSet** +> V1beta2StatefulSet patchNamespacedStatefulSet(name, namespace, body, pretty) + + + +partially update the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.patchNamespacedStatefulSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedStatefulSetScale** +> V1beta2Scale patchNamespacedStatefulSetScale(name, namespace, body, pretty) + + + +partially update scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.patchNamespacedStatefulSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedStatefulSetStatus** +> V1beta2StatefulSet patchNamespacedStatefulSetStatus(name, namespace, body, pretty) + + + +partially update status of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.patchNamespacedStatefulSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#patchNamespacedStatefulSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedControllerRevision** +> V1beta2ControllerRevision readNamespacedControllerRevision(name, namespace, pretty, exact, export) + + + +read the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta2ControllerRevision result = apiInstance.readNamespacedControllerRevision(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedDaemonSet** +> V1beta2DaemonSet readNamespacedDaemonSet(name, namespace, pretty, exact, export) + + + +read the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta2DaemonSet result = apiInstance.readNamespacedDaemonSet(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedDaemonSetStatus** +> V1beta2DaemonSet readNamespacedDaemonSetStatus(name, namespace, pretty) + + + +read status of the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.readNamespacedDaemonSetStatus(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedDaemonSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedDeployment** +> V1beta2Deployment readNamespacedDeployment(name, namespace, pretty, exact, export) + + + +read the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta2Deployment result = apiInstance.readNamespacedDeployment(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedDeploymentScale** +> V1beta2Scale readNamespacedDeploymentScale(name, namespace, pretty) + + + +read scale of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.readNamespacedDeploymentScale(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedDeploymentScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedDeploymentStatus** +> V1beta2Deployment readNamespacedDeploymentStatus(name, namespace, pretty) + + + +read status of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.readNamespacedDeploymentStatus(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedDeploymentStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedReplicaSet** +> V1beta2ReplicaSet readNamespacedReplicaSet(name, namespace, pretty, exact, export) + + + +read the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta2ReplicaSet result = apiInstance.readNamespacedReplicaSet(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedReplicaSetScale** +> V1beta2Scale readNamespacedReplicaSetScale(name, namespace, pretty) + + + +read scale of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.readNamespacedReplicaSetScale(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedReplicaSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedReplicaSetStatus** +> V1beta2ReplicaSet readNamespacedReplicaSetStatus(name, namespace, pretty) + + + +read status of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.readNamespacedReplicaSetStatus(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedReplicaSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedStatefulSet** +> V1beta2StatefulSet readNamespacedStatefulSet(name, namespace, pretty, exact, export) + + + +read the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta2StatefulSet result = apiInstance.readNamespacedStatefulSet(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedStatefulSetScale** +> V1beta2Scale readNamespacedStatefulSetScale(name, namespace, pretty) + + + +read scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.readNamespacedStatefulSetScale(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedStatefulSetStatus** +> V1beta2StatefulSet readNamespacedStatefulSetStatus(name, namespace, pretty) + + + +read status of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.readNamespacedStatefulSetStatus(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#readNamespacedStatefulSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedControllerRevision** +> V1beta2ControllerRevision replaceNamespacedControllerRevision(name, namespace, body, pretty) + + + +replace the specified ControllerRevision + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ControllerRevision +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2ControllerRevision body = new V1beta2ControllerRevision(); // V1beta2ControllerRevision | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ControllerRevision result = apiInstance.replaceNamespacedControllerRevision(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedControllerRevision"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ControllerRevision**](V1beta2ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedDaemonSet** +> V1beta2DaemonSet replaceNamespacedDaemonSet(name, namespace, body, pretty) + + + +replace the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2DaemonSet body = new V1beta2DaemonSet(); // V1beta2DaemonSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.replaceNamespacedDaemonSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedDaemonSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedDaemonSetStatus** +> V1beta2DaemonSet replaceNamespacedDaemonSetStatus(name, namespace, body, pretty) + + + +replace status of the specified DaemonSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the DaemonSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2DaemonSet body = new V1beta2DaemonSet(); // V1beta2DaemonSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2DaemonSet result = apiInstance.replaceNamespacedDaemonSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedDaemonSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2DaemonSet**](V1beta2DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedDeployment** +> V1beta2Deployment replaceNamespacedDeployment(name, namespace, body, pretty) + + + +replace the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Deployment body = new V1beta2Deployment(); // V1beta2Deployment | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.replaceNamespacedDeployment(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedDeployment"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedDeploymentScale** +> V1beta2Scale replaceNamespacedDeploymentScale(name, namespace, body, pretty) + + + +replace scale of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Scale body = new V1beta2Scale(); // V1beta2Scale | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.replaceNamespacedDeploymentScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedDeploymentScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Scale**](V1beta2Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedDeploymentStatus** +> V1beta2Deployment replaceNamespacedDeploymentStatus(name, namespace, body, pretty) + + + +replace status of the specified Deployment + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Deployment +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Deployment body = new V1beta2Deployment(); // V1beta2Deployment | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Deployment result = apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedDeploymentStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Deployment**](V1beta2Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedReplicaSet** +> V1beta2ReplicaSet replaceNamespacedReplicaSet(name, namespace, body, pretty) + + + +replace the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2ReplicaSet body = new V1beta2ReplicaSet(); // V1beta2ReplicaSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.replaceNamespacedReplicaSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedReplicaSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedReplicaSetScale** +> V1beta2Scale replaceNamespacedReplicaSetScale(name, namespace, body, pretty) + + + +replace scale of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Scale body = new V1beta2Scale(); // V1beta2Scale | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.replaceNamespacedReplicaSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedReplicaSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Scale**](V1beta2Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedReplicaSetStatus** +> V1beta2ReplicaSet replaceNamespacedReplicaSetStatus(name, namespace, body, pretty) + + + +replace status of the specified ReplicaSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the ReplicaSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2ReplicaSet body = new V1beta2ReplicaSet(); // V1beta2ReplicaSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2ReplicaSet result = apiInstance.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedReplicaSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2ReplicaSet**](V1beta2ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedStatefulSet** +> V1beta2StatefulSet replaceNamespacedStatefulSet(name, namespace, body, pretty) + + + +replace the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2StatefulSet body = new V1beta2StatefulSet(); // V1beta2StatefulSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.replaceNamespacedStatefulSet(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedStatefulSet"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedStatefulSetScale** +> V1beta2Scale replaceNamespacedStatefulSetScale(name, namespace, body, pretty) + + + +replace scale of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the Scale +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2Scale body = new V1beta2Scale(); // V1beta2Scale | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2Scale result = apiInstance.replaceNamespacedStatefulSetScale(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedStatefulSetScale"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2Scale**](V1beta2Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2Scale**](V1beta2Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedStatefulSetStatus** +> V1beta2StatefulSet replaceNamespacedStatefulSetStatus(name, namespace, body, pretty) + + + +replace status of the specified StatefulSet + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AppsV1beta2Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AppsV1beta2Api apiInstance = new AppsV1beta2Api(); +String name = "name_example"; // String | name of the StatefulSet +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta2StatefulSet body = new V1beta2StatefulSet(); // V1beta2StatefulSet | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta2StatefulSet result = apiInstance.replaceNamespacedStatefulSetStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AppsV1beta2Api#replaceNamespacedStatefulSetStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta2StatefulSet**](V1beta2StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/AuthorizationV1Api.md b/kubernetes/docs/AuthorizationV1Api.md index 45f48c4715..75b28f775b 100644 --- a/kubernetes/docs/AuthorizationV1Api.md +++ b/kubernetes/docs/AuthorizationV1Api.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**createNamespacedLocalSubjectAccessReview**](AuthorizationV1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews | [**createSelfSubjectAccessReview**](AuthorizationV1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews | +[**createSelfSubjectRulesReview**](AuthorizationV1Api.md#createSelfSubjectRulesReview) | **POST** /apis/authorization.k8s.io/v1/selfsubjectrulesreviews | [**createSubjectAccessReview**](AuthorizationV1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1/subjectaccessreviews | [**getAPIResources**](AuthorizationV1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1/ | @@ -121,6 +122,63 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createSelfSubjectRulesReview** +> V1SelfSubjectRulesReview createSelfSubjectRulesReview(body, pretty) + + + +create a SelfSubjectRulesReview + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AuthorizationV1Api apiInstance = new AuthorizationV1Api(); +V1SelfSubjectRulesReview body = new V1SelfSubjectRulesReview(); // V1SelfSubjectRulesReview | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1SelfSubjectRulesReview result = apiInstance.createSelfSubjectRulesReview(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AuthorizationV1Api#createSelfSubjectRulesReview"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* diff --git a/kubernetes/docs/AuthorizationV1beta1Api.md b/kubernetes/docs/AuthorizationV1beta1Api.md index eb25652e41..6f0d0005df 100644 --- a/kubernetes/docs/AuthorizationV1beta1Api.md +++ b/kubernetes/docs/AuthorizationV1beta1Api.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**createNamespacedLocalSubjectAccessReview**](AuthorizationV1beta1Api.md#createNamespacedLocalSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews | [**createSelfSubjectAccessReview**](AuthorizationV1beta1Api.md#createSelfSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews | +[**createSelfSubjectRulesReview**](AuthorizationV1beta1Api.md#createSelfSubjectRulesReview) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews | [**createSubjectAccessReview**](AuthorizationV1beta1Api.md#createSubjectAccessReview) | **POST** /apis/authorization.k8s.io/v1beta1/subjectaccessreviews | [**getAPIResources**](AuthorizationV1beta1Api.md#getAPIResources) | **GET** /apis/authorization.k8s.io/v1beta1/ | @@ -121,6 +122,63 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createSelfSubjectRulesReview** +> V1beta1SelfSubjectRulesReview createSelfSubjectRulesReview(body, pretty) + + + +create a SelfSubjectRulesReview + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.AuthorizationV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +AuthorizationV1beta1Api apiInstance = new AuthorizationV1beta1Api(); +V1beta1SelfSubjectRulesReview body = new V1beta1SelfSubjectRulesReview(); // V1beta1SelfSubjectRulesReview | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1SelfSubjectRulesReview result = apiInstance.createSelfSubjectRulesReview(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling AuthorizationV1beta1Api#createSelfSubjectRulesReview"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1SelfSubjectRulesReview**](V1beta1SelfSubjectRulesReview.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1SelfSubjectRulesReview**](V1beta1SelfSubjectRulesReview.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index b7bc1dfa03..647294908c 100644 --- a/kubernetes/docs/AutoscalingV1Api.md +++ b/kubernetes/docs/AutoscalingV1Api.md @@ -79,7 +79,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedHorizontalPodAutoscaler** -> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -105,13 +105,16 @@ BearerToken.setApiKey("YOUR API KEY"); AutoscalingV1Api apiInstance = new AutoscalingV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AutoscalingV1Api#deleteCollectionNamespacedHorizontalPodAutoscaler"); @@ -125,8 +128,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -264,7 +270,7 @@ This endpoint does not need any parameter. # **listHorizontalPodAutoscalerForAllNamespaces** -> V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -288,14 +294,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); AutoscalingV1Api apiInstance = new AutoscalingV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1HorizontalPodAutoscalerList result = apiInstance.listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1HorizontalPodAutoscalerList result = apiInstance.listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AutoscalingV1Api#listHorizontalPodAutoscalerForAllNamespaces"); @@ -307,8 +316,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -329,7 +341,7 @@ Name | Type | Description | Notes # **listNamespacedHorizontalPodAutoscaler** -> V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -355,13 +367,16 @@ BearerToken.setApiKey("YOUR API KEY"); AutoscalingV1Api apiInstance = new AutoscalingV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1HorizontalPodAutoscalerList result = apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1HorizontalPodAutoscalerList result = apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AutoscalingV1Api#listNamespacedHorizontalPodAutoscaler"); @@ -375,8 +390,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] diff --git a/kubernetes/docs/AutoscalingV2alpha1Api.md b/kubernetes/docs/AutoscalingV2beta1Api.md similarity index 55% rename from kubernetes/docs/AutoscalingV2alpha1Api.md rename to kubernetes/docs/AutoscalingV2beta1Api.md index 061a2928b6..a96a4feb0a 100644 --- a/kubernetes/docs/AutoscalingV2alpha1Api.md +++ b/kubernetes/docs/AutoscalingV2beta1Api.md @@ -1,26 +1,26 @@ -# AutoscalingV2alpha1Api +# AutoscalingV2beta1Api All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**createNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers | -[**deleteCollectionNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers | -[**deleteNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**getAPIResources**](AutoscalingV2alpha1Api.md#getAPIResources) | **GET** /apis/autoscaling/v2alpha1/ | -[**listHorizontalPodAutoscalerForAllNamespaces**](AutoscalingV2alpha1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v2alpha1/horizontalpodautoscalers | -[**listNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers | -[**patchNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**patchNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2alpha1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**readNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**readNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2alpha1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**replaceNamespacedHorizontalPodAutoscaler**](AutoscalingV2alpha1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**replaceNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2alpha1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +[**createNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#createNamespacedHorizontalPodAutoscaler) | **POST** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers | +[**deleteCollectionNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#deleteCollectionNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers | +[**deleteNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#deleteNamespacedHorizontalPodAutoscaler) | **DELETE** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**getAPIResources**](AutoscalingV2beta1Api.md#getAPIResources) | **GET** /apis/autoscaling/v2beta1/ | +[**listHorizontalPodAutoscalerForAllNamespaces**](AutoscalingV2beta1Api.md#listHorizontalPodAutoscalerForAllNamespaces) | **GET** /apis/autoscaling/v2beta1/horizontalpodautoscalers | +[**listNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#listNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers | +[**patchNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#patchNamespacedHorizontalPodAutoscaler) | **PATCH** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**patchNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2beta1Api.md#patchNamespacedHorizontalPodAutoscalerStatus) | **PATCH** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +[**readNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#readNamespacedHorizontalPodAutoscaler) | **GET** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**readNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2beta1Api.md#readNamespacedHorizontalPodAutoscalerStatus) | **GET** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +[**replaceNamespacedHorizontalPodAutoscaler**](AutoscalingV2beta1Api.md#replaceNamespacedHorizontalPodAutoscaler) | **PUT** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**replaceNamespacedHorizontalPodAutoscalerStatus**](AutoscalingV2beta1Api.md#replaceNamespacedHorizontalPodAutoscalerStatus) | **PUT** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | # **createNamespacedHorizontalPodAutoscaler** -> V2alpha1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(namespace, body, pretty) +> V2beta1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(namespace, body, pretty) @@ -33,7 +33,7 @@ create a HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -43,15 +43,15 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1HorizontalPodAutoscaler body = new V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler | +V2beta1HorizontalPodAutoscaler body = new V2beta1HorizontalPodAutoscaler(); // V2beta1HorizontalPodAutoscaler | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.createNamespacedHorizontalPodAutoscaler(namespace, body, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.createNamespacedHorizontalPodAutoscaler(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#createNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#createNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -61,12 +61,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| | + **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -79,7 +79,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedHorizontalPodAutoscaler** -> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -92,7 +92,7 @@ delete collection of HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -102,19 +102,22 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#deleteCollectionNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#deleteCollectionNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -125,8 +128,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -159,7 +165,7 @@ delete a HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -169,7 +175,7 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | @@ -181,7 +187,7 @@ try { V1Status result = apiInstance.deleteNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#deleteNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#deleteNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -226,7 +232,7 @@ get available resources //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -236,12 +242,12 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); try { V1APIResourceList result = apiInstance.getAPIResources(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#getAPIResources"); + System.err.println("Exception when calling AutoscalingV2beta1Api#getAPIResources"); e.printStackTrace(); } ``` @@ -264,7 +270,7 @@ This endpoint does not need any parameter. # **listHorizontalPodAutoscalerForAllNamespaces** -> V2alpha1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V2beta1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -277,7 +283,7 @@ list or watch objects of kind HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -287,18 +293,21 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V2alpha1HorizontalPodAutoscalerList result = apiInstance.listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V2beta1HorizontalPodAutoscalerList result = apiInstance.listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#listHorizontalPodAutoscalerForAllNamespaces"); + System.err.println("Exception when calling AutoscalingV2beta1Api#listHorizontalPodAutoscalerForAllNamespaces"); e.printStackTrace(); } ``` @@ -307,8 +316,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -316,7 +328,7 @@ Name | Type | Description | Notes ### Return type -[**V2alpha1HorizontalPodAutoscalerList**](V2alpha1HorizontalPodAutoscalerList.md) +[**V2beta1HorizontalPodAutoscalerList**](V2beta1HorizontalPodAutoscalerList.md) ### Authorization @@ -329,7 +341,7 @@ Name | Type | Description | Notes # **listNamespacedHorizontalPodAutoscaler** -> V2alpha1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V2beta1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -342,7 +354,7 @@ list or watch objects of kind HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -352,19 +364,22 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V2alpha1HorizontalPodAutoscalerList result = apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V2beta1HorizontalPodAutoscalerList result = apiInstance.listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#listNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#listNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -375,15 +390,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V2alpha1HorizontalPodAutoscalerList**](V2alpha1HorizontalPodAutoscalerList.md) +[**V2beta1HorizontalPodAutoscalerList**](V2beta1HorizontalPodAutoscalerList.md) ### Authorization @@ -396,7 +414,7 @@ Name | Type | Description | Notes # **patchNamespacedHorizontalPodAutoscaler** -> V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty) +> V2beta1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty) @@ -409,7 +427,7 @@ partially update the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -419,16 +437,16 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#patchNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#patchNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -444,7 +462,7 @@ Name | Type | Description | Notes ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -457,7 +475,7 @@ Name | Type | Description | Notes # **patchNamespacedHorizontalPodAutoscalerStatus** -> V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty) +> V2beta1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty) @@ -470,7 +488,7 @@ partially update status of the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -480,16 +498,16 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#patchNamespacedHorizontalPodAutoscalerStatus"); + System.err.println("Exception when calling AutoscalingV2beta1Api#patchNamespacedHorizontalPodAutoscalerStatus"); e.printStackTrace(); } ``` @@ -505,7 +523,7 @@ Name | Type | Description | Notes ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -518,7 +536,7 @@ Name | Type | Description | Notes # **readNamespacedHorizontalPodAutoscaler** -> V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export) +> V2beta1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export) @@ -531,7 +549,7 @@ read the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -541,17 +559,17 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export); + V2beta1HorizontalPodAutoscaler result = apiInstance.readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#readNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#readNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -568,7 +586,7 @@ Name | Type | Description | Notes ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -581,7 +599,7 @@ Name | Type | Description | Notes # **readNamespacedHorizontalPodAutoscalerStatus** -> V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty) +> V2beta1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty) @@ -594,7 +612,7 @@ read status of the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -604,15 +622,15 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#readNamespacedHorizontalPodAutoscalerStatus"); + System.err.println("Exception when calling AutoscalingV2beta1Api#readNamespacedHorizontalPodAutoscalerStatus"); e.printStackTrace(); } ``` @@ -627,7 +645,7 @@ Name | Type | Description | Notes ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -640,7 +658,7 @@ Name | Type | Description | Notes # **replaceNamespacedHorizontalPodAutoscaler** -> V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty) +> V2beta1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty) @@ -653,7 +671,7 @@ replace the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -663,16 +681,16 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1HorizontalPodAutoscaler body = new V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler | +V2beta1HorizontalPodAutoscaler body = new V2beta1HorizontalPodAutoscaler(); // V2beta1HorizontalPodAutoscaler | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#replaceNamespacedHorizontalPodAutoscaler"); + System.err.println("Exception when calling AutoscalingV2beta1Api#replaceNamespacedHorizontalPodAutoscaler"); e.printStackTrace(); } ``` @@ -683,12 +701,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the HorizontalPodAutoscaler | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| | + **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization @@ -701,7 +719,7 @@ Name | Type | Description | Notes # **replaceNamespacedHorizontalPodAutoscalerStatus** -> V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty) +> V2beta1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty) @@ -714,7 +732,7 @@ replace status of the specified HorizontalPodAutoscaler //import io.kubernetes.client.ApiException; //import io.kubernetes.client.Configuration; //import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.AutoscalingV2alpha1Api; +//import io.kubernetes.client.apis.AutoscalingV2beta1Api; ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -724,16 +742,16 @@ BearerToken.setApiKey("YOUR API KEY"); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //BearerToken.setApiKeyPrefix("Token"); -AutoscalingV2alpha1Api apiInstance = new AutoscalingV2alpha1Api(); +AutoscalingV2beta1Api apiInstance = new AutoscalingV2beta1Api(); String name = "name_example"; // String | name of the HorizontalPodAutoscaler String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1HorizontalPodAutoscaler body = new V2alpha1HorizontalPodAutoscaler(); // V2alpha1HorizontalPodAutoscaler | +V2beta1HorizontalPodAutoscaler body = new V2beta1HorizontalPodAutoscaler(); // V2beta1HorizontalPodAutoscaler | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1HorizontalPodAutoscaler result = apiInstance.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler result = apiInstance.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling AutoscalingV2alpha1Api#replaceNamespacedHorizontalPodAutoscalerStatus"); + System.err.println("Exception when calling AutoscalingV2beta1Api#replaceNamespacedHorizontalPodAutoscalerStatus"); e.printStackTrace(); } ``` @@ -744,12 +762,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the HorizontalPodAutoscaler | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md)| | + **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V2alpha1HorizontalPodAutoscaler**](V2alpha1HorizontalPodAutoscaler.md) +[**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md) ### Authorization diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index c65669f589..657254e347 100644 --- a/kubernetes/docs/BatchV1Api.md +++ b/kubernetes/docs/BatchV1Api.md @@ -79,7 +79,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedJob** -> V1Status deleteCollectionNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -105,13 +105,16 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV1Api apiInstance = new BatchV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchV1Api#deleteCollectionNamespacedJob"); @@ -125,8 +128,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -264,7 +270,7 @@ This endpoint does not need any parameter. # **listJobForAllNamespaces** -> V1JobList listJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1JobList listJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -288,14 +294,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV1Api apiInstance = new BatchV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1JobList result = apiInstance.listJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1JobList result = apiInstance.listJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchV1Api#listJobForAllNamespaces"); @@ -307,8 +316,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -329,7 +341,7 @@ Name | Type | Description | Notes # **listNamespacedJob** -> V1JobList listNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1JobList listNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -355,13 +367,16 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV1Api apiInstance = new BatchV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1JobList result = apiInstance.listNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1JobList result = apiInstance.listNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BatchV1Api#listNamespacedJob"); @@ -375,8 +390,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] diff --git a/kubernetes/docs/BatchV1beta1Api.md b/kubernetes/docs/BatchV1beta1Api.md new file mode 100644 index 0000000000..aa019f16be --- /dev/null +++ b/kubernetes/docs/BatchV1beta1Api.md @@ -0,0 +1,780 @@ +# BatchV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createNamespacedCronJob**](BatchV1beta1Api.md#createNamespacedCronJob) | **POST** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs | +[**deleteCollectionNamespacedCronJob**](BatchV1beta1Api.md#deleteCollectionNamespacedCronJob) | **DELETE** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs | +[**deleteNamespacedCronJob**](BatchV1beta1Api.md#deleteNamespacedCronJob) | **DELETE** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name} | +[**getAPIResources**](BatchV1beta1Api.md#getAPIResources) | **GET** /apis/batch/v1beta1/ | +[**listCronJobForAllNamespaces**](BatchV1beta1Api.md#listCronJobForAllNamespaces) | **GET** /apis/batch/v1beta1/cronjobs | +[**listNamespacedCronJob**](BatchV1beta1Api.md#listNamespacedCronJob) | **GET** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs | +[**patchNamespacedCronJob**](BatchV1beta1Api.md#patchNamespacedCronJob) | **PATCH** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name} | +[**patchNamespacedCronJobStatus**](BatchV1beta1Api.md#patchNamespacedCronJobStatus) | **PATCH** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status | +[**readNamespacedCronJob**](BatchV1beta1Api.md#readNamespacedCronJob) | **GET** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name} | +[**readNamespacedCronJobStatus**](BatchV1beta1Api.md#readNamespacedCronJobStatus) | **GET** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status | +[**replaceNamespacedCronJob**](BatchV1beta1Api.md#replaceNamespacedCronJob) | **PUT** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name} | +[**replaceNamespacedCronJobStatus**](BatchV1beta1Api.md#replaceNamespacedCronJobStatus) | **PUT** /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status | + + + +# **createNamespacedCronJob** +> V1beta1CronJob createNamespacedCronJob(namespace, body, pretty) + + + +create a CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta1CronJob body = new V1beta1CronJob(); // V1beta1CronJob | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.createNamespacedCronJob(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#createNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedCronJob** +> V1Status deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#deleteCollectionNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedCronJob** +> V1Status deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#deleteNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listCronJobForAllNamespaces** +> V1beta1CronJobList listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta1CronJobList result = apiInstance.listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#listCronJobForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1CronJobList**](V1beta1CronJobList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedCronJob** +> V1beta1CronJobList listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1beta1CronJobList result = apiInstance.listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#listNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1CronJobList**](V1beta1CronJobList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchNamespacedCronJob** +> V1beta1CronJob patchNamespacedCronJob(name, namespace, body, pretty) + + + +partially update the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.patchNamespacedCronJob(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#patchNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedCronJobStatus** +> V1beta1CronJob patchNamespacedCronJobStatus(name, namespace, body, pretty) + + + +partially update status of the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.patchNamespacedCronJobStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#patchNamespacedCronJobStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedCronJob** +> V1beta1CronJob readNamespacedCronJob(name, namespace, pretty, exact, export) + + + +read the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1beta1CronJob result = apiInstance.readNamespacedCronJob(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#readNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedCronJobStatus** +> V1beta1CronJob readNamespacedCronJobStatus(name, namespace, pretty) + + + +read status of the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.readNamespacedCronJobStatus(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#readNamespacedCronJobStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedCronJob** +> V1beta1CronJob replaceNamespacedCronJob(name, namespace, body, pretty) + + + +replace the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta1CronJob body = new V1beta1CronJob(); // V1beta1CronJob | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.replaceNamespacedCronJob(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#replaceNamespacedCronJob"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedCronJobStatus** +> V1beta1CronJob replaceNamespacedCronJobStatus(name, namespace, body, pretty) + + + +replace status of the specified CronJob + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.BatchV1beta1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +BatchV1beta1Api apiInstance = new BatchV1beta1Api(); +String name = "name_example"; // String | name of the CronJob +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1beta1CronJob body = new V1beta1CronJob(); // V1beta1CronJob | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1beta1CronJob result = apiInstance.replaceNamespacedCronJobStatus(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling BatchV1beta1Api#replaceNamespacedCronJobStatus"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CronJob | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CronJob**](V1beta1CronJob.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/BatchV2alpha1Api.md b/kubernetes/docs/BatchV2alpha1Api.md index 19f9f692e8..e13bce749f 100644 --- a/kubernetes/docs/BatchV2alpha1Api.md +++ b/kubernetes/docs/BatchV2alpha1Api.md @@ -5,28 +5,17 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**createNamespacedCronJob**](BatchV2alpha1Api.md#createNamespacedCronJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**createNamespacedScheduledJob**](BatchV2alpha1Api.md#createNamespacedScheduledJob) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | [**deleteCollectionNamespacedCronJob**](BatchV2alpha1Api.md#deleteCollectionNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**deleteCollectionNamespacedScheduledJob**](BatchV2alpha1Api.md#deleteCollectionNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | [**deleteNamespacedCronJob**](BatchV2alpha1Api.md#deleteNamespacedCronJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -[**deleteNamespacedScheduledJob**](BatchV2alpha1Api.md#deleteNamespacedScheduledJob) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | [**getAPIResources**](BatchV2alpha1Api.md#getAPIResources) | **GET** /apis/batch/v2alpha1/ | [**listCronJobForAllNamespaces**](BatchV2alpha1Api.md#listCronJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/cronjobs | [**listNamespacedCronJob**](BatchV2alpha1Api.md#listNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**listNamespacedScheduledJob**](BatchV2alpha1Api.md#listNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | -[**listScheduledJobForAllNamespaces**](BatchV2alpha1Api.md#listScheduledJobForAllNamespaces) | **GET** /apis/batch/v2alpha1/scheduledjobs | [**patchNamespacedCronJob**](BatchV2alpha1Api.md#patchNamespacedCronJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | [**patchNamespacedCronJobStatus**](BatchV2alpha1Api.md#patchNamespacedCronJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**patchNamespacedScheduledJob**](BatchV2alpha1Api.md#patchNamespacedScheduledJob) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**patchNamespacedScheduledJobStatus**](BatchV2alpha1Api.md#patchNamespacedScheduledJobStatus) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | [**readNamespacedCronJob**](BatchV2alpha1Api.md#readNamespacedCronJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | [**readNamespacedCronJobStatus**](BatchV2alpha1Api.md#readNamespacedCronJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**readNamespacedScheduledJob**](BatchV2alpha1Api.md#readNamespacedScheduledJob) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**readNamespacedScheduledJobStatus**](BatchV2alpha1Api.md#readNamespacedScheduledJobStatus) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | [**replaceNamespacedCronJob**](BatchV2alpha1Api.md#replaceNamespacedCronJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | [**replaceNamespacedCronJobStatus**](BatchV2alpha1Api.md#replaceNamespacedCronJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**replaceNamespacedScheduledJob**](BatchV2alpha1Api.md#replaceNamespacedScheduledJob) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**replaceNamespacedScheduledJobStatus**](BatchV2alpha1Api.md#replaceNamespacedScheduledJobStatus) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | @@ -88,655 +77,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedScheduledJob** -> V2alpha1CronJob createNamespacedScheduledJob(namespace, body, pretty) - - - -create a ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1CronJob body = new V2alpha1CronJob(); // V2alpha1CronJob | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -try { - V2alpha1CronJob result = apiInstance.createNamespacedScheduledJob(namespace, body, pretty); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#createNamespacedScheduledJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteCollectionNamespacedCronJob** -> V1Status deleteCollectionNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -delete collection of CronJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V1Status result = apiInstance.deleteCollectionNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#deleteCollectionNamespacedCronJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteCollectionNamespacedScheduledJob** -> V1Status deleteCollectionNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -delete collection of ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V1Status result = apiInstance.deleteCollectionNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#deleteCollectionNamespacedScheduledJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteNamespacedCronJob** -> V1Status deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) - - - -delete a CronJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the CronJob -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. -Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. -String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -try { - V1Status result = apiInstance.deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#deleteNamespacedCronJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the CronJob | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] - **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteNamespacedScheduledJob** -> V1Status deleteNamespacedScheduledJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) - - - -delete a ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. -Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. -String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -try { - V1Status result = apiInstance.deleteNamespacedScheduledJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#deleteNamespacedScheduledJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] - **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **getAPIResources** -> V1APIResourceList getAPIResources() - - - -get available resources - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -try { - V1APIResourceList result = apiInstance.getAPIResources(); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#getAPIResources"); - e.printStackTrace(); -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**V1APIResourceList**](V1APIResourceList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **listCronJobForAllNamespaces** -> V2alpha1CronJobList listCronJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) - - - -list or watch objects of kind CronJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V2alpha1CronJobList result = apiInstance.listCronJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#listCronJobForAllNamespaces"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -# **listNamespacedCronJob** -> V2alpha1CronJobList listNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -list or watch objects of kind CronJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V2alpha1CronJobList result = apiInstance.listNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#listNamespacedCronJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -# **listNamespacedScheduledJob** -> V2alpha1CronJobList listNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -list or watch objects of kind ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V2alpha1CronJobList result = apiInstance.listNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#listNamespacedScheduledJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -# **listScheduledJobForAllNamespaces** -> V2alpha1CronJobList listScheduledJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) - - - -list or watch objects of kind ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V2alpha1CronJobList result = apiInstance.listScheduledJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#listScheduledJobForAllNamespaces"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -# **patchNamespacedCronJob** -> V2alpha1CronJob patchNamespacedCronJob(name, namespace, body, pretty) + +# **deleteCollectionNamespacedCronJob** +> V1Status deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) -partially update the specified CronJob +delete collection of CronJob ### Example ```java @@ -756,15 +103,21 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V2alpha1CronJob result = apiInstance.patchNamespacedCronJob(name, namespace, body, pretty); + V1Status result = apiInstance.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedCronJob"); + System.err.println("Exception when calling BatchV2alpha1Api#deleteCollectionNamespacedCronJob"); e.printStackTrace(); } ``` @@ -773,14 +126,20 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V2alpha1CronJob**](V2alpha1CronJob.md) +[**V1Status**](V1Status.md) ### Authorization @@ -788,16 +147,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedCronJobStatus** -> V2alpha1CronJob patchNamespacedCronJobStatus(name, namespace, body, pretty) + +# **deleteNamespacedCronJob** +> V1Status deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) -partially update status of the specified CronJob +delete a CronJob ### Example ```java @@ -819,13 +178,16 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. try { - V2alpha1CronJob result = apiInstance.patchNamespacedCronJobStatus(name, namespace, body, pretty); + V1Status result = apiInstance.deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedCronJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#deleteNamespacedCronJob"); e.printStackTrace(); } ``` @@ -836,12 +198,15 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V2alpha1CronJob**](V2alpha1CronJob.md) +[**V1Status**](V1Status.md) ### Authorization @@ -849,16 +214,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedScheduledJob** -> V2alpha1CronJob patchNamespacedScheduledJob(name, namespace, body, pretty) + +# **getAPIResources** +> V1APIResourceList getAPIResources() -partially update the specified ScheduledJob +get available resources ### Example ```java @@ -878,31 +243,21 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.patchNamespacedScheduledJob(name, namespace, body, pretty); + V1APIResourceList result = apiInstance.getAPIResources(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedScheduledJob"); + System.err.println("Exception when calling BatchV2alpha1Api#getAPIResources"); e.printStackTrace(); } ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] +This endpoint does not need any parameter. ### Return type -[**V2alpha1CronJob**](V2alpha1CronJob.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization @@ -910,16 +265,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedScheduledJobStatus** -> V2alpha1CronJob patchNamespacedScheduledJobStatus(name, namespace, body, pretty) + +# **listCronJobForAllNamespaces** +> V2alpha1CronJobList listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) -partially update status of the specified ScheduledJob +list or watch objects of kind CronJob ### Example ```java @@ -939,15 +294,20 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -Object body = null; // Object | +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V2alpha1CronJob result = apiInstance.patchNamespacedScheduledJobStatus(name, namespace, body, pretty); + V2alpha1CronJobList result = apiInstance.listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedScheduledJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#listCronJobForAllNamespaces"); e.printStackTrace(); } ``` @@ -956,14 +316,19 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V2alpha1CronJob**](V2alpha1CronJob.md) +[**V2alpha1CronJobList**](V2alpha1CronJobList.md) ### Authorization @@ -971,16 +336,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **readNamespacedCronJob** -> V2alpha1CronJob readNamespacedCronJob(name, namespace, pretty, exact, export) + +# **listNamespacedCronJob** +> V2alpha1CronJobList listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) -read the specified CronJob +list or watch objects of kind CronJob ### Example ```java @@ -1000,16 +365,21 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. -Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V2alpha1CronJob result = apiInstance.readNamespacedCronJob(name, namespace, pretty, exact, export); + V2alpha1CronJobList result = apiInstance.listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedCronJob"); + System.err.println("Exception when calling BatchV2alpha1Api#listNamespacedCronJob"); e.printStackTrace(); } ``` @@ -1018,15 +388,20 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V2alpha1CronJob**](V2alpha1CronJob.md) +[**V2alpha1CronJobList**](V2alpha1CronJobList.md) ### Authorization @@ -1035,15 +410,15 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -# **readNamespacedCronJobStatus** -> V2alpha1CronJob readNamespacedCronJobStatus(name, namespace, pretty) + +# **patchNamespacedCronJob** +> V2alpha1CronJob patchNamespacedCronJob(name, namespace, body, pretty) -read status of the specified CronJob +partially update the specified CronJob ### Example ```java @@ -1065,12 +440,13 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.readNamespacedCronJobStatus(name, namespace, pretty); + V2alpha1CronJob result = apiInstance.patchNamespacedCronJob(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedCronJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedCronJob"); e.printStackTrace(); } ``` @@ -1081,6 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1093,79 +470,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **readNamespacedScheduledJob** -> V2alpha1CronJob readNamespacedScheduledJob(name, namespace, pretty, exact, export) - - - -read the specified ScheduledJob - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.BatchV2alpha1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob -String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. -Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. -try { - V2alpha1CronJob result = apiInstance.readNamespacedScheduledJob(name, namespace, pretty, exact, export); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedScheduledJob"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedScheduledJobStatus** -> V2alpha1CronJob readNamespacedScheduledJobStatus(name, namespace, pretty) + +# **patchNamespacedCronJobStatus** +> V2alpha1CronJob patchNamespacedCronJobStatus(name, namespace, body, pretty) -read status of the specified ScheduledJob +partially update status of the specified CronJob ### Example ```java @@ -1185,14 +499,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob +String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.readNamespacedScheduledJobStatus(name, namespace, pretty); + V2alpha1CronJob result = apiInstance.patchNamespacedCronJobStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedScheduledJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#patchNamespacedCronJobStatus"); e.printStackTrace(); } ``` @@ -1201,8 +516,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | + **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1215,16 +531,16 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedCronJob** -> V2alpha1CronJob replaceNamespacedCronJob(name, namespace, body, pretty) + +# **readNamespacedCronJob** +> V2alpha1CronJob readNamespacedCronJob(name, namespace, pretty, exact, export) -replace the specified CronJob +read the specified CronJob ### Example ```java @@ -1246,13 +562,14 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1CronJob body = new V2alpha1CronJob(); // V2alpha1CronJob | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. try { - V2alpha1CronJob result = apiInstance.replaceNamespacedCronJob(name, namespace, body, pretty); + V2alpha1CronJob result = apiInstance.readNamespacedCronJob(name, namespace, pretty, exact, export); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedCronJob"); + System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedCronJob"); e.printStackTrace(); } ``` @@ -1263,8 +580,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1279,13 +597,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedCronJobStatus** -> V2alpha1CronJob replaceNamespacedCronJobStatus(name, namespace, body, pretty) + +# **readNamespacedCronJobStatus** +> V2alpha1CronJob readNamespacedCronJobStatus(name, namespace, pretty) -replace status of the specified CronJob +read status of the specified CronJob ### Example ```java @@ -1307,13 +625,12 @@ BearerToken.setApiKey("YOUR API KEY"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V2alpha1CronJob body = new V2alpha1CronJob(); // V2alpha1CronJob | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.replaceNamespacedCronJobStatus(name, namespace, body, pretty); + V2alpha1CronJob result = apiInstance.readNamespacedCronJobStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedCronJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#readNamespacedCronJobStatus"); e.printStackTrace(); } ``` @@ -1324,7 +641,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1340,13 +656,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedScheduledJob** -> V2alpha1CronJob replaceNamespacedScheduledJob(name, namespace, body, pretty) + +# **replaceNamespacedCronJob** +> V2alpha1CronJob replaceNamespacedCronJob(name, namespace, body, pretty) -replace the specified ScheduledJob +replace the specified CronJob ### Example ```java @@ -1366,15 +682,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob +String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects V2alpha1CronJob body = new V2alpha1CronJob(); // V2alpha1CronJob | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.replaceNamespacedScheduledJob(name, namespace, body, pretty); + V2alpha1CronJob result = apiInstance.replaceNamespacedCronJob(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedScheduledJob"); + System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedCronJob"); e.printStackTrace(); } ``` @@ -1383,7 +699,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | + **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] @@ -1401,13 +717,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedScheduledJobStatus** -> V2alpha1CronJob replaceNamespacedScheduledJobStatus(name, namespace, body, pretty) + +# **replaceNamespacedCronJobStatus** +> V2alpha1CronJob replaceNamespacedCronJobStatus(name, namespace, body, pretty) -replace status of the specified ScheduledJob +replace status of the specified CronJob ### Example ```java @@ -1427,15 +743,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); BatchV2alpha1Api apiInstance = new BatchV2alpha1Api(); -String name = "name_example"; // String | name of the ScheduledJob +String name = "name_example"; // String | name of the CronJob String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects V2alpha1CronJob body = new V2alpha1CronJob(); // V2alpha1CronJob | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V2alpha1CronJob result = apiInstance.replaceNamespacedScheduledJobStatus(name, namespace, body, pretty); + V2alpha1CronJob result = apiInstance.replaceNamespacedCronJobStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedScheduledJobStatus"); + System.err.println("Exception when calling BatchV2alpha1Api#replaceNamespacedCronJobStatus"); e.printStackTrace(); } ``` @@ -1444,7 +760,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ScheduledJob | + **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index 25213d7714..af1cb4c4b4 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -140,7 +140,7 @@ Name | Type | Description | Notes # **deleteCollectionCertificateSigningRequest** -> V1Status deleteCollectionCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -165,13 +165,16 @@ BearerToken.setApiKey("YOUR API KEY"); CertificatesV1beta1Api apiInstance = new CertificatesV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CertificatesV1beta1Api#deleteCollectionCertificateSigningRequest"); @@ -184,8 +187,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -256,7 +262,7 @@ This endpoint does not need any parameter. # **listCertificateSigningRequest** -> V1beta1CertificateSigningRequestList listCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1CertificateSigningRequestList listCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -281,13 +287,16 @@ BearerToken.setApiKey("YOUR API KEY"); CertificatesV1beta1Api apiInstance = new CertificatesV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1CertificateSigningRequestList result = apiInstance.listCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1CertificateSigningRequestList result = apiInstance.listCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CertificatesV1beta1Api#listCertificateSigningRequest"); @@ -300,8 +309,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index 7fdd14d5d3..2604b8f2e3 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -31,6 +31,12 @@ Method | HTTP request | Description [**connectOptionsNamespacedServiceProxyWithPath**](CoreV1Api.md#connectOptionsNamespacedServiceProxyWithPath) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | [**connectOptionsNodeProxy**](CoreV1Api.md#connectOptionsNodeProxy) | **OPTIONS** /api/v1/nodes/{name}/proxy | [**connectOptionsNodeProxyWithPath**](CoreV1Api.md#connectOptionsNodeProxyWithPath) | **OPTIONS** /api/v1/nodes/{name}/proxy/{path} | +[**connectPatchNamespacedPodProxy**](CoreV1Api.md#connectPatchNamespacedPodProxy) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/proxy | +[**connectPatchNamespacedPodProxyWithPath**](CoreV1Api.md#connectPatchNamespacedPodProxyWithPath) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | +[**connectPatchNamespacedServiceProxy**](CoreV1Api.md#connectPatchNamespacedServiceProxy) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/proxy | +[**connectPatchNamespacedServiceProxyWithPath**](CoreV1Api.md#connectPatchNamespacedServiceProxyWithPath) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | +[**connectPatchNodeProxy**](CoreV1Api.md#connectPatchNodeProxy) | **PATCH** /api/v1/nodes/{name}/proxy | +[**connectPatchNodeProxyWithPath**](CoreV1Api.md#connectPatchNodeProxyWithPath) | **PATCH** /api/v1/nodes/{name}/proxy/{path} | [**connectPostNamespacedPodAttach**](CoreV1Api.md#connectPostNamespacedPodAttach) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/attach | [**connectPostNamespacedPodExec**](CoreV1Api.md#connectPostNamespacedPodExec) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/exec | [**connectPostNamespacedPodPortforward**](CoreV1Api.md#connectPostNamespacedPodPortforward) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/portforward | @@ -48,14 +54,14 @@ Method | HTTP request | Description [**connectPutNodeProxyWithPath**](CoreV1Api.md#connectPutNodeProxyWithPath) | **PUT** /api/v1/nodes/{name}/proxy/{path} | [**createNamespace**](CoreV1Api.md#createNamespace) | **POST** /api/v1/namespaces | [**createNamespacedBinding**](CoreV1Api.md#createNamespacedBinding) | **POST** /api/v1/namespaces/{namespace}/bindings | -[**createNamespacedBindingBinding**](CoreV1Api.md#createNamespacedBindingBinding) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/binding | [**createNamespacedConfigMap**](CoreV1Api.md#createNamespacedConfigMap) | **POST** /api/v1/namespaces/{namespace}/configmaps | [**createNamespacedEndpoints**](CoreV1Api.md#createNamespacedEndpoints) | **POST** /api/v1/namespaces/{namespace}/endpoints | [**createNamespacedEvent**](CoreV1Api.md#createNamespacedEvent) | **POST** /api/v1/namespaces/{namespace}/events | -[**createNamespacedEvictionEviction**](CoreV1Api.md#createNamespacedEvictionEviction) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/eviction | [**createNamespacedLimitRange**](CoreV1Api.md#createNamespacedLimitRange) | **POST** /api/v1/namespaces/{namespace}/limitranges | [**createNamespacedPersistentVolumeClaim**](CoreV1Api.md#createNamespacedPersistentVolumeClaim) | **POST** /api/v1/namespaces/{namespace}/persistentvolumeclaims | [**createNamespacedPod**](CoreV1Api.md#createNamespacedPod) | **POST** /api/v1/namespaces/{namespace}/pods | +[**createNamespacedPodBinding**](CoreV1Api.md#createNamespacedPodBinding) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/binding | +[**createNamespacedPodEviction**](CoreV1Api.md#createNamespacedPodEviction) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/eviction | [**createNamespacedPodTemplate**](CoreV1Api.md#createNamespacedPodTemplate) | **POST** /api/v1/namespaces/{namespace}/podtemplates | [**createNamespacedReplicationController**](CoreV1Api.md#createNamespacedReplicationController) | **POST** /api/v1/namespaces/{namespace}/replicationcontrollers | [**createNamespacedResourceQuota**](CoreV1Api.md#createNamespacedResourceQuota) | **POST** /api/v1/namespaces/{namespace}/resourcequotas | @@ -133,10 +139,10 @@ Method | HTTP request | Description [**patchNamespacedPodStatus**](CoreV1Api.md#patchNamespacedPodStatus) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/status | [**patchNamespacedPodTemplate**](CoreV1Api.md#patchNamespacedPodTemplate) | **PATCH** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**patchNamespacedReplicationController**](CoreV1Api.md#patchNamespacedReplicationController) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | +[**patchNamespacedReplicationControllerScale**](CoreV1Api.md#patchNamespacedReplicationControllerScale) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**patchNamespacedReplicationControllerStatus**](CoreV1Api.md#patchNamespacedReplicationControllerStatus) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | [**patchNamespacedResourceQuota**](CoreV1Api.md#patchNamespacedResourceQuota) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name} | [**patchNamespacedResourceQuotaStatus**](CoreV1Api.md#patchNamespacedResourceQuotaStatus) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**patchNamespacedScaleScale**](CoreV1Api.md#patchNamespacedScaleScale) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**patchNamespacedSecret**](CoreV1Api.md#patchNamespacedSecret) | **PATCH** /api/v1/namespaces/{namespace}/secrets/{name} | [**patchNamespacedService**](CoreV1Api.md#patchNamespacedService) | **PATCH** /api/v1/namespaces/{namespace}/services/{name} | [**patchNamespacedServiceAccount**](CoreV1Api.md#patchNamespacedServiceAccount) | **PATCH** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | @@ -201,10 +207,10 @@ Method | HTTP request | Description [**readNamespacedPodStatus**](CoreV1Api.md#readNamespacedPodStatus) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/status | [**readNamespacedPodTemplate**](CoreV1Api.md#readNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**readNamespacedReplicationController**](CoreV1Api.md#readNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | +[**readNamespacedReplicationControllerScale**](CoreV1Api.md#readNamespacedReplicationControllerScale) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**readNamespacedReplicationControllerStatus**](CoreV1Api.md#readNamespacedReplicationControllerStatus) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | [**readNamespacedResourceQuota**](CoreV1Api.md#readNamespacedResourceQuota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name} | [**readNamespacedResourceQuotaStatus**](CoreV1Api.md#readNamespacedResourceQuotaStatus) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**readNamespacedScaleScale**](CoreV1Api.md#readNamespacedScaleScale) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**readNamespacedSecret**](CoreV1Api.md#readNamespacedSecret) | **GET** /api/v1/namespaces/{namespace}/secrets/{name} | [**readNamespacedService**](CoreV1Api.md#readNamespacedService) | **GET** /api/v1/namespaces/{namespace}/services/{name} | [**readNamespacedServiceAccount**](CoreV1Api.md#readNamespacedServiceAccount) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | @@ -226,10 +232,10 @@ Method | HTTP request | Description [**replaceNamespacedPodStatus**](CoreV1Api.md#replaceNamespacedPodStatus) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/status | [**replaceNamespacedPodTemplate**](CoreV1Api.md#replaceNamespacedPodTemplate) | **PUT** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**replaceNamespacedReplicationController**](CoreV1Api.md#replaceNamespacedReplicationController) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | +[**replaceNamespacedReplicationControllerScale**](CoreV1Api.md#replaceNamespacedReplicationControllerScale) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**replaceNamespacedReplicationControllerStatus**](CoreV1Api.md#replaceNamespacedReplicationControllerStatus) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | [**replaceNamespacedResourceQuota**](CoreV1Api.md#replaceNamespacedResourceQuota) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name} | [**replaceNamespacedResourceQuotaStatus**](CoreV1Api.md#replaceNamespacedResourceQuotaStatus) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**replaceNamespacedScaleScale**](CoreV1Api.md#replaceNamespacedScaleScale) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**replaceNamespacedSecret**](CoreV1Api.md#replaceNamespacedSecret) | **PUT** /api/v1/namespaces/{namespace}/secrets/{name} | [**replaceNamespacedService**](CoreV1Api.md#replaceNamespacedService) | **PUT** /api/v1/namespaces/{namespace}/services/{name} | [**replaceNamespacedServiceAccount**](CoreV1Api.md#replaceNamespacedServiceAccount) | **PUT** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | @@ -1854,6 +1860,362 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNamespacedPodProxy** +> String connectPatchNamespacedPodProxy(name, namespace, path) + + + +connect PATCH requests to proxy of Pod + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Pod +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String path = "path_example"; // String | Path is the URL path to use for the current proxy request to pod. +try { + String result = apiInstance.connectPatchNamespacedPodProxy(name, namespace, path); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNamespacedPodProxy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Pod | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNamespacedPodProxyWithPath** +> String connectPatchNamespacedPodProxyWithPath(name, namespace, path, path2) + + + +connect PATCH requests to proxy of Pod + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Pod +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String path = "path_example"; // String | path to the resource +String path2 = "path_example"; // String | Path is the URL path to use for the current proxy request to pod. +try { + String result = apiInstance.connectPatchNamespacedPodProxyWithPath(name, namespace, path, path2); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNamespacedPodProxyWithPath"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Pod | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **path** | **String**| path to the resource | + **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNamespacedServiceProxy** +> String connectPatchNamespacedServiceProxy(name, namespace, path) + + + +connect PATCH requests to proxy of Service + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Service +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String path = "path_example"; // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. +try { + String result = apiInstance.connectPatchNamespacedServiceProxy(name, namespace, path); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNamespacedServiceProxy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Service | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNamespacedServiceProxyWithPath** +> String connectPatchNamespacedServiceProxyWithPath(name, namespace, path, path2) + + + +connect PATCH requests to proxy of Service + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Service +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String path = "path_example"; // String | path to the resource +String path2 = "path_example"; // String | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. +try { + String result = apiInstance.connectPatchNamespacedServiceProxyWithPath(name, namespace, path, path2); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNamespacedServiceProxyWithPath"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Service | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **path** | **String**| path to the resource | + **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNodeProxy** +> String connectPatchNodeProxy(name, path) + + + +connect PATCH requests to proxy of Node + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Node +String path = "path_example"; // String | Path is the URL path to use for the current proxy request to node. +try { + String result = apiInstance.connectPatchNodeProxy(name, path); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNodeProxy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Node | + **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: */* + + +# **connectPatchNodeProxyWithPath** +> String connectPatchNodeProxyWithPath(name, path, path2) + + + +connect PATCH requests to proxy of Node + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.CoreV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Node +String path = "path_example"; // String | path to the resource +String path2 = "path_example"; // String | Path is the URL path to use for the current proxy request to node. +try { + String result = apiInstance.connectPatchNodeProxyWithPath(name, path, path2); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling CoreV1Api#connectPatchNodeProxyWithPath"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Node | + **path** | **String**| path to the resource | + **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] + +### Return type + +**String** + +### Authorization + +[BearerToken](../README.md#BearerToken) + ### HTTP request headers - **Content-Type**: */* @@ -2882,13 +3244,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedBindingBinding** -> V1Binding createNamespacedBindingBinding(name, namespace, body, pretty) + +# **createNamespacedConfigMap** +> V1ConfigMap createNamespacedConfigMap(namespace, body, pretty) -create binding of a Binding +create a ConfigMap ### Example ```java @@ -2908,15 +3270,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the Binding String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1Binding body = new V1Binding(); // V1Binding | +V1ConfigMap body = new V1ConfigMap(); // V1ConfigMap | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Binding result = apiInstance.createNamespacedBindingBinding(name, namespace, body, pretty); + V1ConfigMap result = apiInstance.createNamespacedConfigMap(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedBindingBinding"); + System.err.println("Exception when calling CoreV1Api#createNamespacedConfigMap"); e.printStackTrace(); } ``` @@ -2925,14 +3286,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Binding | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1Binding**](V1Binding.md)| | + **body** | [**V1ConfigMap**](V1ConfigMap.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Binding**](V1Binding.md) +[**V1ConfigMap**](V1ConfigMap.md) ### Authorization @@ -2943,13 +3303,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedConfigMap** -> V1ConfigMap createNamespacedConfigMap(namespace, body, pretty) + +# **createNamespacedEndpoints** +> V1Endpoints createNamespacedEndpoints(namespace, body, pretty) -create a ConfigMap +create Endpoints ### Example ```java @@ -2970,13 +3330,13 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1ConfigMap body = new V1ConfigMap(); // V1ConfigMap | +V1Endpoints body = new V1Endpoints(); // V1Endpoints | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ConfigMap result = apiInstance.createNamespacedConfigMap(namespace, body, pretty); + V1Endpoints result = apiInstance.createNamespacedEndpoints(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedConfigMap"); + System.err.println("Exception when calling CoreV1Api#createNamespacedEndpoints"); e.printStackTrace(); } ``` @@ -2986,12 +3346,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1ConfigMap**](V1ConfigMap.md)| | + **body** | [**V1Endpoints**](V1Endpoints.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ConfigMap**](V1ConfigMap.md) +[**V1Endpoints**](V1Endpoints.md) ### Authorization @@ -3002,13 +3362,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedEndpoints** -> V1Endpoints createNamespacedEndpoints(namespace, body, pretty) + +# **createNamespacedEvent** +> V1Event createNamespacedEvent(namespace, body, pretty) -create Endpoints +create an Event ### Example ```java @@ -3029,13 +3389,13 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1Endpoints body = new V1Endpoints(); // V1Endpoints | +V1Event body = new V1Event(); // V1Event | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Endpoints result = apiInstance.createNamespacedEndpoints(namespace, body, pretty); + V1Event result = apiInstance.createNamespacedEvent(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedEndpoints"); + System.err.println("Exception when calling CoreV1Api#createNamespacedEvent"); e.printStackTrace(); } ``` @@ -3045,12 +3405,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1Endpoints**](V1Endpoints.md)| | + **body** | [**V1Event**](V1Event.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Endpoints**](V1Endpoints.md) +[**V1Event**](V1Event.md) ### Authorization @@ -3061,13 +3421,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedEvent** -> V1Event createNamespacedEvent(namespace, body, pretty) + +# **createNamespacedLimitRange** +> V1LimitRange createNamespacedLimitRange(namespace, body, pretty) -create an Event +create a LimitRange ### Example ```java @@ -3088,13 +3448,13 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1Event body = new V1Event(); // V1Event | +V1LimitRange body = new V1LimitRange(); // V1LimitRange | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Event result = apiInstance.createNamespacedEvent(namespace, body, pretty); + V1LimitRange result = apiInstance.createNamespacedLimitRange(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedEvent"); + System.err.println("Exception when calling CoreV1Api#createNamespacedLimitRange"); e.printStackTrace(); } ``` @@ -3104,12 +3464,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1Event**](V1Event.md)| | + **body** | [**V1LimitRange**](V1LimitRange.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Event**](V1Event.md) +[**V1LimitRange**](V1LimitRange.md) ### Authorization @@ -3120,13 +3480,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedEvictionEviction** -> V1beta1Eviction createNamespacedEvictionEviction(name, namespace, body, pretty) + +# **createNamespacedPersistentVolumeClaim** +> V1PersistentVolumeClaim createNamespacedPersistentVolumeClaim(namespace, body, pretty) -create eviction of an Eviction +create a PersistentVolumeClaim ### Example ```java @@ -3146,15 +3506,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the Eviction String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1beta1Eviction body = new V1beta1Eviction(); // V1beta1Eviction | +V1PersistentVolumeClaim body = new V1PersistentVolumeClaim(); // V1PersistentVolumeClaim | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1beta1Eviction result = apiInstance.createNamespacedEvictionEviction(name, namespace, body, pretty); + V1PersistentVolumeClaim result = apiInstance.createNamespacedPersistentVolumeClaim(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedEvictionEviction"); + System.err.println("Exception when calling CoreV1Api#createNamespacedPersistentVolumeClaim"); e.printStackTrace(); } ``` @@ -3163,14 +3522,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Eviction | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Eviction**](V1beta1Eviction.md)| | + **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1Eviction**](V1beta1Eviction.md) +[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) ### Authorization @@ -3181,13 +3539,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedLimitRange** -> V1LimitRange createNamespacedLimitRange(namespace, body, pretty) + +# **createNamespacedPod** +> V1Pod createNamespacedPod(namespace, body, pretty) -create a LimitRange +create a Pod ### Example ```java @@ -3208,13 +3566,13 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1LimitRange body = new V1LimitRange(); // V1LimitRange | +V1Pod body = new V1Pod(); // V1Pod | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1LimitRange result = apiInstance.createNamespacedLimitRange(namespace, body, pretty); + V1Pod result = apiInstance.createNamespacedPod(namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedLimitRange"); + System.err.println("Exception when calling CoreV1Api#createNamespacedPod"); e.printStackTrace(); } ``` @@ -3224,12 +3582,12 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1LimitRange**](V1LimitRange.md)| | + **body** | [**V1Pod**](V1Pod.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1LimitRange**](V1LimitRange.md) +[**V1Pod**](V1Pod.md) ### Authorization @@ -3240,13 +3598,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedPersistentVolumeClaim** -> V1PersistentVolumeClaim createNamespacedPersistentVolumeClaim(namespace, body, pretty) + +# **createNamespacedPodBinding** +> V1Binding createNamespacedPodBinding(name, namespace, body, pretty) -create a PersistentVolumeClaim +create binding of a Pod ### Example ```java @@ -3266,14 +3624,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Binding String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1PersistentVolumeClaim body = new V1PersistentVolumeClaim(); // V1PersistentVolumeClaim | +V1Binding body = new V1Binding(); // V1Binding | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1PersistentVolumeClaim result = apiInstance.createNamespacedPersistentVolumeClaim(namespace, body, pretty); + V1Binding result = apiInstance.createNamespacedPodBinding(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedPersistentVolumeClaim"); + System.err.println("Exception when calling CoreV1Api#createNamespacedPodBinding"); e.printStackTrace(); } ``` @@ -3282,13 +3641,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Binding | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | + **body** | [**V1Binding**](V1Binding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) +[**V1Binding**](V1Binding.md) ### Authorization @@ -3299,13 +3659,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedPod** -> V1Pod createNamespacedPod(namespace, body, pretty) + +# **createNamespacedPodEviction** +> V1beta1Eviction createNamespacedPodEviction(name, namespace, body, pretty) -create a Pod +create eviction of a Pod ### Example ```java @@ -3325,14 +3685,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String name = "name_example"; // String | name of the Eviction String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1Pod body = new V1Pod(); // V1Pod | +V1beta1Eviction body = new V1beta1Eviction(); // V1beta1Eviction | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Pod result = apiInstance.createNamespacedPod(namespace, body, pretty); + V1beta1Eviction result = apiInstance.createNamespacedPodEviction(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#createNamespacedPod"); + System.err.println("Exception when calling CoreV1Api#createNamespacedPodEviction"); e.printStackTrace(); } ``` @@ -3341,13 +3702,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Eviction | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1Pod**](V1Pod.md)| | + **body** | [**V1beta1Eviction**](V1beta1Eviction.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Pod**](V1Pod.md) +[**V1beta1Eviction**](V1beta1Eviction.md) ### Authorization @@ -3828,7 +4190,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedConfigMap** -> V1Status deleteCollectionNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -3854,13 +4216,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedConfigMap"); @@ -3874,8 +4239,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -3895,7 +4263,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedEndpoints** -> V1Status deleteCollectionNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -3921,13 +4289,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedEndpoints"); @@ -3941,8 +4312,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -3962,7 +4336,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedEvent** -> V1Status deleteCollectionNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -3988,13 +4362,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedEvent"); @@ -4008,8 +4385,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4029,7 +4409,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedLimitRange** -> V1Status deleteCollectionNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4055,13 +4435,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedLimitRange"); @@ -4075,8 +4458,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4096,7 +4482,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedPersistentVolumeClaim** -> V1Status deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4122,13 +4508,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedPersistentVolumeClaim"); @@ -4142,8 +4531,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4163,7 +4555,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedPod** -> V1Status deleteCollectionNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4189,13 +4581,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedPod"); @@ -4209,8 +4604,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4230,7 +4628,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedPodTemplate** -> V1Status deleteCollectionNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4256,13 +4654,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedPodTemplate"); @@ -4276,8 +4677,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4297,7 +4701,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedReplicationController** -> V1Status deleteCollectionNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4323,13 +4727,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedReplicationController"); @@ -4343,8 +4750,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4364,7 +4774,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedResourceQuota** -> V1Status deleteCollectionNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4390,13 +4800,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedResourceQuota"); @@ -4410,8 +4823,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4431,7 +4847,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedSecret** -> V1Status deleteCollectionNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4457,13 +4873,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedSecret"); @@ -4477,8 +4896,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4498,7 +4920,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedServiceAccount** -> V1Status deleteCollectionNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4524,13 +4946,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNamespacedServiceAccount"); @@ -4544,8 +4969,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4565,7 +4993,7 @@ Name | Type | Description | Notes # **deleteCollectionNode** -> V1Status deleteCollectionNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4590,13 +5018,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionNode"); @@ -4609,8 +5040,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -4630,7 +5064,7 @@ Name | Type | Description | Notes # **deleteCollectionPersistentVolume** -> V1Status deleteCollectionPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -4655,13 +5089,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#deleteCollectionPersistentVolume"); @@ -4674,8 +5111,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -5737,7 +6177,7 @@ This endpoint does not need any parameter. # **listComponentStatus** -> V1ComponentStatusList listComponentStatus(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ComponentStatusList listComponentStatus(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -5761,14 +6201,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ComponentStatusList result = apiInstance.listComponentStatus(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ComponentStatusList result = apiInstance.listComponentStatus(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listComponentStatus"); @@ -5780,8 +6223,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -5802,7 +6248,7 @@ Name | Type | Description | Notes # **listConfigMapForAllNamespaces** -> V1ConfigMapList listConfigMapForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ConfigMapList listConfigMapForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -5826,14 +6272,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ConfigMapList result = apiInstance.listConfigMapForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ConfigMapList result = apiInstance.listConfigMapForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listConfigMapForAllNamespaces"); @@ -5845,8 +6294,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -5867,7 +6319,7 @@ Name | Type | Description | Notes # **listEndpointsForAllNamespaces** -> V1EndpointsList listEndpointsForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1EndpointsList listEndpointsForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -5891,14 +6343,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1EndpointsList result = apiInstance.listEndpointsForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1EndpointsList result = apiInstance.listEndpointsForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listEndpointsForAllNamespaces"); @@ -5910,8 +6365,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -5932,7 +6390,7 @@ Name | Type | Description | Notes # **listEventForAllNamespaces** -> V1EventList listEventForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1EventList listEventForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -5956,14 +6414,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1EventList result = apiInstance.listEventForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1EventList result = apiInstance.listEventForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listEventForAllNamespaces"); @@ -5975,8 +6436,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -5997,7 +6461,7 @@ Name | Type | Description | Notes # **listLimitRangeForAllNamespaces** -> V1LimitRangeList listLimitRangeForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1LimitRangeList listLimitRangeForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -6021,14 +6485,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1LimitRangeList result = apiInstance.listLimitRangeForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1LimitRangeList result = apiInstance.listLimitRangeForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listLimitRangeForAllNamespaces"); @@ -6040,8 +6507,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -6062,7 +6532,7 @@ Name | Type | Description | Notes # **listNamespace** -> V1NamespaceList listNamespace(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1NamespaceList listNamespace(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6087,13 +6557,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1NamespaceList result = apiInstance.listNamespace(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1NamespaceList result = apiInstance.listNamespace(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespace"); @@ -6106,8 +6579,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6127,7 +6603,7 @@ Name | Type | Description | Notes # **listNamespacedConfigMap** -> V1ConfigMapList listNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1ConfigMapList listNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6153,13 +6629,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ConfigMapList result = apiInstance.listNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ConfigMapList result = apiInstance.listNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedConfigMap"); @@ -6173,8 +6652,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6194,7 +6676,7 @@ Name | Type | Description | Notes # **listNamespacedEndpoints** -> V1EndpointsList listNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1EndpointsList listNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6220,13 +6702,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1EndpointsList result = apiInstance.listNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1EndpointsList result = apiInstance.listNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedEndpoints"); @@ -6240,8 +6725,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6261,7 +6749,7 @@ Name | Type | Description | Notes # **listNamespacedEvent** -> V1EventList listNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1EventList listNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6287,13 +6775,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1EventList result = apiInstance.listNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1EventList result = apiInstance.listNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedEvent"); @@ -6307,8 +6798,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6328,7 +6822,7 @@ Name | Type | Description | Notes # **listNamespacedLimitRange** -> V1LimitRangeList listNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1LimitRangeList listNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6354,13 +6848,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1LimitRangeList result = apiInstance.listNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1LimitRangeList result = apiInstance.listNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedLimitRange"); @@ -6374,8 +6871,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6395,7 +6895,7 @@ Name | Type | Description | Notes # **listNamespacedPersistentVolumeClaim** -> V1PersistentVolumeClaimList listNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1PersistentVolumeClaimList listNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6421,13 +6921,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PersistentVolumeClaimList result = apiInstance.listNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeClaimList result = apiInstance.listNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedPersistentVolumeClaim"); @@ -6441,8 +6944,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6462,7 +6968,7 @@ Name | Type | Description | Notes # **listNamespacedPod** -> V1PodList listNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1PodList listNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6488,13 +6994,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PodList result = apiInstance.listNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PodList result = apiInstance.listNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedPod"); @@ -6508,8 +7017,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6529,7 +7041,7 @@ Name | Type | Description | Notes # **listNamespacedPodTemplate** -> V1PodTemplateList listNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1PodTemplateList listNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6555,13 +7067,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PodTemplateList result = apiInstance.listNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PodTemplateList result = apiInstance.listNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedPodTemplate"); @@ -6575,8 +7090,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6596,7 +7114,7 @@ Name | Type | Description | Notes # **listNamespacedReplicationController** -> V1ReplicationControllerList listNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1ReplicationControllerList listNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6622,13 +7140,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ReplicationControllerList result = apiInstance.listNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ReplicationControllerList result = apiInstance.listNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedReplicationController"); @@ -6642,8 +7163,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6663,7 +7187,7 @@ Name | Type | Description | Notes # **listNamespacedResourceQuota** -> V1ResourceQuotaList listNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1ResourceQuotaList listNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6689,13 +7213,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ResourceQuotaList result = apiInstance.listNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ResourceQuotaList result = apiInstance.listNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedResourceQuota"); @@ -6709,8 +7236,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6730,7 +7260,7 @@ Name | Type | Description | Notes # **listNamespacedSecret** -> V1SecretList listNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1SecretList listNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6756,13 +7286,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1SecretList result = apiInstance.listNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1SecretList result = apiInstance.listNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedSecret"); @@ -6776,8 +7309,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6797,7 +7333,7 @@ Name | Type | Description | Notes # **listNamespacedService** -> V1ServiceList listNamespacedService(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1ServiceList listNamespacedService(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6823,13 +7359,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ServiceList result = apiInstance.listNamespacedService(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ServiceList result = apiInstance.listNamespacedService(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedService"); @@ -6843,8 +7382,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6864,7 +7406,7 @@ Name | Type | Description | Notes # **listNamespacedServiceAccount** -> V1ServiceAccountList listNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1ServiceAccountList listNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6890,13 +7432,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ServiceAccountList result = apiInstance.listNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ServiceAccountList result = apiInstance.listNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNamespacedServiceAccount"); @@ -6910,8 +7455,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6931,7 +7479,7 @@ Name | Type | Description | Notes # **listNode** -> V1NodeList listNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1NodeList listNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -6956,13 +7504,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1NodeList result = apiInstance.listNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1NodeList result = apiInstance.listNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listNode"); @@ -6975,8 +7526,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -6996,7 +7550,7 @@ Name | Type | Description | Notes # **listPersistentVolume** -> V1PersistentVolumeList listPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1PersistentVolumeList listPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -7021,13 +7575,16 @@ BearerToken.setApiKey("YOUR API KEY"); CoreV1Api apiInstance = new CoreV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PersistentVolumeList result = apiInstance.listPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeList result = apiInstance.listPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listPersistentVolume"); @@ -7040,8 +7597,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -7061,7 +7621,7 @@ Name | Type | Description | Notes # **listPersistentVolumeClaimForAllNamespaces** -> V1PersistentVolumeClaimList listPersistentVolumeClaimForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1PersistentVolumeClaimList listPersistentVolumeClaimForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7085,14 +7645,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PersistentVolumeClaimList result = apiInstance.listPersistentVolumeClaimForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeClaimList result = apiInstance.listPersistentVolumeClaimForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listPersistentVolumeClaimForAllNamespaces"); @@ -7104,8 +7667,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7126,7 +7692,7 @@ Name | Type | Description | Notes # **listPodForAllNamespaces** -> V1PodList listPodForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1PodList listPodForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7150,14 +7716,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PodList result = apiInstance.listPodForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PodList result = apiInstance.listPodForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listPodForAllNamespaces"); @@ -7169,8 +7738,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7191,7 +7763,7 @@ Name | Type | Description | Notes # **listPodTemplateForAllNamespaces** -> V1PodTemplateList listPodTemplateForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1PodTemplateList listPodTemplateForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7215,14 +7787,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1PodTemplateList result = apiInstance.listPodTemplateForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PodTemplateList result = apiInstance.listPodTemplateForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listPodTemplateForAllNamespaces"); @@ -7234,8 +7809,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7256,7 +7834,7 @@ Name | Type | Description | Notes # **listReplicationControllerForAllNamespaces** -> V1ReplicationControllerList listReplicationControllerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ReplicationControllerList listReplicationControllerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7280,14 +7858,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ReplicationControllerList result = apiInstance.listReplicationControllerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ReplicationControllerList result = apiInstance.listReplicationControllerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listReplicationControllerForAllNamespaces"); @@ -7299,8 +7880,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7321,7 +7905,7 @@ Name | Type | Description | Notes # **listResourceQuotaForAllNamespaces** -> V1ResourceQuotaList listResourceQuotaForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ResourceQuotaList listResourceQuotaForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7345,14 +7929,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ResourceQuotaList result = apiInstance.listResourceQuotaForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ResourceQuotaList result = apiInstance.listResourceQuotaForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listResourceQuotaForAllNamespaces"); @@ -7364,8 +7951,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7386,7 +7976,7 @@ Name | Type | Description | Notes # **listSecretForAllNamespaces** -> V1SecretList listSecretForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1SecretList listSecretForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7410,14 +8000,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1SecretList result = apiInstance.listSecretForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1SecretList result = apiInstance.listSecretForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listSecretForAllNamespaces"); @@ -7429,8 +8022,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7451,7 +8047,7 @@ Name | Type | Description | Notes # **listServiceAccountForAllNamespaces** -> V1ServiceAccountList listServiceAccountForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ServiceAccountList listServiceAccountForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7475,14 +8071,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ServiceAccountList result = apiInstance.listServiceAccountForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ServiceAccountList result = apiInstance.listServiceAccountForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listServiceAccountForAllNamespaces"); @@ -7494,8 +8093,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -7516,7 +8118,7 @@ Name | Type | Description | Notes # **listServiceForAllNamespaces** -> V1ServiceList listServiceForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1ServiceList listServiceForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -7540,14 +8142,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1ServiceList result = apiInstance.listServiceForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ServiceList result = apiInstance.listServiceForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling CoreV1Api#listServiceForAllNamespaces"); @@ -7559,8 +8164,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -8307,13 +8915,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedReplicationControllerStatus** -> V1ReplicationController patchNamespacedReplicationControllerStatus(name, namespace, body, pretty) + +# **patchNamespacedReplicationControllerScale** +> V1Scale patchNamespacedReplicationControllerScale(name, namespace, body, pretty) -partially update status of the specified ReplicationController +partially update scale of the specified ReplicationController ### Example ```java @@ -8333,15 +8941,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ReplicationController +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ReplicationController result = apiInstance.patchNamespacedReplicationControllerStatus(name, namespace, body, pretty); + V1Scale result = apiInstance.patchNamespacedReplicationControllerScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#patchNamespacedReplicationControllerStatus"); + System.err.println("Exception when calling CoreV1Api#patchNamespacedReplicationControllerScale"); e.printStackTrace(); } ``` @@ -8350,14 +8958,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicationController | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ReplicationController**](V1ReplicationController.md) +[**V1Scale**](V1Scale.md) ### Authorization @@ -8368,13 +8976,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedResourceQuota** -> V1ResourceQuota patchNamespacedResourceQuota(name, namespace, body, pretty) + +# **patchNamespacedReplicationControllerStatus** +> V1ReplicationController patchNamespacedReplicationControllerStatus(name, namespace, body, pretty) -partially update the specified ResourceQuota +partially update status of the specified ReplicationController ### Example ```java @@ -8394,15 +9002,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ResourceQuota +String name = "name_example"; // String | name of the ReplicationController String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ResourceQuota result = apiInstance.patchNamespacedResourceQuota(name, namespace, body, pretty); + V1ReplicationController result = apiInstance.patchNamespacedReplicationControllerStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#patchNamespacedResourceQuota"); + System.err.println("Exception when calling CoreV1Api#patchNamespacedReplicationControllerStatus"); e.printStackTrace(); } ``` @@ -8411,14 +9019,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ResourceQuota | + **name** | **String**| name of the ReplicationController | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ResourceQuota**](V1ResourceQuota.md) +[**V1ReplicationController**](V1ReplicationController.md) ### Authorization @@ -8429,13 +9037,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedResourceQuotaStatus** -> V1ResourceQuota patchNamespacedResourceQuotaStatus(name, namespace, body, pretty) + +# **patchNamespacedResourceQuota** +> V1ResourceQuota patchNamespacedResourceQuota(name, namespace, body, pretty) -partially update status of the specified ResourceQuota +partially update the specified ResourceQuota ### Example ```java @@ -8460,10 +9068,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ResourceQuota result = apiInstance.patchNamespacedResourceQuotaStatus(name, namespace, body, pretty); + V1ResourceQuota result = apiInstance.patchNamespacedResourceQuota(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#patchNamespacedResourceQuotaStatus"); + System.err.println("Exception when calling CoreV1Api#patchNamespacedResourceQuota"); e.printStackTrace(); } ``` @@ -8490,13 +9098,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedScaleScale** -> V1Scale patchNamespacedScaleScale(name, namespace, body, pretty) + +# **patchNamespacedResourceQuotaStatus** +> V1ResourceQuota patchNamespacedResourceQuotaStatus(name, namespace, body, pretty) -partially update scale of the specified Scale +partially update status of the specified ResourceQuota ### Example ```java @@ -8516,15 +9124,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ResourceQuota String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Scale result = apiInstance.patchNamespacedScaleScale(name, namespace, body, pretty); + V1ResourceQuota result = apiInstance.patchNamespacedResourceQuotaStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#patchNamespacedScaleScale"); + System.err.println("Exception when calling CoreV1Api#patchNamespacedResourceQuotaStatus"); e.printStackTrace(); } ``` @@ -8533,14 +9141,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ResourceQuota | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Scale**](V1Scale.md) +[**V1ResourceQuota**](V1ResourceQuota.md) ### Authorization @@ -12309,13 +12917,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedReplicationControllerStatus** -> V1ReplicationController readNamespacedReplicationControllerStatus(name, namespace, pretty) + +# **readNamespacedReplicationControllerScale** +> V1Scale readNamespacedReplicationControllerScale(name, namespace, pretty) -read status of the specified ReplicationController +read scale of the specified ReplicationController ### Example ```java @@ -12335,14 +12943,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ReplicationController +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ReplicationController result = apiInstance.readNamespacedReplicationControllerStatus(name, namespace, pretty); + V1Scale result = apiInstance.readNamespacedReplicationControllerScale(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#readNamespacedReplicationControllerStatus"); + System.err.println("Exception when calling CoreV1Api#readNamespacedReplicationControllerScale"); e.printStackTrace(); } ``` @@ -12351,13 +12959,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicationController | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ReplicationController**](V1ReplicationController.md) +[**V1Scale**](V1Scale.md) ### Authorization @@ -12368,13 +12976,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedResourceQuota** -> V1ResourceQuota readNamespacedResourceQuota(name, namespace, pretty, exact, export) + +# **readNamespacedReplicationControllerStatus** +> V1ReplicationController readNamespacedReplicationControllerStatus(name, namespace, pretty) -read the specified ResourceQuota +read status of the specified ReplicationController ### Example ```java @@ -12394,16 +13002,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ResourceQuota +String name = "name_example"; // String | name of the ReplicationController String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. -Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. try { - V1ResourceQuota result = apiInstance.readNamespacedResourceQuota(name, namespace, pretty, exact, export); + V1ReplicationController result = apiInstance.readNamespacedReplicationControllerStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#readNamespacedResourceQuota"); + System.err.println("Exception when calling CoreV1Api#readNamespacedReplicationControllerStatus"); e.printStackTrace(); } ``` @@ -12412,15 +13018,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ResourceQuota | + **name** | **String**| name of the ReplicationController | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1ResourceQuota**](V1ResourceQuota.md) +[**V1ReplicationController**](V1ReplicationController.md) ### Authorization @@ -12431,13 +13035,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedResourceQuotaStatus** -> V1ResourceQuota readNamespacedResourceQuotaStatus(name, namespace, pretty) + +# **readNamespacedResourceQuota** +> V1ResourceQuota readNamespacedResourceQuota(name, namespace, pretty, exact, export) -read status of the specified ResourceQuota +read the specified ResourceQuota ### Example ```java @@ -12460,11 +13064,13 @@ CoreV1Api apiInstance = new CoreV1Api(); String name = "name_example"; // String | name of the ResourceQuota String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. try { - V1ResourceQuota result = apiInstance.readNamespacedResourceQuotaStatus(name, namespace, pretty); + V1ResourceQuota result = apiInstance.readNamespacedResourceQuota(name, namespace, pretty, exact, export); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#readNamespacedResourceQuotaStatus"); + System.err.println("Exception when calling CoreV1Api#readNamespacedResourceQuota"); e.printStackTrace(); } ``` @@ -12476,6 +13082,8 @@ Name | Type | Description | Notes **name** | **String**| name of the ResourceQuota | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12490,13 +13098,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedScaleScale** -> V1Scale readNamespacedScaleScale(name, namespace, pretty) + +# **readNamespacedResourceQuotaStatus** +> V1ResourceQuota readNamespacedResourceQuotaStatus(name, namespace, pretty) -read scale of the specified Scale +read status of the specified ResourceQuota ### Example ```java @@ -12516,14 +13124,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ResourceQuota String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Scale result = apiInstance.readNamespacedScaleScale(name, namespace, pretty); + V1ResourceQuota result = apiInstance.readNamespacedResourceQuotaStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#readNamespacedScaleScale"); + System.err.println("Exception when calling CoreV1Api#readNamespacedResourceQuotaStatus"); e.printStackTrace(); } ``` @@ -12532,13 +13140,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ResourceQuota | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Scale**](V1Scale.md) +[**V1ResourceQuota**](V1ResourceQuota.md) ### Authorization @@ -13820,13 +14428,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedReplicationControllerStatus** -> V1ReplicationController replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty) + +# **replaceNamespacedReplicationControllerScale** +> V1Scale replaceNamespacedReplicationControllerScale(name, namespace, body, pretty) -replace status of the specified ReplicationController +replace scale of the specified ReplicationController ### Example ```java @@ -13846,15 +14454,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ReplicationController +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1ReplicationController body = new V1ReplicationController(); // V1ReplicationController | +V1Scale body = new V1Scale(); // V1Scale | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ReplicationController result = apiInstance.replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty); + V1Scale result = apiInstance.replaceNamespacedReplicationControllerScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#replaceNamespacedReplicationControllerStatus"); + System.err.println("Exception when calling CoreV1Api#replaceNamespacedReplicationControllerScale"); e.printStackTrace(); } ``` @@ -13863,14 +14471,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicationController | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1ReplicationController**](V1ReplicationController.md)| | + **body** | [**V1Scale**](V1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ReplicationController**](V1ReplicationController.md) +[**V1Scale**](V1Scale.md) ### Authorization @@ -13881,13 +14489,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedResourceQuota** -> V1ResourceQuota replaceNamespacedResourceQuota(name, namespace, body, pretty) + +# **replaceNamespacedReplicationControllerStatus** +> V1ReplicationController replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty) -replace the specified ResourceQuota +replace status of the specified ReplicationController ### Example ```java @@ -13907,15 +14515,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the ResourceQuota +String name = "name_example"; // String | name of the ReplicationController String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1ResourceQuota body = new V1ResourceQuota(); // V1ResourceQuota | +V1ReplicationController body = new V1ReplicationController(); // V1ReplicationController | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ResourceQuota result = apiInstance.replaceNamespacedResourceQuota(name, namespace, body, pretty); + V1ReplicationController result = apiInstance.replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#replaceNamespacedResourceQuota"); + System.err.println("Exception when calling CoreV1Api#replaceNamespacedReplicationControllerStatus"); e.printStackTrace(); } ``` @@ -13924,14 +14532,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ResourceQuota | + **name** | **String**| name of the ReplicationController | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | + **body** | [**V1ReplicationController**](V1ReplicationController.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ResourceQuota**](V1ResourceQuota.md) +[**V1ReplicationController**](V1ReplicationController.md) ### Authorization @@ -13942,13 +14550,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedResourceQuotaStatus** -> V1ResourceQuota replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty) + +# **replaceNamespacedResourceQuota** +> V1ResourceQuota replaceNamespacedResourceQuota(name, namespace, body, pretty) -replace status of the specified ResourceQuota +replace the specified ResourceQuota ### Example ```java @@ -13973,10 +14581,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, V1ResourceQuota body = new V1ResourceQuota(); // V1ResourceQuota | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1ResourceQuota result = apiInstance.replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty); + V1ResourceQuota result = apiInstance.replaceNamespacedResourceQuota(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#replaceNamespacedResourceQuotaStatus"); + System.err.println("Exception when calling CoreV1Api#replaceNamespacedResourceQuota"); e.printStackTrace(); } ``` @@ -14003,13 +14611,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedScaleScale** -> V1Scale replaceNamespacedScaleScale(name, namespace, body, pretty) + +# **replaceNamespacedResourceQuotaStatus** +> V1ResourceQuota replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty) -replace scale of the specified Scale +replace status of the specified ResourceQuota ### Example ```java @@ -14029,15 +14637,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); CoreV1Api apiInstance = new CoreV1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ResourceQuota String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1Scale body = new V1Scale(); // V1Scale | +V1ResourceQuota body = new V1ResourceQuota(); // V1ResourceQuota | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1Scale result = apiInstance.replaceNamespacedScaleScale(name, namespace, body, pretty); + V1ResourceQuota result = apiInstance.replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling CoreV1Api#replaceNamespacedScaleScale"); + System.err.println("Exception when calling CoreV1Api#replaceNamespacedResourceQuotaStatus"); e.printStackTrace(); } ``` @@ -14046,14 +14654,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ResourceQuota | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1Scale**](V1Scale.md)| | + **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Scale**](V1Scale.md) +[**V1ResourceQuota**](V1ResourceQuota.md) ### Authorization diff --git a/kubernetes/docs/ExtensionsV1beta1Api.md b/kubernetes/docs/ExtensionsV1beta1Api.md index 3bc33361fc..3bd1344b44 100644 --- a/kubernetes/docs/ExtensionsV1beta1Api.md +++ b/kubernetes/docs/ExtensionsV1beta1Api.md @@ -6,26 +6,23 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**createNamespacedDaemonSet**](ExtensionsV1beta1Api.md#createNamespacedDaemonSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | [**createNamespacedDeployment**](ExtensionsV1beta1Api.md#createNamespacedDeployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -[**createNamespacedDeploymentRollbackRollback**](ExtensionsV1beta1Api.md#createNamespacedDeploymentRollbackRollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | +[**createNamespacedDeploymentRollback**](ExtensionsV1beta1Api.md#createNamespacedDeploymentRollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | [**createNamespacedIngress**](ExtensionsV1beta1Api.md#createNamespacedIngress) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | [**createNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#createNamespacedNetworkPolicy) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | [**createNamespacedReplicaSet**](ExtensionsV1beta1Api.md#createNamespacedReplicaSet) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | [**createPodSecurityPolicy**](ExtensionsV1beta1Api.md#createPodSecurityPolicy) | **POST** /apis/extensions/v1beta1/podsecuritypolicies | -[**createThirdPartyResource**](ExtensionsV1beta1Api.md#createThirdPartyResource) | **POST** /apis/extensions/v1beta1/thirdpartyresources | [**deleteCollectionNamespacedDaemonSet**](ExtensionsV1beta1Api.md#deleteCollectionNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | [**deleteCollectionNamespacedDeployment**](ExtensionsV1beta1Api.md#deleteCollectionNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | [**deleteCollectionNamespacedIngress**](ExtensionsV1beta1Api.md#deleteCollectionNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | [**deleteCollectionNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#deleteCollectionNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | [**deleteCollectionNamespacedReplicaSet**](ExtensionsV1beta1Api.md#deleteCollectionNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | [**deleteCollectionPodSecurityPolicy**](ExtensionsV1beta1Api.md#deleteCollectionPodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies | -[**deleteCollectionThirdPartyResource**](ExtensionsV1beta1Api.md#deleteCollectionThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources | [**deleteNamespacedDaemonSet**](ExtensionsV1beta1Api.md#deleteNamespacedDaemonSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | [**deleteNamespacedDeployment**](ExtensionsV1beta1Api.md#deleteNamespacedDeployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | [**deleteNamespacedIngress**](ExtensionsV1beta1Api.md#deleteNamespacedIngress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | [**deleteNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#deleteNamespacedNetworkPolicy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | [**deleteNamespacedReplicaSet**](ExtensionsV1beta1Api.md#deleteNamespacedReplicaSet) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | [**deletePodSecurityPolicy**](ExtensionsV1beta1Api.md#deletePodSecurityPolicy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**deleteThirdPartyResource**](ExtensionsV1beta1Api.md#deleteThirdPartyResource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources/{name} | [**getAPIResources**](ExtensionsV1beta1Api.md#getAPIResources) | **GET** /apis/extensions/v1beta1/ | [**listDaemonSetForAllNamespaces**](ExtensionsV1beta1Api.md#listDaemonSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/daemonsets | [**listDeploymentForAllNamespaces**](ExtensionsV1beta1Api.md#listDeploymentForAllNamespaces) | **GET** /apis/extensions/v1beta1/deployments | @@ -38,49 +35,45 @@ Method | HTTP request | Description [**listNetworkPolicyForAllNamespaces**](ExtensionsV1beta1Api.md#listNetworkPolicyForAllNamespaces) | **GET** /apis/extensions/v1beta1/networkpolicies | [**listPodSecurityPolicy**](ExtensionsV1beta1Api.md#listPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies | [**listReplicaSetForAllNamespaces**](ExtensionsV1beta1Api.md#listReplicaSetForAllNamespaces) | **GET** /apis/extensions/v1beta1/replicasets | -[**listThirdPartyResource**](ExtensionsV1beta1Api.md#listThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources | [**patchNamespacedDaemonSet**](ExtensionsV1beta1Api.md#patchNamespacedDaemonSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | [**patchNamespacedDaemonSetStatus**](ExtensionsV1beta1Api.md#patchNamespacedDaemonSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | [**patchNamespacedDeployment**](ExtensionsV1beta1Api.md#patchNamespacedDeployment) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | +[**patchNamespacedDeploymentScale**](ExtensionsV1beta1Api.md#patchNamespacedDeploymentScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**patchNamespacedDeploymentStatus**](ExtensionsV1beta1Api.md#patchNamespacedDeploymentStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**patchNamespacedDeploymentsScale**](ExtensionsV1beta1Api.md#patchNamespacedDeploymentsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**patchNamespacedIngress**](ExtensionsV1beta1Api.md#patchNamespacedIngress) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | [**patchNamespacedIngressStatus**](ExtensionsV1beta1Api.md#patchNamespacedIngressStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | [**patchNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#patchNamespacedNetworkPolicy) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | [**patchNamespacedReplicaSet**](ExtensionsV1beta1Api.md#patchNamespacedReplicaSet) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | +[**patchNamespacedReplicaSetScale**](ExtensionsV1beta1Api.md#patchNamespacedReplicaSetScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | [**patchNamespacedReplicaSetStatus**](ExtensionsV1beta1Api.md#patchNamespacedReplicaSetStatus) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**patchNamespacedReplicasetsScale**](ExtensionsV1beta1Api.md#patchNamespacedReplicasetsScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**patchNamespacedReplicationcontrollersScale**](ExtensionsV1beta1Api.md#patchNamespacedReplicationcontrollersScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | +[**patchNamespacedReplicationControllerDummyScale**](ExtensionsV1beta1Api.md#patchNamespacedReplicationControllerDummyScale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**patchPodSecurityPolicy**](ExtensionsV1beta1Api.md#patchPodSecurityPolicy) | **PATCH** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**patchThirdPartyResource**](ExtensionsV1beta1Api.md#patchThirdPartyResource) | **PATCH** /apis/extensions/v1beta1/thirdpartyresources/{name} | [**readNamespacedDaemonSet**](ExtensionsV1beta1Api.md#readNamespacedDaemonSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | [**readNamespacedDaemonSetStatus**](ExtensionsV1beta1Api.md#readNamespacedDaemonSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | [**readNamespacedDeployment**](ExtensionsV1beta1Api.md#readNamespacedDeployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | +[**readNamespacedDeploymentScale**](ExtensionsV1beta1Api.md#readNamespacedDeploymentScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**readNamespacedDeploymentStatus**](ExtensionsV1beta1Api.md#readNamespacedDeploymentStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**readNamespacedDeploymentsScale**](ExtensionsV1beta1Api.md#readNamespacedDeploymentsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**readNamespacedIngress**](ExtensionsV1beta1Api.md#readNamespacedIngress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | [**readNamespacedIngressStatus**](ExtensionsV1beta1Api.md#readNamespacedIngressStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | [**readNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#readNamespacedNetworkPolicy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | [**readNamespacedReplicaSet**](ExtensionsV1beta1Api.md#readNamespacedReplicaSet) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | +[**readNamespacedReplicaSetScale**](ExtensionsV1beta1Api.md#readNamespacedReplicaSetScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | [**readNamespacedReplicaSetStatus**](ExtensionsV1beta1Api.md#readNamespacedReplicaSetStatus) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**readNamespacedReplicasetsScale**](ExtensionsV1beta1Api.md#readNamespacedReplicasetsScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**readNamespacedReplicationcontrollersScale**](ExtensionsV1beta1Api.md#readNamespacedReplicationcontrollersScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | +[**readNamespacedReplicationControllerDummyScale**](ExtensionsV1beta1Api.md#readNamespacedReplicationControllerDummyScale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**readPodSecurityPolicy**](ExtensionsV1beta1Api.md#readPodSecurityPolicy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**readThirdPartyResource**](ExtensionsV1beta1Api.md#readThirdPartyResource) | **GET** /apis/extensions/v1beta1/thirdpartyresources/{name} | [**replaceNamespacedDaemonSet**](ExtensionsV1beta1Api.md#replaceNamespacedDaemonSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | [**replaceNamespacedDaemonSetStatus**](ExtensionsV1beta1Api.md#replaceNamespacedDaemonSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | [**replaceNamespacedDeployment**](ExtensionsV1beta1Api.md#replaceNamespacedDeployment) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | +[**replaceNamespacedDeploymentScale**](ExtensionsV1beta1Api.md#replaceNamespacedDeploymentScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**replaceNamespacedDeploymentStatus**](ExtensionsV1beta1Api.md#replaceNamespacedDeploymentStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**replaceNamespacedDeploymentsScale**](ExtensionsV1beta1Api.md#replaceNamespacedDeploymentsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | [**replaceNamespacedIngress**](ExtensionsV1beta1Api.md#replaceNamespacedIngress) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | [**replaceNamespacedIngressStatus**](ExtensionsV1beta1Api.md#replaceNamespacedIngressStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | [**replaceNamespacedNetworkPolicy**](ExtensionsV1beta1Api.md#replaceNamespacedNetworkPolicy) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | [**replaceNamespacedReplicaSet**](ExtensionsV1beta1Api.md#replaceNamespacedReplicaSet) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | +[**replaceNamespacedReplicaSetScale**](ExtensionsV1beta1Api.md#replaceNamespacedReplicaSetScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | [**replaceNamespacedReplicaSetStatus**](ExtensionsV1beta1Api.md#replaceNamespacedReplicaSetStatus) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**replaceNamespacedReplicasetsScale**](ExtensionsV1beta1Api.md#replaceNamespacedReplicasetsScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**replaceNamespacedReplicationcontrollersScale**](ExtensionsV1beta1Api.md#replaceNamespacedReplicationcontrollersScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | +[**replaceNamespacedReplicationControllerDummyScale**](ExtensionsV1beta1Api.md#replaceNamespacedReplicationControllerDummyScale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | [**replacePodSecurityPolicy**](ExtensionsV1beta1Api.md#replacePodSecurityPolicy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**replaceThirdPartyResource**](ExtensionsV1beta1Api.md#replaceThirdPartyResource) | **PUT** /apis/extensions/v1beta1/thirdpartyresources/{name} | @@ -201,13 +194,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **createNamespacedDeploymentRollbackRollback** -> ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty) + +# **createNamespacedDeploymentRollback** +> ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollback(name, namespace, body, pretty) -create rollback of a DeploymentRollback +create rollback of a Deployment ### Example ```java @@ -232,10 +225,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, ExtensionsV1beta1DeploymentRollback body = new ExtensionsV1beta1DeploymentRollback(); // ExtensionsV1beta1DeploymentRollback | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1DeploymentRollback result = apiInstance.createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty); + ExtensionsV1beta1DeploymentRollback result = apiInstance.createNamespacedDeploymentRollback(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#createNamespacedDeploymentRollbackRollback"); + System.err.println("Exception when calling ExtensionsV1beta1Api#createNamespacedDeploymentRollback"); e.printStackTrace(); } ``` @@ -491,63 +484,6 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **createThirdPartyResource** -> V1beta1ThirdPartyResource createThirdPartyResource(body, pretty) - - - -create a ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -V1beta1ThirdPartyResource body = new V1beta1ThirdPartyResource(); // V1beta1ThirdPartyResource | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -try { - V1beta1ThirdPartyResource result = apiInstance.createThirdPartyResource(body, pretty); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#createThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - ### HTTP request headers - **Content-Type**: */* @@ -555,7 +491,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedDaemonSet** -> V1Status deleteCollectionNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -581,13 +517,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionNamespacedDaemonSet"); @@ -601,8 +540,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -622,7 +564,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedDeployment** -> V1Status deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -648,13 +590,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionNamespacedDeployment"); @@ -668,8 +613,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -689,7 +637,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedIngress** -> V1Status deleteCollectionNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -715,13 +663,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionNamespacedIngress"); @@ -735,8 +686,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -756,7 +710,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedNetworkPolicy** -> V1Status deleteCollectionNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -782,13 +736,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionNamespacedNetworkPolicy"); @@ -802,8 +759,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -823,7 +783,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedReplicaSet** -> V1Status deleteCollectionNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -849,13 +809,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionNamespacedReplicaSet"); @@ -869,8 +832,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -890,7 +856,7 @@ Name | Type | Description | Notes # **deleteCollectionPodSecurityPolicy** -> V1Status deleteCollectionPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -915,13 +881,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionPodSecurityPolicy"); @@ -934,73 +903,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteCollectionThirdPartyResource** -> V1Status deleteCollectionThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -delete collection of ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V1Status result = apiInstance.deleteCollectionThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#deleteCollectionThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1413,71 +1320,6 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **deleteThirdPartyResource** -> V1Status deleteThirdPartyResource(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) - - - -delete a ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ThirdPartyResource -V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. -Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. -String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -try { - V1Status result = apiInstance.deleteThirdPartyResource(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#deleteThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ThirdPartyResource | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] - **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - ### HTTP request headers - **Content-Type**: */* @@ -1536,7 +1378,7 @@ This endpoint does not need any parameter. # **listDaemonSetForAllNamespaces** -> V1beta1DaemonSetList listDaemonSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1DaemonSetList listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1560,14 +1402,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1DaemonSetList result = apiInstance.listDaemonSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1DaemonSetList result = apiInstance.listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listDaemonSetForAllNamespaces"); @@ -1579,8 +1424,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -1601,7 +1449,7 @@ Name | Type | Description | Notes # **listDeploymentForAllNamespaces** -> ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1625,14 +1473,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - ExtensionsV1beta1DeploymentList result = apiInstance.listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + ExtensionsV1beta1DeploymentList result = apiInstance.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listDeploymentForAllNamespaces"); @@ -1644,8 +1495,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -1666,7 +1520,7 @@ Name | Type | Description | Notes # **listIngressForAllNamespaces** -> V1beta1IngressList listIngressForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1IngressList listIngressForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1690,14 +1544,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1IngressList result = apiInstance.listIngressForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1IngressList result = apiInstance.listIngressForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listIngressForAllNamespaces"); @@ -1709,8 +1566,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -1731,7 +1591,7 @@ Name | Type | Description | Notes # **listNamespacedDaemonSet** -> V1beta1DaemonSetList listNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1DaemonSetList listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1757,13 +1617,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1DaemonSetList result = apiInstance.listNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1DaemonSetList result = apiInstance.listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNamespacedDaemonSet"); @@ -1777,8 +1640,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1798,7 +1664,7 @@ Name | Type | Description | Notes # **listNamespacedDeployment** -> ExtensionsV1beta1DeploymentList listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> ExtensionsV1beta1DeploymentList listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1824,13 +1690,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - ExtensionsV1beta1DeploymentList result = apiInstance.listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + ExtensionsV1beta1DeploymentList result = apiInstance.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNamespacedDeployment"); @@ -1844,8 +1713,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1865,7 +1737,7 @@ Name | Type | Description | Notes # **listNamespacedIngress** -> V1beta1IngressList listNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1IngressList listNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1891,13 +1763,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1IngressList result = apiInstance.listNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1IngressList result = apiInstance.listNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNamespacedIngress"); @@ -1911,8 +1786,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1932,7 +1810,7 @@ Name | Type | Description | Notes # **listNamespacedNetworkPolicy** -> V1beta1NetworkPolicyList listNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1NetworkPolicyList listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1958,13 +1836,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1NetworkPolicyList result = apiInstance.listNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1NetworkPolicyList result = apiInstance.listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNamespacedNetworkPolicy"); @@ -1978,8 +1859,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1999,7 +1883,7 @@ Name | Type | Description | Notes # **listNamespacedReplicaSet** -> V1beta1ReplicaSetList listNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1ReplicaSetList listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -2025,13 +1909,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ReplicaSetList result = apiInstance.listNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ReplicaSetList result = apiInstance.listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNamespacedReplicaSet"); @@ -2045,8 +1932,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -2066,7 +1956,7 @@ Name | Type | Description | Notes # **listNetworkPolicyForAllNamespaces** -> V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -2090,14 +1980,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1NetworkPolicyList result = apiInstance.listNetworkPolicyForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1NetworkPolicyList result = apiInstance.listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listNetworkPolicyForAllNamespaces"); @@ -2109,8 +2002,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -2131,7 +2027,7 @@ Name | Type | Description | Notes # **listPodSecurityPolicy** -> V1beta1PodSecurityPolicyList listPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1PodSecurityPolicyList listPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -2156,13 +2052,16 @@ BearerToken.setApiKey("YOUR API KEY"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1PodSecurityPolicyList result = apiInstance.listPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1PodSecurityPolicyList result = apiInstance.listPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listPodSecurityPolicy"); @@ -2175,8 +2074,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -2196,7 +2098,7 @@ Name | Type | Description | Notes # **listReplicaSetForAllNamespaces** -> V1beta1ReplicaSetList listReplicaSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1ReplicaSetList listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -2220,14 +2122,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ReplicaSetList result = apiInstance.listReplicaSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1ReplicaSetList result = apiInstance.listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ExtensionsV1beta1Api#listReplicaSetForAllNamespaces"); @@ -2239,8 +2144,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -2254,71 +2162,6 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -# **listThirdPartyResource** -> V1beta1ThirdPartyResourceList listThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) - - - -list or watch objects of kind ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. -String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. -String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. -Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. -Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -try { - V1beta1ThirdPartyResourceList result = apiInstance.listThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#listThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1ThirdPartyResourceList**](V1beta1ThirdPartyResourceList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - ### HTTP request headers - **Content-Type**: */* @@ -2507,13 +2350,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedDeploymentStatus** -> ExtensionsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, pretty) + +# **patchNamespacedDeploymentScale** +> ExtensionsV1beta1Scale patchNamespacedDeploymentScale(name, namespace, body, pretty) -partially update status of the specified Deployment +partially update scale of the specified Deployment ### Example ```java @@ -2533,15 +2376,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Deployment result = apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.patchNamespacedDeploymentScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedDeploymentStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -2550,14 +2393,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -2568,13 +2411,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedDeploymentsScale** -> ExtensionsV1beta1Scale patchNamespacedDeploymentsScale(name, namespace, body, pretty) + +# **patchNamespacedDeploymentStatus** +> ExtensionsV1beta1Deployment patchNamespacedDeploymentStatus(name, namespace, body, pretty) -partially update scale of the specified Scale +partially update status of the specified Deployment ### Example ```java @@ -2594,15 +2437,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.patchNamespacedDeploymentsScale(name, namespace, body, pretty); + ExtensionsV1beta1Deployment result = apiInstance.patchNamespacedDeploymentStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedDeploymentsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedDeploymentStatus"); e.printStackTrace(); } ``` @@ -2611,14 +2454,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) ### Authorization @@ -2873,13 +2716,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedReplicaSetStatus** -> V1beta1ReplicaSet patchNamespacedReplicaSetStatus(name, namespace, body, pretty) + +# **patchNamespacedReplicaSetScale** +> ExtensionsV1beta1Scale patchNamespacedReplicaSetScale(name, namespace, body, pretty) -partially update status of the specified ReplicaSet +partially update scale of the specified ReplicaSet ### Example ```java @@ -2899,15 +2742,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ReplicaSet +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1beta1ReplicaSet result = apiInstance.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.patchNamespacedReplicaSetScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicaSetStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicaSetScale"); e.printStackTrace(); } ``` @@ -2916,14 +2759,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicaSet | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -2934,13 +2777,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedReplicasetsScale** -> ExtensionsV1beta1Scale patchNamespacedReplicasetsScale(name, namespace, body, pretty) + +# **patchNamespacedReplicaSetStatus** +> V1beta1ReplicaSet patchNamespacedReplicaSetStatus(name, namespace, body, pretty) -partially update scale of the specified Scale +partially update status of the specified ReplicaSet ### Example ```java @@ -2960,15 +2803,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ReplicaSet String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.patchNamespacedReplicasetsScale(name, namespace, body, pretty); + V1beta1ReplicaSet result = apiInstance.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicasetsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicaSetStatus"); e.printStackTrace(); } ``` @@ -2977,14 +2820,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ReplicaSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) ### Authorization @@ -2995,13 +2838,13 @@ Name | Type | Description | Notes - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **patchNamespacedReplicationcontrollersScale** -> ExtensionsV1beta1Scale patchNamespacedReplicationcontrollersScale(name, namespace, body, pretty) + +# **patchNamespacedReplicationControllerDummyScale** +> ExtensionsV1beta1Scale patchNamespacedReplicationControllerDummyScale(name, namespace, body, pretty) -partially update scale of the specified Scale +partially update scale of the specified ReplicationControllerDummy ### Example ```java @@ -3026,10 +2869,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, Object body = null; // Object | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.patchNamespacedReplicationcontrollersScale(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.patchNamespacedReplicationControllerDummyScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicationcontrollersScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#patchNamespacedReplicationControllerDummyScale"); e.printStackTrace(); } ``` @@ -3110,65 +2953,6 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **patchThirdPartyResource** -> V1beta1ThirdPartyResource patchThirdPartyResource(name, body, pretty) - - - -partially update the specified ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ThirdPartyResource -Object body = null; // Object | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -try { - V1beta1ThirdPartyResource result = apiInstance.patchThirdPartyResource(name, body, pretty); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#patchThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ThirdPartyResource | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - ### HTTP request headers - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json @@ -3359,13 +3143,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedDeploymentStatus** -> ExtensionsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, pretty) + +# **readNamespacedDeploymentScale** +> ExtensionsV1beta1Scale readNamespacedDeploymentScale(name, namespace, pretty) -read status of the specified Deployment +read scale of the specified Deployment ### Example ```java @@ -3385,14 +3169,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Deployment result = apiInstance.readNamespacedDeploymentStatus(name, namespace, pretty); + ExtensionsV1beta1Scale result = apiInstance.readNamespacedDeploymentScale(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedDeploymentStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -3401,13 +3185,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -3418,13 +3202,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedDeploymentsScale** -> ExtensionsV1beta1Scale readNamespacedDeploymentsScale(name, namespace, pretty) + +# **readNamespacedDeploymentStatus** +> ExtensionsV1beta1Deployment readNamespacedDeploymentStatus(name, namespace, pretty) -read scale of the specified Scale +read status of the specified Deployment ### Example ```java @@ -3444,14 +3228,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.readNamespacedDeploymentsScale(name, namespace, pretty); + ExtensionsV1beta1Deployment result = apiInstance.readNamespacedDeploymentStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedDeploymentsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedDeploymentStatus"); e.printStackTrace(); } ``` @@ -3460,13 +3244,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) ### Authorization @@ -3725,13 +3509,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedReplicaSetStatus** -> V1beta1ReplicaSet readNamespacedReplicaSetStatus(name, namespace, pretty) + +# **readNamespacedReplicaSetScale** +> ExtensionsV1beta1Scale readNamespacedReplicaSetScale(name, namespace, pretty) -read status of the specified ReplicaSet +read scale of the specified ReplicaSet ### Example ```java @@ -3751,14 +3535,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ReplicaSet +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1beta1ReplicaSet result = apiInstance.readNamespacedReplicaSetStatus(name, namespace, pretty); + ExtensionsV1beta1Scale result = apiInstance.readNamespacedReplicaSetScale(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicaSetStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicaSetScale"); e.printStackTrace(); } ``` @@ -3767,13 +3551,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicaSet | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -3784,13 +3568,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedReplicasetsScale** -> ExtensionsV1beta1Scale readNamespacedReplicasetsScale(name, namespace, pretty) + +# **readNamespacedReplicaSetStatus** +> V1beta1ReplicaSet readNamespacedReplicaSetStatus(name, namespace, pretty) -read scale of the specified Scale +read status of the specified ReplicaSet ### Example ```java @@ -3810,14 +3594,14 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ReplicaSet String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.readNamespacedReplicasetsScale(name, namespace, pretty); + V1beta1ReplicaSet result = apiInstance.readNamespacedReplicaSetStatus(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicasetsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicaSetStatus"); e.printStackTrace(); } ``` @@ -3826,13 +3610,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ReplicaSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) ### Authorization @@ -3843,13 +3627,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **readNamespacedReplicationcontrollersScale** -> ExtensionsV1beta1Scale readNamespacedReplicationcontrollersScale(name, namespace, pretty) + +# **readNamespacedReplicationControllerDummyScale** +> ExtensionsV1beta1Scale readNamespacedReplicationControllerDummyScale(name, namespace, pretty) -read scale of the specified Scale +read scale of the specified ReplicationControllerDummy ### Example ```java @@ -3873,10 +3657,10 @@ String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.readNamespacedReplicationcontrollersScale(name, namespace, pretty); + ExtensionsV1beta1Scale result = apiInstance.readNamespacedReplicationControllerDummyScale(name, namespace, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicationcontrollersScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#readNamespacedReplicationControllerDummyScale"); e.printStackTrace(); } ``` @@ -3958,67 +3742,6 @@ Name | Type | Description | Notes [BearerToken](../README.md#BearerToken) -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -# **readThirdPartyResource** -> V1beta1ThirdPartyResource readThirdPartyResource(name, pretty, exact, export) - - - -read the specified ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ThirdPartyResource -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. -Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. -try { - V1beta1ThirdPartyResource result = apiInstance.readThirdPartyResource(name, pretty, exact, export); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#readThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ThirdPartyResource | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - ### HTTP request headers - **Content-Type**: */* @@ -4207,13 +3930,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedDeploymentStatus** -> ExtensionsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, pretty) + +# **replaceNamespacedDeploymentScale** +> ExtensionsV1beta1Scale replaceNamespacedDeploymentScale(name, namespace, body, pretty) -replace status of the specified Deployment +replace scale of the specified Deployment ### Example ```java @@ -4233,15 +3956,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Deployment +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -ExtensionsV1beta1Deployment body = new ExtensionsV1beta1Deployment(); // ExtensionsV1beta1Deployment | +ExtensionsV1beta1Scale body = new ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Deployment result = apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedDeploymentScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedDeploymentStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedDeploymentScale"); e.printStackTrace(); } ``` @@ -4250,14 +3973,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Deployment | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| | + **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -4268,13 +3991,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedDeploymentsScale** -> ExtensionsV1beta1Scale replaceNamespacedDeploymentsScale(name, namespace, body, pretty) + +# **replaceNamespacedDeploymentStatus** +> ExtensionsV1beta1Deployment replaceNamespacedDeploymentStatus(name, namespace, body, pretty) -replace scale of the specified Scale +replace status of the specified Deployment ### Example ```java @@ -4294,15 +4017,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the Deployment String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -ExtensionsV1beta1Scale body = new ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale | +ExtensionsV1beta1Deployment body = new ExtensionsV1beta1Deployment(); // ExtensionsV1beta1Deployment | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedDeploymentsScale(name, namespace, body, pretty); + ExtensionsV1beta1Deployment result = apiInstance.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedDeploymentsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedDeploymentStatus"); e.printStackTrace(); } ``` @@ -4311,14 +4034,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | + **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md) ### Authorization @@ -4573,13 +4296,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedReplicaSetStatus** -> V1beta1ReplicaSet replaceNamespacedReplicaSetStatus(name, namespace, body, pretty) + +# **replaceNamespacedReplicaSetScale** +> ExtensionsV1beta1Scale replaceNamespacedReplicaSetScale(name, namespace, body, pretty) -replace status of the specified ReplicaSet +replace scale of the specified ReplicaSet ### Example ```java @@ -4599,15 +4322,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ReplicaSet +String name = "name_example"; // String | name of the Scale String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -V1beta1ReplicaSet body = new V1beta1ReplicaSet(); // V1beta1ReplicaSet | +ExtensionsV1beta1Scale body = new ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - V1beta1ReplicaSet result = apiInstance.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedReplicaSetScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicaSetStatus"); + System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicaSetScale"); e.printStackTrace(); } ``` @@ -4616,14 +4339,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ReplicaSet | + **name** | **String**| name of the Scale | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | + **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization @@ -4634,13 +4357,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedReplicasetsScale** -> ExtensionsV1beta1Scale replaceNamespacedReplicasetsScale(name, namespace, body, pretty) + +# **replaceNamespacedReplicaSetStatus** +> V1beta1ReplicaSet replaceNamespacedReplicaSetStatus(name, namespace, body, pretty) -replace scale of the specified Scale +replace status of the specified ReplicaSet ### Example ```java @@ -4660,15 +4383,15 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the Scale +String name = "name_example"; // String | name of the ReplicaSet String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects -ExtensionsV1beta1Scale body = new ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale | +V1beta1ReplicaSet body = new V1beta1ReplicaSet(); // V1beta1ReplicaSet | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedReplicasetsScale(name, namespace, body, pretty); + V1beta1ReplicaSet result = apiInstance.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicasetsScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicaSetStatus"); e.printStackTrace(); } ``` @@ -4677,14 +4400,14 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Scale | + **name** | **String**| name of the ReplicaSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | + **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) +[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) ### Authorization @@ -4695,13 +4418,13 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceNamespacedReplicationcontrollersScale** -> ExtensionsV1beta1Scale replaceNamespacedReplicationcontrollersScale(name, namespace, body, pretty) + +# **replaceNamespacedReplicationControllerDummyScale** +> ExtensionsV1beta1Scale replaceNamespacedReplicationControllerDummyScale(name, namespace, body, pretty) -replace scale of the specified Scale +replace scale of the specified ReplicationControllerDummy ### Example ```java @@ -4726,10 +4449,10 @@ String namespace = "namespace_example"; // String | object name and auth scope, ExtensionsV1beta1Scale body = new ExtensionsV1beta1Scale(); // ExtensionsV1beta1Scale | String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. try { - ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedReplicationcontrollersScale(name, namespace, body, pretty); + ExtensionsV1beta1Scale result = apiInstance.replaceNamespacedReplicationControllerDummyScale(name, namespace, body, pretty); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicationcontrollersScale"); + System.err.println("Exception when calling ExtensionsV1beta1Api#replaceNamespacedReplicationControllerDummyScale"); e.printStackTrace(); } ``` @@ -4815,62 +4538,3 @@ Name | Type | Description | Notes - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -# **replaceThirdPartyResource** -> V1beta1ThirdPartyResource replaceThirdPartyResource(name, body, pretty) - - - -replace the specified ThirdPartyResource - -### Example -```java -// Import classes: -//import io.kubernetes.client.ApiClient; -//import io.kubernetes.client.ApiException; -//import io.kubernetes.client.Configuration; -//import io.kubernetes.client.auth.*; -//import io.kubernetes.client.apis.ExtensionsV1beta1Api; - -ApiClient defaultClient = Configuration.getDefaultApiClient(); - -// Configure API key authorization: BearerToken -ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); -BearerToken.setApiKey("YOUR API KEY"); -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//BearerToken.setApiKeyPrefix("Token"); - -ExtensionsV1beta1Api apiInstance = new ExtensionsV1beta1Api(); -String name = "name_example"; // String | name of the ThirdPartyResource -V1beta1ThirdPartyResource body = new V1beta1ThirdPartyResource(); // V1beta1ThirdPartyResource | -String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. -try { - V1beta1ThirdPartyResource result = apiInstance.replaceThirdPartyResource(name, body, pretty); - System.out.println(result); -} catch (ApiException e) { - System.err.println("Exception when calling ExtensionsV1beta1Api#replaceThirdPartyResource"); - e.printStackTrace(); -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ThirdPartyResource | - **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - diff --git a/kubernetes/docs/ExtensionsV1beta1Deployment.md b/kubernetes/docs/ExtensionsV1beta1Deployment.md index 934110dab6..2902cf25e8 100644 --- a/kubernetes/docs/ExtensionsV1beta1Deployment.md +++ b/kubernetes/docs/ExtensionsV1beta1Deployment.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] **spec** | [**ExtensionsV1beta1DeploymentSpec**](ExtensionsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional] **status** | [**ExtensionsV1beta1DeploymentStatus**](ExtensionsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentList.md b/kubernetes/docs/ExtensionsV1beta1DeploymentList.md index 74bf833e15..2185202064 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentList.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<ExtensionsV1beta1Deployment>**](ExtensionsV1beta1Deployment.md) | Items is the list of Deployments. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md b/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md index 5f2718499c..07052cedcc 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentRollback.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **String** | Required: This must match the Name of a deployment. | **rollbackTo** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | The config of this deployment rollback. | **updatedAnnotations** | **Map<String, String>** | The annotations to be updated to a deployment | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md index 9924027771..586ee9cd36 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md @@ -6,10 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] **paused** | **Boolean** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional] -**progressDeadlineSeconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional] +**progressDeadlineSeconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional] **replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] **revisionHistoryLimit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional] -**rollbackTo** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] +**rollbackTo** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] **strategy** | [**ExtensionsV1beta1DeploymentStrategy**](ExtensionsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md b/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md index 872cc88f2d..50ddaefc79 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentStatus.md @@ -5,11 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **availableReplicas** | **Integer** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional] +**collisionCount** | **Integer** | Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. | [optional] **conditions** | [**List<ExtensionsV1beta1DeploymentCondition>**](ExtensionsV1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional] **observedGeneration** | **Long** | The generation observed by the deployment controller. | [optional] **readyReplicas** | **Integer** | Total number of ready pods targeted by this deployment. | [optional] **replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional] -**unavailableReplicas** | **Integer** | Total number of unavailable pods targeted by this deployment. | [optional] +**unavailableReplicas** | **Integer** | Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. | [optional] **updatedReplicas** | **Integer** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md b/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md index aa85ffc7bc..a3137dba92 100644 --- a/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md +++ b/kubernetes/docs/ExtensionsV1beta1RollbackConfig.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**revision** | **Long** | The revision to rollback to. If set to 0, rollbck to the last revision. | [optional] +**revision** | **Long** | The revision to rollback to. If set to 0, rollback to the last revision. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1Scale.md b/kubernetes/docs/ExtensionsV1beta1Scale.md index a68d69a886..d997c45904 100644 --- a/kubernetes/docs/ExtensionsV1beta1Scale.md +++ b/kubernetes/docs/ExtensionsV1beta1Scale.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional] -**spec** | [**ExtensionsV1beta1ScaleSpec**](ExtensionsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] -**status** | [**ExtensionsV1beta1ScaleStatus**](ExtensionsV1beta1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**spec** | [**ExtensionsV1beta1ScaleSpec**](ExtensionsV1beta1ScaleSpec.md) | defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**ExtensionsV1beta1ScaleStatus**](ExtensionsV1beta1ScaleStatus.md) | current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md b/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md index 22018b7135..e953b9aeb7 100644 --- a/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md +++ b/kubernetes/docs/ExtensionsV1beta1ScaleStatus.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **replicas** | **Integer** | actual number of observed instances of the scaled object. | **selector** | **Map<String, String>** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] +**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] diff --git a/kubernetes/docs/NetworkingApi.md b/kubernetes/docs/NetworkingApi.md new file mode 100644 index 0000000000..a5c17e3cab --- /dev/null +++ b/kubernetes/docs/NetworkingApi.md @@ -0,0 +1,60 @@ +# NetworkingApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**getAPIGroup**](NetworkingApi.md#getAPIGroup) | **GET** /apis/networking.k8s.io/ | + + + +# **getAPIGroup** +> V1APIGroup getAPIGroup() + + + +get information of a group + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingApi; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingApi apiInstance = new NetworkingApi(); +try { + V1APIGroup result = apiInstance.getAPIGroup(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingApi#getAPIGroup"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md new file mode 100644 index 0000000000..7e67625a79 --- /dev/null +++ b/kubernetes/docs/NetworkingV1Api.md @@ -0,0 +1,596 @@ +# NetworkingV1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createNamespacedNetworkPolicy**](NetworkingV1Api.md#createNamespacedNetworkPolicy) | **POST** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +[**deleteCollectionNamespacedNetworkPolicy**](NetworkingV1Api.md#deleteCollectionNamespacedNetworkPolicy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +[**deleteNamespacedNetworkPolicy**](NetworkingV1Api.md#deleteNamespacedNetworkPolicy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +[**getAPIResources**](NetworkingV1Api.md#getAPIResources) | **GET** /apis/networking.k8s.io/v1/ | +[**listNamespacedNetworkPolicy**](NetworkingV1Api.md#listNamespacedNetworkPolicy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +[**listNetworkPolicyForAllNamespaces**](NetworkingV1Api.md#listNetworkPolicyForAllNamespaces) | **GET** /apis/networking.k8s.io/v1/networkpolicies | +[**patchNamespacedNetworkPolicy**](NetworkingV1Api.md#patchNamespacedNetworkPolicy) | **PATCH** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +[**readNamespacedNetworkPolicy**](NetworkingV1Api.md#readNamespacedNetworkPolicy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +[**replaceNamespacedNetworkPolicy**](NetworkingV1Api.md#replaceNamespacedNetworkPolicy) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | + + + +# **createNamespacedNetworkPolicy** +> V1NetworkPolicy createNamespacedNetworkPolicy(namespace, body, pretty) + + + +create a NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1NetworkPolicy body = new V1NetworkPolicy(); // V1NetworkPolicy | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1NetworkPolicy result = apiInstance.createNamespacedNetworkPolicy(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#createNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1NetworkPolicy**](V1NetworkPolicy.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1NetworkPolicy**](V1NetworkPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedNetworkPolicy** +> V1Status deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#deleteCollectionNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedNetworkPolicy** +> V1Status deleteNamespacedNetworkPolicy(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String name = "name_example"; // String | name of the NetworkPolicy +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedNetworkPolicy(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#deleteNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the NetworkPolicy | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listNamespacedNetworkPolicy** +> V1NetworkPolicyList listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1NetworkPolicyList result = apiInstance.listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#listNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1NetworkPolicyList**](V1NetworkPolicyList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNetworkPolicyForAllNamespaces** +> V1NetworkPolicyList listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1NetworkPolicyList result = apiInstance.listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#listNetworkPolicyForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1NetworkPolicyList**](V1NetworkPolicyList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchNamespacedNetworkPolicy** +> V1NetworkPolicy patchNamespacedNetworkPolicy(name, namespace, body, pretty) + + + +partially update the specified NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String name = "name_example"; // String | name of the NetworkPolicy +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1NetworkPolicy result = apiInstance.patchNamespacedNetworkPolicy(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#patchNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the NetworkPolicy | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1NetworkPolicy**](V1NetworkPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedNetworkPolicy** +> V1NetworkPolicy readNamespacedNetworkPolicy(name, namespace, pretty, exact, export) + + + +read the specified NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String name = "name_example"; // String | name of the NetworkPolicy +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1NetworkPolicy result = apiInstance.readNamespacedNetworkPolicy(name, namespace, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#readNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the NetworkPolicy | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1NetworkPolicy**](V1NetworkPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedNetworkPolicy** +> V1NetworkPolicy replaceNamespacedNetworkPolicy(name, namespace, body, pretty) + + + +replace the specified NetworkPolicy + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.NetworkingV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +NetworkingV1Api apiInstance = new NetworkingV1Api(); +String name = "name_example"; // String | name of the NetworkPolicy +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1NetworkPolicy body = new V1NetworkPolicy(); // V1NetworkPolicy | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1NetworkPolicy result = apiInstance.replaceNamespacedNetworkPolicy(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling NetworkingV1Api#replaceNamespacedNetworkPolicy"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the NetworkPolicy | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1NetworkPolicy**](V1NetworkPolicy.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1NetworkPolicy**](V1NetworkPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/PolicyV1beta1Api.md b/kubernetes/docs/PolicyV1beta1Api.md index 0c640c5f2d..1cd474c48c 100644 --- a/kubernetes/docs/PolicyV1beta1Api.md +++ b/kubernetes/docs/PolicyV1beta1Api.md @@ -79,7 +79,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedPodDisruptionBudget** -> V1Status deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -105,13 +105,16 @@ BearerToken.setApiKey("YOUR API KEY"); PolicyV1beta1Api apiInstance = new PolicyV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PolicyV1beta1Api#deleteCollectionNamespacedPodDisruptionBudget"); @@ -125,8 +128,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -264,7 +270,7 @@ This endpoint does not need any parameter. # **listNamespacedPodDisruptionBudget** -> V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -290,13 +296,16 @@ BearerToken.setApiKey("YOUR API KEY"); PolicyV1beta1Api apiInstance = new PolicyV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1PodDisruptionBudgetList result = apiInstance.listNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1PodDisruptionBudgetList result = apiInstance.listNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PolicyV1beta1Api#listNamespacedPodDisruptionBudget"); @@ -310,8 +319,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -331,7 +343,7 @@ Name | Type | Description | Notes # **listPodDisruptionBudgetForAllNamespaces** -> V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -355,14 +367,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); PolicyV1beta1Api apiInstance = new PolicyV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1PodDisruptionBudgetList result = apiInstance.listPodDisruptionBudgetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1PodDisruptionBudgetList result = apiInstance.listPodDisruptionBudgetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PolicyV1beta1Api#listPodDisruptionBudgetForAllNamespaces"); @@ -374,8 +389,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md new file mode 100644 index 0000000000..bdc548f75b --- /dev/null +++ b/kubernetes/docs/RbacAuthorizationV1Api.md @@ -0,0 +1,2016 @@ +# RbacAuthorizationV1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createClusterRole**](RbacAuthorizationV1Api.md#createClusterRole) | **POST** /apis/rbac.authorization.k8s.io/v1/clusterroles | +[**createClusterRoleBinding**](RbacAuthorizationV1Api.md#createClusterRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings | +[**createNamespacedRole**](RbacAuthorizationV1Api.md#createNamespacedRole) | **POST** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles | +[**createNamespacedRoleBinding**](RbacAuthorizationV1Api.md#createNamespacedRoleBinding) | **POST** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings | +[**deleteClusterRole**](RbacAuthorizationV1Api.md#deleteClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1/clusterroles/{name} | +[**deleteClusterRoleBinding**](RbacAuthorizationV1Api.md#deleteClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name} | +[**deleteCollectionClusterRole**](RbacAuthorizationV1Api.md#deleteCollectionClusterRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1/clusterroles | +[**deleteCollectionClusterRoleBinding**](RbacAuthorizationV1Api.md#deleteCollectionClusterRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings | +[**deleteCollectionNamespacedRole**](RbacAuthorizationV1Api.md#deleteCollectionNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles | +[**deleteCollectionNamespacedRoleBinding**](RbacAuthorizationV1Api.md#deleteCollectionNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings | +[**deleteNamespacedRole**](RbacAuthorizationV1Api.md#deleteNamespacedRole) | **DELETE** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | +[**deleteNamespacedRoleBinding**](RbacAuthorizationV1Api.md#deleteNamespacedRoleBinding) | **DELETE** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**getAPIResources**](RbacAuthorizationV1Api.md#getAPIResources) | **GET** /apis/rbac.authorization.k8s.io/v1/ | +[**listClusterRole**](RbacAuthorizationV1Api.md#listClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1/clusterroles | +[**listClusterRoleBinding**](RbacAuthorizationV1Api.md#listClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings | +[**listNamespacedRole**](RbacAuthorizationV1Api.md#listNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles | +[**listNamespacedRoleBinding**](RbacAuthorizationV1Api.md#listNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings | +[**listRoleBindingForAllNamespaces**](RbacAuthorizationV1Api.md#listRoleBindingForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1/rolebindings | +[**listRoleForAllNamespaces**](RbacAuthorizationV1Api.md#listRoleForAllNamespaces) | **GET** /apis/rbac.authorization.k8s.io/v1/roles | +[**patchClusterRole**](RbacAuthorizationV1Api.md#patchClusterRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1/clusterroles/{name} | +[**patchClusterRoleBinding**](RbacAuthorizationV1Api.md#patchClusterRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name} | +[**patchNamespacedRole**](RbacAuthorizationV1Api.md#patchNamespacedRole) | **PATCH** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | +[**patchNamespacedRoleBinding**](RbacAuthorizationV1Api.md#patchNamespacedRoleBinding) | **PATCH** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**readClusterRole**](RbacAuthorizationV1Api.md#readClusterRole) | **GET** /apis/rbac.authorization.k8s.io/v1/clusterroles/{name} | +[**readClusterRoleBinding**](RbacAuthorizationV1Api.md#readClusterRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name} | +[**readNamespacedRole**](RbacAuthorizationV1Api.md#readNamespacedRole) | **GET** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | +[**readNamespacedRoleBinding**](RbacAuthorizationV1Api.md#readNamespacedRoleBinding) | **GET** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**replaceClusterRole**](RbacAuthorizationV1Api.md#replaceClusterRole) | **PUT** /apis/rbac.authorization.k8s.io/v1/clusterroles/{name} | +[**replaceClusterRoleBinding**](RbacAuthorizationV1Api.md#replaceClusterRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name} | +[**replaceNamespacedRole**](RbacAuthorizationV1Api.md#replaceNamespacedRole) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | +[**replaceNamespacedRoleBinding**](RbacAuthorizationV1Api.md#replaceNamespacedRoleBinding) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | + + + +# **createClusterRole** +> V1ClusterRole createClusterRole(body, pretty) + + + +create a ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +V1ClusterRole body = new V1ClusterRole(); // V1ClusterRole | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRole result = apiInstance.createClusterRole(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#createClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1ClusterRole**](V1ClusterRole.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRole**](V1ClusterRole.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createClusterRoleBinding** +> V1ClusterRoleBinding createClusterRoleBinding(body, pretty) + + + +create a ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +V1ClusterRoleBinding body = new V1ClusterRoleBinding(); // V1ClusterRoleBinding | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRoleBinding result = apiInstance.createClusterRoleBinding(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#createClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedRole** +> V1Role createNamespacedRole(namespace, body, pretty) + + + +create a Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1Role body = new V1Role(); // V1Role | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1Role result = apiInstance.createNamespacedRole(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#createNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Role**](V1Role.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Role**](V1Role.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **createNamespacedRoleBinding** +> V1RoleBinding createNamespacedRoleBinding(namespace, body, pretty) + + + +create a RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1RoleBinding body = new V1RoleBinding(); // V1RoleBinding | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1RoleBinding result = apiInstance.createNamespacedRoleBinding(namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#createNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1RoleBinding**](V1RoleBinding.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1RoleBinding**](V1RoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteClusterRole** +> V1Status deleteClusterRole(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRole +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteClusterRole(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRole | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteClusterRoleBinding** +> V1Status deleteClusterRoleBinding(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRoleBinding +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteClusterRoleBinding(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRoleBinding | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionClusterRole** +> V1Status deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteCollectionClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionClusterRoleBinding** +> V1Status deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteCollectionClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedRole** +> V1Status deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteCollectionNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionNamespacedRoleBinding** +> V1Status deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteCollectionNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedRole** +> V1Status deleteNamespacedRole(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the Role +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedRole(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Role | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteNamespacedRoleBinding** +> V1Status deleteNamespacedRoleBinding(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the RoleBinding +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deleteNamespacedRoleBinding(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#deleteNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the RoleBinding | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listClusterRole** +> V1ClusterRoleList listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1ClusterRoleList result = apiInstance.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ClusterRoleList**](V1ClusterRoleList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listClusterRoleBinding** +> V1ClusterRoleBindingList listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1ClusterRoleBindingList result = apiInstance.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ClusterRoleBindingList**](V1ClusterRoleBindingList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedRole** +> V1RoleList listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1RoleList result = apiInstance.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1RoleList**](V1RoleList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listNamespacedRoleBinding** +> V1RoleBindingList listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1RoleBindingList result = apiInstance.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1RoleBindingList**](V1RoleBindingList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listRoleBindingForAllNamespaces** +> V1RoleBindingList listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1RoleBindingList result = apiInstance.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listRoleBindingForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1RoleBindingList**](V1RoleBindingList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **listRoleForAllNamespaces** +> V1RoleList listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1RoleList result = apiInstance.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#listRoleForAllNamespaces"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1RoleList**](V1RoleList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchClusterRole** +> V1ClusterRole patchClusterRole(name, body, pretty) + + + +partially update the specified ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRole +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRole result = apiInstance.patchClusterRole(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#patchClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRole | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRole**](V1ClusterRole.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchClusterRoleBinding** +> V1ClusterRoleBinding patchClusterRoleBinding(name, body, pretty) + + + +partially update the specified ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRoleBinding +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRoleBinding result = apiInstance.patchClusterRoleBinding(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#patchClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRoleBinding | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedRole** +> V1Role patchNamespacedRole(name, namespace, body, pretty) + + + +partially update the specified Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the Role +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1Role result = apiInstance.patchNamespacedRole(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#patchNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Role | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Role**](V1Role.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **patchNamespacedRoleBinding** +> V1RoleBinding patchNamespacedRoleBinding(name, namespace, body, pretty) + + + +partially update the specified RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the RoleBinding +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1RoleBinding result = apiInstance.patchNamespacedRoleBinding(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#patchNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the RoleBinding | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1RoleBinding**](V1RoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readClusterRole** +> V1ClusterRole readClusterRole(name, pretty) + + + +read the specified ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRole +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRole result = apiInstance.readClusterRole(name, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#readClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRole | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRole**](V1ClusterRole.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readClusterRoleBinding** +> V1ClusterRoleBinding readClusterRoleBinding(name, pretty) + + + +read the specified ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRoleBinding +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRoleBinding result = apiInstance.readClusterRoleBinding(name, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#readClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRoleBinding | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedRole** +> V1Role readNamespacedRole(name, namespace, pretty) + + + +read the specified Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the Role +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1Role result = apiInstance.readNamespacedRole(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#readNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Role | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Role**](V1Role.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readNamespacedRoleBinding** +> V1RoleBinding readNamespacedRoleBinding(name, namespace, pretty) + + + +read the specified RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the RoleBinding +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1RoleBinding result = apiInstance.readNamespacedRoleBinding(name, namespace, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#readNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the RoleBinding | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1RoleBinding**](V1RoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceClusterRole** +> V1ClusterRole replaceClusterRole(name, body, pretty) + + + +replace the specified ClusterRole + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRole +V1ClusterRole body = new V1ClusterRole(); // V1ClusterRole | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRole result = apiInstance.replaceClusterRole(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#replaceClusterRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRole | + **body** | [**V1ClusterRole**](V1ClusterRole.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRole**](V1ClusterRole.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceClusterRoleBinding** +> V1ClusterRoleBinding replaceClusterRoleBinding(name, body, pretty) + + + +replace the specified ClusterRoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the ClusterRoleBinding +V1ClusterRoleBinding body = new V1ClusterRoleBinding(); // V1ClusterRoleBinding | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1ClusterRoleBinding result = apiInstance.replaceClusterRoleBinding(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#replaceClusterRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ClusterRoleBinding | + **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedRole** +> V1Role replaceNamespacedRole(name, namespace, body, pretty) + + + +replace the specified Role + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the Role +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1Role body = new V1Role(); // V1Role | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1Role result = apiInstance.replaceNamespacedRole(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#replaceNamespacedRole"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Role | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Role**](V1Role.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Role**](V1Role.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replaceNamespacedRoleBinding** +> V1RoleBinding replaceNamespacedRoleBinding(name, namespace, body, pretty) + + + +replace the specified RoleBinding + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.RbacAuthorizationV1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +RbacAuthorizationV1Api apiInstance = new RbacAuthorizationV1Api(); +String name = "name_example"; // String | name of the RoleBinding +String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects +V1RoleBinding body = new V1RoleBinding(); // V1RoleBinding | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1RoleBinding result = apiInstance.replaceNamespacedRoleBinding(name, namespace, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling RbacAuthorizationV1Api#replaceNamespacedRoleBinding"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the RoleBinding | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1RoleBinding**](V1RoleBinding.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1RoleBinding**](V1RoleBinding.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md index db82a1f78b..3a516dd4e1 100644 --- a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md @@ -401,7 +401,7 @@ Name | Type | Description | Notes # **deleteCollectionClusterRole** -> V1Status deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -426,13 +426,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#deleteCollectionClusterRole"); @@ -445,8 +448,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -466,7 +472,7 @@ Name | Type | Description | Notes # **deleteCollectionClusterRoleBinding** -> V1Status deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -491,13 +497,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#deleteCollectionClusterRoleBinding"); @@ -510,8 +519,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -531,7 +543,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedRole** -> V1Status deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -557,13 +569,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#deleteCollectionNamespacedRole"); @@ -577,8 +592,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -598,7 +616,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedRoleBinding** -> V1Status deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -624,13 +642,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#deleteCollectionNamespacedRoleBinding"); @@ -644,8 +665,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -850,7 +874,7 @@ This endpoint does not need any parameter. # **listClusterRole** -> V1alpha1ClusterRoleList listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1alpha1ClusterRoleList listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -875,13 +899,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1ClusterRoleList result = apiInstance.listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1ClusterRoleList result = apiInstance.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listClusterRole"); @@ -894,8 +921,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -915,7 +945,7 @@ Name | Type | Description | Notes # **listClusterRoleBinding** -> V1alpha1ClusterRoleBindingList listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1alpha1ClusterRoleBindingList listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -940,13 +970,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1ClusterRoleBindingList result = apiInstance.listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1ClusterRoleBindingList result = apiInstance.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listClusterRoleBinding"); @@ -959,8 +992,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -980,7 +1016,7 @@ Name | Type | Description | Notes # **listNamespacedRole** -> V1alpha1RoleList listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1alpha1RoleList listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1006,13 +1042,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1RoleList result = apiInstance.listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleList result = apiInstance.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listNamespacedRole"); @@ -1026,8 +1065,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1047,7 +1089,7 @@ Name | Type | Description | Notes # **listNamespacedRoleBinding** -> V1alpha1RoleBindingList listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1alpha1RoleBindingList listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1073,13 +1115,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1RoleBindingList result = apiInstance.listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleBindingList result = apiInstance.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listNamespacedRoleBinding"); @@ -1093,8 +1138,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1114,7 +1162,7 @@ Name | Type | Description | Notes # **listRoleBindingForAllNamespaces** -> V1alpha1RoleBindingList listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1alpha1RoleBindingList listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1138,14 +1186,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1RoleBindingList result = apiInstance.listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleBindingList result = apiInstance.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listRoleBindingForAllNamespaces"); @@ -1157,8 +1208,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -1179,7 +1233,7 @@ Name | Type | Description | Notes # **listRoleForAllNamespaces** -> V1alpha1RoleList listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1alpha1RoleList listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1203,14 +1257,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); RbacAuthorizationV1alpha1Api apiInstance = new RbacAuthorizationV1alpha1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1RoleList result = apiInstance.listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleList result = apiInstance.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1alpha1Api#listRoleForAllNamespaces"); @@ -1222,8 +1279,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1beta1Api.md b/kubernetes/docs/RbacAuthorizationV1beta1Api.md index e374068fa6..cdd490b1e1 100644 --- a/kubernetes/docs/RbacAuthorizationV1beta1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1beta1Api.md @@ -401,7 +401,7 @@ Name | Type | Description | Notes # **deleteCollectionClusterRole** -> V1Status deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -426,13 +426,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#deleteCollectionClusterRole"); @@ -445,8 +448,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -466,7 +472,7 @@ Name | Type | Description | Notes # **deleteCollectionClusterRoleBinding** -> V1Status deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -491,13 +497,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#deleteCollectionClusterRoleBinding"); @@ -510,8 +519,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -531,7 +543,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedRole** -> V1Status deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -557,13 +569,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#deleteCollectionNamespacedRole"); @@ -577,8 +592,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -598,7 +616,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedRoleBinding** -> V1Status deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -624,13 +642,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#deleteCollectionNamespacedRoleBinding"); @@ -644,8 +665,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -850,7 +874,7 @@ This endpoint does not need any parameter. # **listClusterRole** -> V1beta1ClusterRoleList listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1ClusterRoleList listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -875,13 +899,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ClusterRoleList result = apiInstance.listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ClusterRoleList result = apiInstance.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listClusterRole"); @@ -894,8 +921,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -915,7 +945,7 @@ Name | Type | Description | Notes # **listClusterRoleBinding** -> V1beta1ClusterRoleBindingList listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1ClusterRoleBindingList listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -940,13 +970,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1ClusterRoleBindingList result = apiInstance.listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ClusterRoleBindingList result = apiInstance.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listClusterRoleBinding"); @@ -959,8 +992,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -980,7 +1016,7 @@ Name | Type | Description | Notes # **listNamespacedRole** -> V1beta1RoleList listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1RoleList listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1006,13 +1042,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1RoleList result = apiInstance.listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1RoleList result = apiInstance.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listNamespacedRole"); @@ -1026,8 +1065,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1047,7 +1089,7 @@ Name | Type | Description | Notes # **listNamespacedRoleBinding** -> V1beta1RoleBindingList listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1RoleBindingList listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -1073,13 +1115,16 @@ BearerToken.setApiKey("YOUR API KEY"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1RoleBindingList result = apiInstance.listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1RoleBindingList result = apiInstance.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listNamespacedRoleBinding"); @@ -1093,8 +1138,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1114,7 +1162,7 @@ Name | Type | Description | Notes # **listRoleBindingForAllNamespaces** -> V1beta1RoleBindingList listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1RoleBindingList listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1138,14 +1186,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1RoleBindingList result = apiInstance.listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1RoleBindingList result = apiInstance.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listRoleBindingForAllNamespaces"); @@ -1157,8 +1208,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] @@ -1179,7 +1233,7 @@ Name | Type | Description | Notes # **listRoleForAllNamespaces** -> V1beta1RoleList listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1beta1RoleList listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -1203,14 +1257,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); RbacAuthorizationV1beta1Api apiInstance = new RbacAuthorizationV1beta1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1RoleList result = apiInstance.listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1RoleList result = apiInstance.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RbacAuthorizationV1beta1Api#listRoleForAllNamespaces"); @@ -1222,8 +1279,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] diff --git a/kubernetes/docs/SchedulingApi.md b/kubernetes/docs/SchedulingApi.md new file mode 100644 index 0000000000..c9bf30402a --- /dev/null +++ b/kubernetes/docs/SchedulingApi.md @@ -0,0 +1,60 @@ +# SchedulingApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**getAPIGroup**](SchedulingApi.md#getAPIGroup) | **GET** /apis/scheduling.k8s.io/ | + + + +# **getAPIGroup** +> V1APIGroup getAPIGroup() + + + +get information of a group + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingApi; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingApi apiInstance = new SchedulingApi(); +try { + V1APIGroup result = apiInstance.getAPIGroup(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingApi#getAPIGroup"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/SchedulingV1alpha1Api.md b/kubernetes/docs/SchedulingV1alpha1Api.md new file mode 100644 index 0000000000..99b53ab295 --- /dev/null +++ b/kubernetes/docs/SchedulingV1alpha1Api.md @@ -0,0 +1,510 @@ +# SchedulingV1alpha1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createPriorityClass**](SchedulingV1alpha1Api.md#createPriorityClass) | **POST** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | +[**deleteCollectionPriorityClass**](SchedulingV1alpha1Api.md#deleteCollectionPriorityClass) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | +[**deletePriorityClass**](SchedulingV1alpha1Api.md#deletePriorityClass) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | +[**getAPIResources**](SchedulingV1alpha1Api.md#getAPIResources) | **GET** /apis/scheduling.k8s.io/v1alpha1/ | +[**listPriorityClass**](SchedulingV1alpha1Api.md#listPriorityClass) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | +[**patchPriorityClass**](SchedulingV1alpha1Api.md#patchPriorityClass) | **PATCH** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | +[**readPriorityClass**](SchedulingV1alpha1Api.md#readPriorityClass) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | +[**replacePriorityClass**](SchedulingV1alpha1Api.md#replacePriorityClass) | **PUT** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | + + + +# **createPriorityClass** +> V1alpha1PriorityClass createPriorityClass(body, pretty) + + + +create a PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +V1alpha1PriorityClass body = new V1alpha1PriorityClass(); // V1alpha1PriorityClass | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1PriorityClass result = apiInstance.createPriorityClass(body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#createPriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1PriorityClass**](V1alpha1PriorityClass.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1PriorityClass**](V1alpha1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deleteCollectionPriorityClass** +> V1Status deleteCollectionPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +delete collection of PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1Status result = apiInstance.deleteCollectionPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#deleteCollectionPriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **deletePriorityClass** +> V1Status deletePriorityClass(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy) + + + +delete a PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String name = "name_example"; // String | name of the PriorityClass +V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Integer gracePeriodSeconds = 56; // Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. +try { + V1Status result = apiInstance.deletePriorityClass(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#deletePriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **gracePeriodSeconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **getAPIResources** +> V1APIResourceList getAPIResources() + + + +get available resources + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +try { + V1APIResourceList result = apiInstance.getAPIResources(); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#getAPIResources"); + e.printStackTrace(); +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **listPriorityClass** +> V1alpha1PriorityClassList listPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) + + + +list or watch objects of kind PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. +String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. +String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. +String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. +Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +try { + V1alpha1PriorityClassList result = apiInstance.listPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#listPriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] + **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] + **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1PriorityClassList**](V1alpha1PriorityClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + +# **patchPriorityClass** +> V1alpha1PriorityClass patchPriorityClass(name, body, pretty) + + + +partially update the specified PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String name = "name_example"; // String | name of the PriorityClass +Object body = null; // Object | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1PriorityClass result = apiInstance.patchPriorityClass(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#patchPriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1PriorityClass**](V1alpha1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **readPriorityClass** +> V1alpha1PriorityClass readPriorityClass(name, pretty, exact, export) + + + +read the specified PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String name = "name_example"; // String | name of the PriorityClass +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +Boolean exact = true; // Boolean | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. +Boolean export = true; // Boolean | Should this value be exported. Export strips fields that a user can not specify. +try { + V1alpha1PriorityClass result = apiInstance.readPriorityClass(name, pretty, exact, export); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#readPriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **Boolean**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **Boolean**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1PriorityClass**](V1alpha1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + +# **replacePriorityClass** +> V1alpha1PriorityClass replacePriorityClass(name, body, pretty) + + + +replace the specified PriorityClass + +### Example +```java +// Import classes: +//import io.kubernetes.client.ApiClient; +//import io.kubernetes.client.ApiException; +//import io.kubernetes.client.Configuration; +//import io.kubernetes.client.auth.*; +//import io.kubernetes.client.apis.SchedulingV1alpha1Api; + +ApiClient defaultClient = Configuration.getDefaultApiClient(); + +// Configure API key authorization: BearerToken +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); +BearerToken.setApiKey("YOUR API KEY"); +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) +//BearerToken.setApiKeyPrefix("Token"); + +SchedulingV1alpha1Api apiInstance = new SchedulingV1alpha1Api(); +String name = "name_example"; // String | name of the PriorityClass +V1alpha1PriorityClass body = new V1alpha1PriorityClass(); // V1alpha1PriorityClass | +String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +try { + V1alpha1PriorityClass result = apiInstance.replacePriorityClass(name, body, pretty); + System.out.println(result); +} catch (ApiException e) { + System.err.println("Exception when calling SchedulingV1alpha1Api#replacePriorityClass"); + e.printStackTrace(); +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **body** | [**V1alpha1PriorityClass**](V1alpha1PriorityClass.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1PriorityClass**](V1alpha1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + diff --git a/kubernetes/docs/SettingsV1alpha1Api.md b/kubernetes/docs/SettingsV1alpha1Api.md index bd93f6216f..97f9ad9790 100644 --- a/kubernetes/docs/SettingsV1alpha1Api.md +++ b/kubernetes/docs/SettingsV1alpha1Api.md @@ -76,7 +76,7 @@ Name | Type | Description | Notes # **deleteCollectionNamespacedPodPreset** -> V1Status deleteCollectionNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -102,13 +102,16 @@ BearerToken.setApiKey("YOUR API KEY"); SettingsV1alpha1Api apiInstance = new SettingsV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SettingsV1alpha1Api#deleteCollectionNamespacedPodPreset"); @@ -122,8 +125,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -261,7 +267,7 @@ This endpoint does not need any parameter. # **listNamespacedPodPreset** -> V1alpha1PodPresetList listNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1alpha1PodPresetList listNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -287,13 +293,16 @@ BearerToken.setApiKey("YOUR API KEY"); SettingsV1alpha1Api apiInstance = new SettingsV1alpha1Api(); String namespace = "namespace_example"; // String | object name and auth scope, such as for teams and projects String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1PodPresetList result = apiInstance.listNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1PodPresetList result = apiInstance.listNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SettingsV1alpha1Api#listNamespacedPodPreset"); @@ -307,8 +316,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -328,7 +340,7 @@ Name | Type | Description | Notes # **listPodPresetForAllNamespaces** -> V1alpha1PodPresetList listPodPresetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch) +> V1alpha1PodPresetList listPodPresetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch) @@ -352,14 +364,17 @@ BearerToken.setApiKey("YOUR API KEY"); //BearerToken.setApiKeyPrefix("Token"); SettingsV1alpha1Api apiInstance = new SettingsV1alpha1Api(); +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1alpha1PodPresetList result = apiInstance.listPodPresetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1PodPresetList result = apiInstance.listPodPresetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SettingsV1alpha1Api#listPodPresetForAllNamespaces"); @@ -371,8 +386,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index 58c1ab13d4..9286debb6a 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -73,7 +73,7 @@ Name | Type | Description | Notes # **deleteCollectionStorageClass** -> V1Status deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -98,13 +98,16 @@ BearerToken.setApiKey("YOUR API KEY"); StorageV1Api apiInstance = new StorageV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling StorageV1Api#deleteCollectionStorageClass"); @@ -117,8 +120,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -254,7 +260,7 @@ This endpoint does not need any parameter. # **listStorageClass** -> V1StorageClassList listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1StorageClassList listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -279,13 +285,16 @@ BearerToken.setApiKey("YOUR API KEY"); StorageV1Api apiInstance = new StorageV1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1StorageClassList result = apiInstance.listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1StorageClassList result = apiInstance.listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling StorageV1Api#listStorageClass"); @@ -298,8 +307,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] diff --git a/kubernetes/docs/StorageV1beta1Api.md b/kubernetes/docs/StorageV1beta1Api.md index 02f09603f4..c139bd4219 100644 --- a/kubernetes/docs/StorageV1beta1Api.md +++ b/kubernetes/docs/StorageV1beta1Api.md @@ -73,7 +73,7 @@ Name | Type | Description | Notes # **deleteCollectionStorageClass** -> V1Status deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1Status deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -98,13 +98,16 @@ BearerToken.setApiKey("YOUR API KEY"); StorageV1beta1Api apiInstance = new StorageV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1Status result = apiInstance.deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status result = apiInstance.deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling StorageV1beta1Api#deleteCollectionStorageClass"); @@ -117,8 +120,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -254,7 +260,7 @@ This endpoint does not need any parameter. # **listStorageClass** -> V1beta1StorageClassList listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch) +> V1beta1StorageClassList listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch) @@ -279,13 +285,16 @@ BearerToken.setApiKey("YOUR API KEY"); StorageV1beta1Api apiInstance = new StorageV1beta1Api(); String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed. +String _continue = "_continue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. String fieldSelector = "fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything. +Boolean includeUninitialized = true; // Boolean | If true, partially initialized resources are included in the response. String labelSelector = "labelSelector_example"; // String | A selector to restrict the list of returned objects by their labels. Defaults to everything. +Integer limit = 56; // Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. String resourceVersion = "resourceVersion_example"; // String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. Integer timeoutSeconds = 56; // Integer | Timeout for the list/watch call. Boolean watch = true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. try { - V1beta1StorageClassList result = apiInstance.listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1StorageClassList result = apiInstance.listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling StorageV1beta1Api#listStorageClass"); @@ -298,8 +307,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fieldSelector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **includeUninitialized** | **Boolean**| If true, partially initialized resources are included in the response. | [optional] **labelSelector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resourceVersion** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeoutSeconds** | **Integer**| Timeout for the list/watch call. | [optional] **watch** | **Boolean**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] diff --git a/kubernetes/docs/V1APIGroup.md b/kubernetes/docs/V1APIGroup.md index 18166a230b..d46050fc72 100644 --- a/kubernetes/docs/V1APIGroup.md +++ b/kubernetes/docs/V1APIGroup.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **String** | name is the name of the group. | **preferredVersion** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional] **serverAddressByClientCIDRs** | [**List<V1ServerAddressByClientCIDR>**](V1ServerAddressByClientCIDR.md) | a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. | diff --git a/kubernetes/docs/V1APIGroupList.md b/kubernetes/docs/V1APIGroupList.md index 19e7792590..de2a05eacb 100644 --- a/kubernetes/docs/V1APIGroupList.md +++ b/kubernetes/docs/V1APIGroupList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **groups** | [**List<V1APIGroup>**](V1APIGroup.md) | groups is a list of APIGroup. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1APIResource.md b/kubernetes/docs/V1APIResource.md index d6b85d90d8..3398f4a6a5 100644 --- a/kubernetes/docs/V1APIResource.md +++ b/kubernetes/docs/V1APIResource.md @@ -4,11 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**categories** | **List<String>** | categories is a list of the grouped resources this resource belongs to (e.g. 'all') | [optional] +**group** | **String** | group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". | [optional] **kind** | **String** | kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') | -**name** | **String** | name is the name of the resource. | +**name** | **String** | name is the plural name of the resource. | **namespaced** | **Boolean** | namespaced indicates if a resource is namespaced or not. | **shortNames** | **List<String>** | shortNames is a list of suggested short names of the resource. | [optional] +**singularName** | **String** | singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. | **verbs** | **List<String>** | verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) | +**version** | **String** | version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". | [optional] diff --git a/kubernetes/docs/V1APIResourceList.md b/kubernetes/docs/V1APIResourceList.md index 3fc22fa923..ebedeaff47 100644 --- a/kubernetes/docs/V1APIResourceList.md +++ b/kubernetes/docs/V1APIResourceList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **groupVersion** | **String** | groupVersion is the group and version this APIResourceList is for. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **resources** | [**List<V1APIResource>**](V1APIResource.md) | resources contains the name of the resources and if they are namespaced. | diff --git a/kubernetes/docs/V1APIVersions.md b/kubernetes/docs/V1APIVersions.md index 76834c726f..2b4ff1c451 100644 --- a/kubernetes/docs/V1APIVersions.md +++ b/kubernetes/docs/V1APIVersions.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **serverAddressByClientCIDRs** | [**List<V1ServerAddressByClientCIDR>**](V1ServerAddressByClientCIDR.md) | a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. | **versions** | **List<String>** | versions are the api versions that are available. | diff --git a/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md b/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md index d6909c6444..ac72c5ee5b 100644 --- a/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md +++ b/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | [optional] **partition** | **Integer** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). | [optional] -**readOnly** | **Boolean** | Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] -**volumeID** | **String** | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | +**readOnly** | **Boolean** | Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | [optional] +**volumeID** | **String** | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | diff --git a/kubernetes/docs/V1AzureDiskVolumeSource.md b/kubernetes/docs/V1AzureDiskVolumeSource.md index d5ed8efb4a..2ba5da53c0 100644 --- a/kubernetes/docs/V1AzureDiskVolumeSource.md +++ b/kubernetes/docs/V1AzureDiskVolumeSource.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **diskName** | **String** | The Name of the data disk in the blob storage | **diskURI** | **String** | The URI the data disk in the blob storage | **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**kind** | **String** | Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared | [optional] **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] diff --git a/kubernetes/docs/V1AzureFilePersistentVolumeSource.md b/kubernetes/docs/V1AzureFilePersistentVolumeSource.md new file mode 100644 index 0000000000..adbed18a5d --- /dev/null +++ b/kubernetes/docs/V1AzureFilePersistentVolumeSource.md @@ -0,0 +1,13 @@ + +# V1AzureFilePersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secretName** | **String** | the name of secret that contains Azure Storage Account Name and Key | +**secretNamespace** | **String** | the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod | [optional] +**shareName** | **String** | Share Name | + + + diff --git a/kubernetes/docs/V1Binding.md b/kubernetes/docs/V1Binding.md index 9f4158b3f8..6b25944573 100644 --- a/kubernetes/docs/V1Binding.md +++ b/kubernetes/docs/V1Binding.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **target** | [**V1ObjectReference**](V1ObjectReference.md) | The target object that you want to bind to the standard object. | diff --git a/kubernetes/docs/V1CephFSPersistentVolumeSource.md b/kubernetes/docs/V1CephFSPersistentVolumeSource.md new file mode 100644 index 0000000000..99567af464 --- /dev/null +++ b/kubernetes/docs/V1CephFSPersistentVolumeSource.md @@ -0,0 +1,15 @@ + +# V1CephFSPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**monitors** | **List<String>** | Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | +**path** | **String** | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | [optional] +**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secretFile** | **String** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secretRef** | [**V1SecretReference**](V1SecretReference.md) | Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**user** | **String** | Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] + + + diff --git a/kubernetes/docs/V1CephFSVolumeSource.md b/kubernetes/docs/V1CephFSVolumeSource.md index f5f266a43e..fc51a45ba2 100644 --- a/kubernetes/docs/V1CephFSVolumeSource.md +++ b/kubernetes/docs/V1CephFSVolumeSource.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**monitors** | **List<String>** | Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | +**monitors** | **List<String>** | Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | **path** | **String** | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | [optional] -**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] -**secretFile** | **String** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] -**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] -**user** | **String** | Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secretFile** | **String** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**user** | **String** | Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] diff --git a/kubernetes/docs/V1CinderVolumeSource.md b/kubernetes/docs/V1CinderVolumeSource.md index d78a7ad81b..fca2218e24 100644 --- a/kubernetes/docs/V1CinderVolumeSource.md +++ b/kubernetes/docs/V1CinderVolumeSource.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] -**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] -**volumeID** | **String** | volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | +**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**volumeID** | **String** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | diff --git a/kubernetes/docs/V1ClientIPConfig.md b/kubernetes/docs/V1ClientIPConfig.md new file mode 100644 index 0000000000..287fd492d4 --- /dev/null +++ b/kubernetes/docs/V1ClientIPConfig.md @@ -0,0 +1,10 @@ + +# V1ClientIPConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timeoutSeconds** | **Integer** | timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). | [optional] + + + diff --git a/kubernetes/docs/V1ClusterRole.md b/kubernetes/docs/V1ClusterRole.md new file mode 100644 index 0000000000..6ddc9f7923 --- /dev/null +++ b/kubernetes/docs/V1ClusterRole.md @@ -0,0 +1,13 @@ + +# V1ClusterRole + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] +**rules** | [**List<V1PolicyRule>**](V1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | + + + diff --git a/kubernetes/docs/V1ClusterRoleBinding.md b/kubernetes/docs/V1ClusterRoleBinding.md new file mode 100644 index 0000000000..9f62690d72 --- /dev/null +++ b/kubernetes/docs/V1ClusterRoleBinding.md @@ -0,0 +1,14 @@ + +# V1ClusterRoleBinding + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] +**roleRef** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | +**subjects** | [**List<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | + + + diff --git a/kubernetes/docs/V1ClusterRoleBindingList.md b/kubernetes/docs/V1ClusterRoleBindingList.md new file mode 100644 index 0000000000..05b2107662 --- /dev/null +++ b/kubernetes/docs/V1ClusterRoleBindingList.md @@ -0,0 +1,13 @@ + +# V1ClusterRoleBindingList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1ClusterRoleBinding>**](V1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] + + + diff --git a/kubernetes/docs/V1ClusterRoleList.md b/kubernetes/docs/V1ClusterRoleList.md new file mode 100644 index 0000000000..ea55b65162 --- /dev/null +++ b/kubernetes/docs/V1ClusterRoleList.md @@ -0,0 +1,13 @@ + +# V1ClusterRoleList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1ClusterRole>**](V1ClusterRole.md) | Items is a list of ClusterRoles | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] + + + diff --git a/kubernetes/docs/V1ComponentStatus.md b/kubernetes/docs/V1ComponentStatus.md index 2b691c42be..872d5a2eaa 100644 --- a/kubernetes/docs/V1ComponentStatus.md +++ b/kubernetes/docs/V1ComponentStatus.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **conditions** | [**List<V1ComponentCondition>**](V1ComponentCondition.md) | List of component conditions observed | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1ComponentStatusList.md b/kubernetes/docs/V1ComponentStatusList.md index 012c590bd5..7409cc157c 100644 --- a/kubernetes/docs/V1ComponentStatusList.md +++ b/kubernetes/docs/V1ComponentStatusList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1ComponentStatus>**](V1ComponentStatus.md) | List of ComponentStatus objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ConfigMap.md b/kubernetes/docs/V1ConfigMap.md index 6f717d7318..70877363da 100644 --- a/kubernetes/docs/V1ConfigMap.md +++ b/kubernetes/docs/V1ConfigMap.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**data** | **Map<String, String>** | Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**data** | **Map<String, String>** | Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1ConfigMapEnvSource.md b/kubernetes/docs/V1ConfigMapEnvSource.md index f23120bf57..44b3fb0f1f 100644 --- a/kubernetes/docs/V1ConfigMapEnvSource.md +++ b/kubernetes/docs/V1ConfigMapEnvSource.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the ConfigMap must be defined | [optional] diff --git a/kubernetes/docs/V1ConfigMapKeySelector.md b/kubernetes/docs/V1ConfigMapKeySelector.md index 44cef00905..d5de95f63a 100644 --- a/kubernetes/docs/V1ConfigMapKeySelector.md +++ b/kubernetes/docs/V1ConfigMapKeySelector.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **key** | **String** | The key to select. | -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the ConfigMap or it's key must be defined | [optional] diff --git a/kubernetes/docs/V1ConfigMapList.md b/kubernetes/docs/V1ConfigMapList.md index bf63f8fce8..099692418d 100644 --- a/kubernetes/docs/V1ConfigMapList.md +++ b/kubernetes/docs/V1ConfigMapList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1ConfigMap>**](V1ConfigMap.md) | Items is the list of ConfigMaps. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1ConfigMapProjection.md b/kubernetes/docs/V1ConfigMapProjection.md index b8285fb48f..fdd53ad737 100644 --- a/kubernetes/docs/V1ConfigMapProjection.md +++ b/kubernetes/docs/V1ConfigMapProjection.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the ConfigMap or it's keys must be defined | [optional] diff --git a/kubernetes/docs/V1ConfigMapVolumeSource.md b/kubernetes/docs/V1ConfigMapVolumeSource.md index 5e8a3c3b35..cd1a34a6b1 100644 --- a/kubernetes/docs/V1ConfigMapVolumeSource.md +++ b/kubernetes/docs/V1ConfigMapVolumeSource.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **defaultMode** | **Integer** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] **items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the ConfigMap or it's keys must be defined | [optional] diff --git a/kubernetes/docs/V1Container.md b/kubernetes/docs/V1Container.md index 59d3c58a4f..e5dcd45b85 100644 --- a/kubernetes/docs/V1Container.md +++ b/kubernetes/docs/V1Container.md @@ -4,19 +4,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**args** | **List<String>** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional] -**command** | **List<String>** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional] +**args** | **List<String>** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] +**command** | **List<String>** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] **env** | [**List<V1EnvVar>**](V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] **envFrom** | [**List<V1EnvFromSource>**](V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] -**image** | **String** | Docker image name. More info: http://kubernetes.io/docs/user-guide/images | [optional] -**imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images | [optional] +**image** | **String** | Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. | [optional] +**imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | [optional] **lifecycle** | [**V1Lifecycle**](V1Lifecycle.md) | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | [optional] -**livenessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] +**livenessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | [optional] **name** | **String** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. | **ports** | [**List<V1ContainerPort>**](V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] -**readinessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] -**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional] -**securityContext** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md | [optional] +**readinessProbe** | [**V1Probe**](V1Probe.md) | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | [optional] +**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources | [optional] +**securityContext** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md | [optional] **stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] **stdinOnce** | **Boolean** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **terminationMessagePath** | **String** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] diff --git a/kubernetes/docs/V1ContainerStatus.md b/kubernetes/docs/V1ContainerStatus.md index 2ef9203686..b0c2dd5f01 100644 --- a/kubernetes/docs/V1ContainerStatus.md +++ b/kubernetes/docs/V1ContainerStatus.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**containerID** | **String** | Container's ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information | [optional] -**image** | **String** | The image the container is running. More info: http://kubernetes.io/docs/user-guide/images | +**containerID** | **String** | Container's ID in the format 'docker://<container_id>'. | [optional] +**image** | **String** | The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images | **imageID** | **String** | ImageID of the container's image. | **lastState** | [**V1ContainerState**](V1ContainerState.md) | Details about the container's last termination condition. | [optional] **name** | **String** | This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. | diff --git a/kubernetes/docs/V1CrossVersionObjectReference.md b/kubernetes/docs/V1CrossVersionObjectReference.md index c54503f9aa..09f5ef04a0 100644 --- a/kubernetes/docs/V1CrossVersionObjectReference.md +++ b/kubernetes/docs/V1CrossVersionObjectReference.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | API version of the referent | [optional] -**kind** | **String** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" | +**kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | **name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | diff --git a/kubernetes/docs/V1DeleteOptions.md b/kubernetes/docs/V1DeleteOptions.md index 93558a7d7e..58b6239f9f 100644 --- a/kubernetes/docs/V1DeleteOptions.md +++ b/kubernetes/docs/V1DeleteOptions.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **gracePeriodSeconds** | **Long** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **orphanDependents** | **Boolean** | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **preconditions** | [**V1Preconditions**](V1Preconditions.md) | Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. | [optional] **propagationPolicy** | **String** | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] diff --git a/kubernetes/docs/V1EmptyDirVolumeSource.md b/kubernetes/docs/V1EmptyDirVolumeSource.md index 49ac065b8d..def763d9e6 100644 --- a/kubernetes/docs/V1EmptyDirVolumeSource.md +++ b/kubernetes/docs/V1EmptyDirVolumeSource.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**medium** | **String** | What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional] +**medium** | **String** | What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | [optional] +**sizeLimit** | **String** | Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional] diff --git a/kubernetes/docs/V1Endpoints.md b/kubernetes/docs/V1Endpoints.md index f7f916ead9..95d4442d30 100644 --- a/kubernetes/docs/V1Endpoints.md +++ b/kubernetes/docs/V1Endpoints.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **subsets** | [**List<V1EndpointSubset>**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. | diff --git a/kubernetes/docs/V1EndpointsList.md b/kubernetes/docs/V1EndpointsList.md index f10ade8792..e506c749fa 100644 --- a/kubernetes/docs/V1EndpointsList.md +++ b/kubernetes/docs/V1EndpointsList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1Endpoints>**](V1Endpoints.md) | List of endpoints. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1EnvVarSource.md b/kubernetes/docs/V1EnvVarSource.md index b2b462cf6f..9617888754 100644 --- a/kubernetes/docs/V1EnvVarSource.md +++ b/kubernetes/docs/V1EnvVarSource.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **configMapKeyRef** | [**V1ConfigMapKeySelector**](V1ConfigMapKeySelector.md) | Selects a key of a ConfigMap. | [optional] -**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. | [optional] -**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. | [optional] +**fieldRef** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. | [optional] +**resourceFieldRef** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. | [optional] **secretKeyRef** | [**V1SecretKeySelector**](V1SecretKeySelector.md) | Selects a key of a secret in the pod's namespace | [optional] diff --git a/kubernetes/docs/V1Event.md b/kubernetes/docs/V1Event.md index 4203877728..248b4ce415 100644 --- a/kubernetes/docs/V1Event.md +++ b/kubernetes/docs/V1Event.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **count** | **Integer** | The number of times this event has occurred. | [optional] **firstTimestamp** | [**DateTime**](DateTime.md) | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] **involvedObject** | [**V1ObjectReference**](V1ObjectReference.md) | The object that this event is about. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **lastTimestamp** | [**DateTime**](DateTime.md) | The time at which the most recent occurrence of this event was recorded. | [optional] **message** | **String** | A human-readable description of the status of this operation. | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | **reason** | **String** | This should be a short, machine understandable string that gives the reason for the transition into the object's current status. | [optional] **source** | [**V1EventSource**](V1EventSource.md) | The component reporting this event. Should be a short machine understandable string. | [optional] **type** | **String** | Type of this event (Normal, Warning), new types could be added in the future | [optional] diff --git a/kubernetes/docs/V1EventList.md b/kubernetes/docs/V1EventList.md index 91c5948cd9..13153a1074 100644 --- a/kubernetes/docs/V1EventList.md +++ b/kubernetes/docs/V1EventList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1Event>**](V1Event.md) | List of events | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1FCVolumeSource.md b/kubernetes/docs/V1FCVolumeSource.md index bdee6e6ad2..5b38d57dc3 100644 --- a/kubernetes/docs/V1FCVolumeSource.md +++ b/kubernetes/docs/V1FCVolumeSource.md @@ -5,9 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] -**lun** | **Integer** | Required: FC target lun number | +**lun** | **Integer** | Optional: FC target lun number | [optional] **readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] -**targetWWNs** | **List<String>** | Required: FC target worldwide names (WWNs) | +**targetWWNs** | **List<String>** | Optional: FC target worldwide names (WWNs) | [optional] +**wwids** | **List<String>** | Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. | [optional] diff --git a/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md b/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md index 02799ab0ec..8b173a4b10 100644 --- a/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md +++ b/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] -**partition** | **Integer** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] -**pdName** | **String** | Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | -**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] +**partition** | **Integer** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] +**pdName** | **String** | Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | +**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] diff --git a/kubernetes/docs/V1GlusterfsVolumeSource.md b/kubernetes/docs/V1GlusterfsVolumeSource.md index 5b1bae6730..c7d228457d 100644 --- a/kubernetes/docs/V1GlusterfsVolumeSource.md +++ b/kubernetes/docs/V1GlusterfsVolumeSource.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**endpoints** | **String** | EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | -**path** | **String** | Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | -**readOnly** | **Boolean** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] +**endpoints** | **String** | EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**path** | **String** | Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**readOnly** | **Boolean** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] diff --git a/kubernetes/docs/V1HorizontalPodAutoscaler.md b/kubernetes/docs/V1HorizontalPodAutoscaler.md index 1f8873f04c..fbecf4ad26 100644 --- a/kubernetes/docs/V1HorizontalPodAutoscaler.md +++ b/kubernetes/docs/V1HorizontalPodAutoscaler.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1HorizontalPodAutoscalerSpec**](V1HorizontalPodAutoscalerSpec.md) | behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1HorizontalPodAutoscalerSpec**](V1HorizontalPodAutoscalerSpec.md) | behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] **status** | [**V1HorizontalPodAutoscalerStatus**](V1HorizontalPodAutoscalerStatus.md) | current information about the autoscaler. | [optional] diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerList.md b/kubernetes/docs/V1HorizontalPodAutoscalerList.md index 4a6973e2e7..434c989072 100644 --- a/kubernetes/docs/V1HorizontalPodAutoscalerList.md +++ b/kubernetes/docs/V1HorizontalPodAutoscalerList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1HorizontalPodAutoscaler>**](V1HorizontalPodAutoscaler.md) | list of horizontal pod autoscaler objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional] diff --git a/kubernetes/docs/V1HostAlias.md b/kubernetes/docs/V1HostAlias.md new file mode 100644 index 0000000000..3ec600f8ba --- /dev/null +++ b/kubernetes/docs/V1HostAlias.md @@ -0,0 +1,11 @@ + +# V1HostAlias + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hostnames** | **List<String>** | Hostnames for the above IP address. | [optional] +**ip** | **String** | IP address of the host file entry. | [optional] + + + diff --git a/kubernetes/docs/V1HostPathVolumeSource.md b/kubernetes/docs/V1HostPathVolumeSource.md index b23b4874ee..77389245e3 100644 --- a/kubernetes/docs/V1HostPathVolumeSource.md +++ b/kubernetes/docs/V1HostPathVolumeSource.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path** | **String** | Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | +**path** | **String** | Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | +**type** | **String** | Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] diff --git a/kubernetes/docs/V1IPBlock.md b/kubernetes/docs/V1IPBlock.md new file mode 100644 index 0000000000..a49063a629 --- /dev/null +++ b/kubernetes/docs/V1IPBlock.md @@ -0,0 +1,11 @@ + +# V1IPBlock + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cidr** | **String** | CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" | +**except** | **List<String>** | Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range | [optional] + + + diff --git a/kubernetes/docs/V1ISCSIVolumeSource.md b/kubernetes/docs/V1ISCSIVolumeSource.md index 00eb0e8fcb..712204c47f 100644 --- a/kubernetes/docs/V1ISCSIVolumeSource.md +++ b/kubernetes/docs/V1ISCSIVolumeSource.md @@ -4,12 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi | [optional] +**chapAuthDiscovery** | **Boolean** | whether support iSCSI Discovery CHAP authentication | [optional] +**chapAuthSession** | **Boolean** | whether support iSCSI Session CHAP authentication | [optional] +**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi | [optional] +**initiatorName** | **String** | Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. | [optional] **iqn** | **String** | Target iSCSI Qualified Name. | **iscsiInterface** | **String** | Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. | [optional] **lun** | **Integer** | iSCSI target lun number. | **portals** | **List<String>** | iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] **readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] +**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | CHAP secret for iSCSI target and initiator authentication | [optional] **targetPortal** | **String** | iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | diff --git a/kubernetes/docs/V1Initializer.md b/kubernetes/docs/V1Initializer.md new file mode 100644 index 0000000000..ce37b100de --- /dev/null +++ b/kubernetes/docs/V1Initializer.md @@ -0,0 +1,10 @@ + +# V1Initializer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | name of the process that is responsible for initializing this object. | + + + diff --git a/kubernetes/docs/V1Initializers.md b/kubernetes/docs/V1Initializers.md new file mode 100644 index 0000000000..79ee6554c5 --- /dev/null +++ b/kubernetes/docs/V1Initializers.md @@ -0,0 +1,11 @@ + +# V1Initializers + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pending** | [**List<V1Initializer>**](V1Initializer.md) | Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients. | +**result** | [**V1Status**](V1Status.md) | If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion. | [optional] + + + diff --git a/kubernetes/docs/V1Job.md b/kubernetes/docs/V1Job.md index 753b86b5a4..d5ef0bdd77 100644 --- a/kubernetes/docs/V1Job.md +++ b/kubernetes/docs/V1Job.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1JobSpec**](V1JobSpec.md) | Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1JobStatus**](V1JobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1JobStatus**](V1JobStatus.md) | Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1JobList.md b/kubernetes/docs/V1JobList.md index 92a5652af5..d0d5945030 100644 --- a/kubernetes/docs/V1JobList.md +++ b/kubernetes/docs/V1JobList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1Job>**](V1Job.md) | Items is the list of Job. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1Job>**](V1Job.md) | items is the list of Jobs. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1JobSpec.md b/kubernetes/docs/V1JobSpec.md index ae295ca4ba..6580e729c3 100644 --- a/kubernetes/docs/V1JobSpec.md +++ b/kubernetes/docs/V1JobSpec.md @@ -4,12 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**activeDeadlineSeconds** | **Long** | Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] -**completions** | **Integer** | Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**manualSelector** | **Boolean** | ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md | [optional] -**parallelism** | **Integer** | Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs | +**activeDeadlineSeconds** | **Long** | Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] +**backoffLimit** | **Integer** | Specifies the number of retries before marking this job failed. Defaults to 6 | [optional] +**completions** | **Integer** | Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] +**manualSelector** | **Boolean** | manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md | [optional] +**parallelism** | **Integer** | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | diff --git a/kubernetes/docs/V1JobStatus.md b/kubernetes/docs/V1JobStatus.md index 3448f35edf..5119f2d11c 100644 --- a/kubernetes/docs/V1JobStatus.md +++ b/kubernetes/docs/V1JobStatus.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | **Integer** | Active is the number of actively running pods. | [optional] -**completionTime** | [**DateTime**](DateTime.md) | CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**conditions** | [**List<V1JobCondition>**](V1JobCondition.md) | Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**failed** | **Integer** | Failed is the number of pods which reached Phase Failed. | [optional] -**startTime** | [**DateTime**](DateTime.md) | StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**succeeded** | **Integer** | Succeeded is the number of pods which reached Phase Succeeded. | [optional] +**active** | **Integer** | The number of actively running pods. | [optional] +**completionTime** | [**DateTime**](DateTime.md) | Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] +**conditions** | [**List<V1JobCondition>**](V1JobCondition.md) | The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] +**failed** | **Integer** | The number of pods which reached phase Failed. | [optional] +**startTime** | [**DateTime**](DateTime.md) | Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] +**succeeded** | **Integer** | The number of pods which reached phase Succeeded. | [optional] diff --git a/kubernetes/docs/V1LabelSelectorRequirement.md b/kubernetes/docs/V1LabelSelectorRequirement.md index afb950938e..4a693b4bc3 100644 --- a/kubernetes/docs/V1LabelSelectorRequirement.md +++ b/kubernetes/docs/V1LabelSelectorRequirement.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **key** | **String** | key is the label key that the selector applies to. | -**operator** | **String** | operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. | +**operator** | **String** | operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. | **values** | **List<String>** | values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] diff --git a/kubernetes/docs/V1Lifecycle.md b/kubernetes/docs/V1Lifecycle.md index ab7ce967e8..519d16df6c 100644 --- a/kubernetes/docs/V1Lifecycle.md +++ b/kubernetes/docs/V1Lifecycle.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**postStart** | [**V1Handler**](V1Handler.md) | PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [optional] -**preStop** | [**V1Handler**](V1Handler.md) | PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [optional] +**postStart** | [**V1Handler**](V1Handler.md) | PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks | [optional] +**preStop** | [**V1Handler**](V1Handler.md) | PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks | [optional] diff --git a/kubernetes/docs/V1LimitRange.md b/kubernetes/docs/V1LimitRange.md index 4aaf59c7f5..ce200c08e0 100644 --- a/kubernetes/docs/V1LimitRange.md +++ b/kubernetes/docs/V1LimitRange.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1LimitRangeSpec**](V1LimitRangeSpec.md) | Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1LimitRangeSpec**](V1LimitRangeSpec.md) | Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1LimitRangeList.md b/kubernetes/docs/V1LimitRangeList.md index d54eb8fd17..edf21a21ab 100644 --- a/kubernetes/docs/V1LimitRangeList.md +++ b/kubernetes/docs/V1LimitRangeList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1LimitRange>**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1LimitRange>**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ListMeta.md b/kubernetes/docs/V1ListMeta.md index 632afaff74..c5a915d30a 100644 --- a/kubernetes/docs/V1ListMeta.md +++ b/kubernetes/docs/V1ListMeta.md @@ -4,8 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**resourceVersion** | **String** | String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] -**selfLink** | **String** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [optional] +**_continue** | **String** | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. | [optional] +**resourceVersion** | **String** | String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | [optional] +**selfLink** | **String** | selfLink is a URL representing this object. Populated by the system. Read-only. | [optional] diff --git a/kubernetes/docs/V1LocalObjectReference.md b/kubernetes/docs/V1LocalObjectReference.md index ca766497b5..009cf76c07 100644 --- a/kubernetes/docs/V1LocalObjectReference.md +++ b/kubernetes/docs/V1LocalObjectReference.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] diff --git a/kubernetes/docs/V1LocalSubjectAccessReview.md b/kubernetes/docs/V1LocalSubjectAccessReview.md index 3a753d50f1..fbc9ba1aa5 100644 --- a/kubernetes/docs/V1LocalSubjectAccessReview.md +++ b/kubernetes/docs/V1LocalSubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1LocalVolumeSource.md b/kubernetes/docs/V1LocalVolumeSource.md new file mode 100644 index 0000000000..cfa31e04e2 --- /dev/null +++ b/kubernetes/docs/V1LocalVolumeSource.md @@ -0,0 +1,10 @@ + +# V1LocalVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **String** | The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device | + + + diff --git a/kubernetes/docs/V1NFSVolumeSource.md b/kubernetes/docs/V1NFSVolumeSource.md index 4ffea45353..a74b7ab085 100644 --- a/kubernetes/docs/V1NFSVolumeSource.md +++ b/kubernetes/docs/V1NFSVolumeSource.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path** | **String** | Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | -**readOnly** | **Boolean** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] -**server** | **String** | Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | +**path** | **String** | Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | +**readOnly** | **Boolean** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] +**server** | **String** | Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | diff --git a/kubernetes/docs/V1Namespace.md b/kubernetes/docs/V1Namespace.md index 6d2828f611..f43a28fc4a 100644 --- a/kubernetes/docs/V1Namespace.md +++ b/kubernetes/docs/V1Namespace.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1NamespaceSpec**](V1NamespaceSpec.md) | Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1NamespaceStatus**](V1NamespaceStatus.md) | Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1NamespaceSpec**](V1NamespaceSpec.md) | Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1NamespaceStatus**](V1NamespaceStatus.md) | Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1NamespaceList.md b/kubernetes/docs/V1NamespaceList.md index c880af01a8..e1072c937f 100644 --- a/kubernetes/docs/V1NamespaceList.md +++ b/kubernetes/docs/V1NamespaceList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1Namespace>**](V1Namespace.md) | Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1Namespace>**](V1Namespace.md) | Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1NamespaceSpec.md b/kubernetes/docs/V1NamespaceSpec.md index b7e1e63939..031bcc3f1c 100644 --- a/kubernetes/docs/V1NamespaceSpec.md +++ b/kubernetes/docs/V1NamespaceSpec.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**finalizers** | **List<String>** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers | [optional] +**finalizers** | **List<String>** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers | [optional] diff --git a/kubernetes/docs/V1NamespaceStatus.md b/kubernetes/docs/V1NamespaceStatus.md index 16f1d61066..cf9e6f256a 100644 --- a/kubernetes/docs/V1NamespaceStatus.md +++ b/kubernetes/docs/V1NamespaceStatus.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases | [optional] +**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases | [optional] diff --git a/kubernetes/docs/V1beta1ThirdPartyResource.md b/kubernetes/docs/V1NetworkPolicy.md similarity index 52% rename from kubernetes/docs/V1beta1ThirdPartyResource.md rename to kubernetes/docs/V1NetworkPolicy.md index 673cdc91d1..e21b2f256d 100644 --- a/kubernetes/docs/V1beta1ThirdPartyResource.md +++ b/kubernetes/docs/V1NetworkPolicy.md @@ -1,14 +1,13 @@ -# V1beta1ThirdPartyResource +# V1NetworkPolicy ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**description** | **String** | Description is the description of this object. | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata | [optional] -**versions** | [**List<V1beta1APIVersion>**](V1beta1APIVersion.md) | Versions are versions for this third party object | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1NetworkPolicySpec**](V1NetworkPolicySpec.md) | Specification of the desired behavior for this NetworkPolicy. | [optional] diff --git a/kubernetes/docs/V1NetworkPolicyEgressRule.md b/kubernetes/docs/V1NetworkPolicyEgressRule.md new file mode 100644 index 0000000000..ac15167cf0 --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicyEgressRule.md @@ -0,0 +1,11 @@ + +# V1NetworkPolicyEgressRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ports** | [**List<V1NetworkPolicyPort>**](V1NetworkPolicyPort.md) | List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional] +**to** | [**List<V1NetworkPolicyPeer>**](V1NetworkPolicyPeer.md) | List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. | [optional] + + + diff --git a/kubernetes/docs/V1NetworkPolicyIngressRule.md b/kubernetes/docs/V1NetworkPolicyIngressRule.md new file mode 100644 index 0000000000..9793a070c7 --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicyIngressRule.md @@ -0,0 +1,11 @@ + +# V1NetworkPolicyIngressRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**from** | [**List<V1NetworkPolicyPeer>**](V1NetworkPolicyPeer.md) | List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. | [optional] +**ports** | [**List<V1NetworkPolicyPort>**](V1NetworkPolicyPort.md) | List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional] + + + diff --git a/kubernetes/docs/V1NetworkPolicyList.md b/kubernetes/docs/V1NetworkPolicyList.md new file mode 100644 index 0000000000..8848e0e558 --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicyList.md @@ -0,0 +1,13 @@ + +# V1NetworkPolicyList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1NetworkPolicy>**](V1NetworkPolicy.md) | Items is a list of schema objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1NetworkPolicyPeer.md b/kubernetes/docs/V1NetworkPolicyPeer.md new file mode 100644 index 0000000000..7965a69671 --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicyPeer.md @@ -0,0 +1,12 @@ + +# V1NetworkPolicyPeer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipBlock** | [**V1IPBlock**](V1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] +**namespaceSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] +**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] + + + diff --git a/kubernetes/docs/V1NetworkPolicyPort.md b/kubernetes/docs/V1NetworkPolicyPort.md new file mode 100644 index 0000000000..f387e58ffc --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicyPort.md @@ -0,0 +1,11 @@ + +# V1NetworkPolicyPort + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **String** | The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. | [optional] +**protocol** | **String** | The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional] + + + diff --git a/kubernetes/docs/V1NetworkPolicySpec.md b/kubernetes/docs/V1NetworkPolicySpec.md new file mode 100644 index 0000000000..857ca4a194 --- /dev/null +++ b/kubernetes/docs/V1NetworkPolicySpec.md @@ -0,0 +1,13 @@ + +# V1NetworkPolicySpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**egress** | [**List<V1NetworkPolicyEgressRule>**](V1NetworkPolicyEgressRule.md) | List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 | [optional] +**ingress** | [**List<V1NetworkPolicyIngressRule>**](V1NetworkPolicyIngressRule.md) | List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) | [optional] +**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. | +**policyTypes** | **List<String>** | List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 | [optional] + + + diff --git a/kubernetes/docs/V1Node.md b/kubernetes/docs/V1Node.md index 8755cbf39a..3ea6551e80 100644 --- a/kubernetes/docs/V1Node.md +++ b/kubernetes/docs/V1Node.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1NodeSpec**](V1NodeSpec.md) | Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1NodeStatus**](V1NodeStatus.md) | Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1NodeSpec**](V1NodeSpec.md) | Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1NodeStatus**](V1NodeStatus.md) | Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1NodeConfigSource.md b/kubernetes/docs/V1NodeConfigSource.md new file mode 100644 index 0000000000..446806892d --- /dev/null +++ b/kubernetes/docs/V1NodeConfigSource.md @@ -0,0 +1,12 @@ + +# V1NodeConfigSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**configMapRef** | [**V1ObjectReference**](V1ObjectReference.md) | | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + + diff --git a/kubernetes/docs/V1NodeList.md b/kubernetes/docs/V1NodeList.md index a087282221..33c2151c59 100644 --- a/kubernetes/docs/V1NodeList.md +++ b/kubernetes/docs/V1NodeList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1Node>**](V1Node.md) | List of nodes | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1NodeSpec.md b/kubernetes/docs/V1NodeSpec.md index 1969198560..c7a257b4eb 100644 --- a/kubernetes/docs/V1NodeSpec.md +++ b/kubernetes/docs/V1NodeSpec.md @@ -4,11 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**configSource** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field | [optional] **externalID** | **String** | External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. | [optional] **podCIDR** | **String** | PodCIDR represents the pod IP range assigned to the node. | [optional] **providerID** | **String** | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> | [optional] **taints** | [**List<V1Taint>**](V1Taint.md) | If specified, the node's taints. | [optional] -**unschedulable** | **Boolean** | Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration | [optional] +**unschedulable** | **Boolean** | Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration | [optional] diff --git a/kubernetes/docs/V1NodeStatus.md b/kubernetes/docs/V1NodeStatus.md index dfd017ef66..0b70070ebe 100644 --- a/kubernetes/docs/V1NodeStatus.md +++ b/kubernetes/docs/V1NodeStatus.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**addresses** | [**List<V1NodeAddress>**](V1NodeAddress.md) | List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses | [optional] +**addresses** | [**List<V1NodeAddress>**](V1NodeAddress.md) | List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses | [optional] **allocatable** | **Map<String, String>** | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional] -**capacity** | **Map<String, String>** | Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. | [optional] -**conditions** | [**List<V1NodeCondition>**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition | [optional] +**capacity** | **Map<String, String>** | Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] +**conditions** | [**List<V1NodeCondition>**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition | [optional] **daemonEndpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | Endpoints of daemons running on the Node. | [optional] **images** | [**List<V1ContainerImage>**](V1ContainerImage.md) | List of container images on this node | [optional] -**nodeInfo** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info | [optional] -**phase** | **String** | NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated. | [optional] +**nodeInfo** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info | [optional] +**phase** | **String** | NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. | [optional] **volumesAttached** | [**List<V1AttachedVolume>**](V1AttachedVolume.md) | List of volumes that are attached to the node. | [optional] **volumesInUse** | **List<String>** | List of attachable volumes in use (mounted) by the node. | [optional] diff --git a/kubernetes/docs/V1NodeSystemInfo.md b/kubernetes/docs/V1NodeSystemInfo.md index 014b3afebf..c4325309e3 100644 --- a/kubernetes/docs/V1NodeSystemInfo.md +++ b/kubernetes/docs/V1NodeSystemInfo.md @@ -10,10 +10,10 @@ Name | Type | Description | Notes **kernelVersion** | **String** | Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). | **kubeProxyVersion** | **String** | KubeProxy Version reported by the node. | **kubeletVersion** | **String** | Kubelet Version reported by the node. | -**machineID** | **String** | MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html | +**machineID** | **String** | MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html | **operatingSystem** | **String** | The Operating System reported by the node | **osImage** | **String** | OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). | -**systemUUID** | **String** | SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html | +**systemUUID** | **String** | SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html | diff --git a/kubernetes/docs/V1NonResourceRule.md b/kubernetes/docs/V1NonResourceRule.md new file mode 100644 index 0000000000..58a262d9d4 --- /dev/null +++ b/kubernetes/docs/V1NonResourceRule.md @@ -0,0 +1,11 @@ + +# V1NonResourceRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nonResourceURLs** | **List<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. | [optional] +**verbs** | **List<String>** | Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. | + + + diff --git a/kubernetes/docs/V1ObjectMeta.md b/kubernetes/docs/V1ObjectMeta.md index 0dc62ed7d9..402edcaf73 100644 --- a/kubernetes/docs/V1ObjectMeta.md +++ b/kubernetes/docs/V1ObjectMeta.md @@ -6,17 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **annotations** | **Map<String, String>** | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | [optional] **clusterName** | **String** | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | [optional] -**creationTimestamp** | [**DateTime**](DateTime.md) | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**creationTimestamp** | [**DateTime**](DateTime.md) | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **deletionGracePeriodSeconds** | **Long** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional] -**deletionTimestamp** | [**DateTime**](DateTime.md) | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**deletionTimestamp** | [**DateTime**](DateTime.md) | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **finalizers** | **List<String>** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. | [optional] -**generateName** | **String** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency | [optional] +**generateName** | **String** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency | [optional] **generation** | **Long** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] +**initializers** | [**V1Initializers**](V1Initializers.md) | An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user. | [optional] **labels** | **Map<String, String>** | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | [optional] **name** | **String** | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] **namespace** | **String** | Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional] **ownerReferences** | [**List<V1OwnerReference>**](V1OwnerReference.md) | List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. | [optional] -**resourceVersion** | **String** | An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] +**resourceVersion** | **String** | An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | [optional] **selfLink** | **String** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [optional] **uid** | **String** | UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [optional] diff --git a/kubernetes/docs/V1ObjectReference.md b/kubernetes/docs/V1ObjectReference.md index cf1e71e430..a87a1307e8 100644 --- a/kubernetes/docs/V1ObjectReference.md +++ b/kubernetes/docs/V1ObjectReference.md @@ -6,11 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | API version of the referent. | [optional] **fieldPath** | **String** | If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. | [optional] -**kind** | **String** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] -**namespace** | **String** | Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional] -**resourceVersion** | **String** | Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] -**uid** | **String** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [optional] +**kind** | **String** | Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] +**namespace** | **String** | Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ | [optional] +**resourceVersion** | **String** | Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | [optional] +**uid** | **String** | UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids | [optional] diff --git a/kubernetes/docs/V1OwnerReference.md b/kubernetes/docs/V1OwnerReference.md index 419fb2f2d2..9709ba036e 100644 --- a/kubernetes/docs/V1OwnerReference.md +++ b/kubernetes/docs/V1OwnerReference.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **apiVersion** | **String** | API version of the referent. | **blockOwnerDeletion** | **Boolean** | If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. | [optional] **controller** | **Boolean** | If true, this reference points to the managing controller. | [optional] -**kind** | **String** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | +**kind** | **String** | Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | **name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | **uid** | **String** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | diff --git a/kubernetes/docs/V1PersistentVolume.md b/kubernetes/docs/V1PersistentVolume.md index e402a395ed..eeeef54734 100644 --- a/kubernetes/docs/V1PersistentVolume.md +++ b/kubernetes/docs/V1PersistentVolume.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional] -**status** | [**V1PersistentVolumeStatus**](V1PersistentVolumeStatus.md) | Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes | [optional] +**status** | [**V1PersistentVolumeStatus**](V1PersistentVolumeStatus.md) | Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaim.md b/kubernetes/docs/V1PersistentVolumeClaim.md index 9e48a641c2..155db7a3ed 100644 --- a/kubernetes/docs/V1PersistentVolumeClaim.md +++ b/kubernetes/docs/V1PersistentVolumeClaim.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] -**status** | [**V1PersistentVolumeClaimStatus**](V1PersistentVolumeClaimStatus.md) | Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | [optional] +**status** | [**V1PersistentVolumeClaimStatus**](V1PersistentVolumeClaimStatus.md) | Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimCondition.md b/kubernetes/docs/V1PersistentVolumeClaimCondition.md new file mode 100644 index 0000000000..ac8c2bf23c --- /dev/null +++ b/kubernetes/docs/V1PersistentVolumeClaimCondition.md @@ -0,0 +1,15 @@ + +# V1PersistentVolumeClaimCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastProbeTime** | [**DateTime**](DateTime.md) | Last time we probed the condition. | [optional] +**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | Human-readable message indicating details about last transition. | [optional] +**reason** | **String** | Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. | [optional] +**status** | **String** | | +**type** | **String** | | + + + diff --git a/kubernetes/docs/V1PersistentVolumeClaimList.md b/kubernetes/docs/V1PersistentVolumeClaimList.md index 791b660f4c..9f36c96121 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimList.md +++ b/kubernetes/docs/V1PersistentVolumeClaimList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md index 689961661f..feaf45c6d0 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md +++ b/kubernetes/docs/V1PersistentVolumeClaimSpec.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accessModes** | **List<String>** | AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional] -**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional] +**accessModes** | **List<String>** | AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] +**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over volumes to consider for binding. | [optional] -**storageClassName** | **String** | Name of the StorageClass required by the claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#class-1 | [optional] +**storageClassName** | **String** | Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] **volumeName** | **String** | VolumeName is the binding reference to the PersistentVolume backing this claim. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimStatus.md b/kubernetes/docs/V1PersistentVolumeClaimStatus.md index 32ef60dc7d..b9d3fce33a 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimStatus.md +++ b/kubernetes/docs/V1PersistentVolumeClaimStatus.md @@ -4,8 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accessModes** | **List<String>** | AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional] +**accessModes** | **List<String>** | AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] **capacity** | **Map<String, String>** | Represents the actual resources of the underlying volume. | [optional] +**conditions** | [**List<V1PersistentVolumeClaimCondition>**](V1PersistentVolumeClaimCondition.md) | Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. | [optional] **phase** | **String** | Phase represents the current phase of PersistentVolumeClaim. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md b/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md index 44c88644b8..d130526815 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md +++ b/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**claimName** | **String** | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | +**claimName** | **String** | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | **readOnly** | **Boolean** | Will force the ReadOnly setting in VolumeMounts. Default false. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeList.md b/kubernetes/docs/V1PersistentVolumeList.md index 04d8782158..c03bea4e04 100644 --- a/kubernetes/docs/V1PersistentVolumeList.md +++ b/kubernetes/docs/V1PersistentVolumeList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1PersistentVolume>**](V1PersistentVolume.md) | List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1PersistentVolume>**](V1PersistentVolume.md) | List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index 9876bb1f6b..b4354ac067 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -4,29 +4,32 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accessModes** | **List<String>** | AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes | [optional] -**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**accessModes** | **List<String>** | AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes | [optional] +**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | [optional] **azureDisk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional] -**azureFile** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] -**capacity** | **Map<String, String>** | A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity | [optional] -**cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] -**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] -**claimRef** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding | [optional] +**azureFile** | [**V1AzureFilePersistentVolumeSource**](V1AzureFilePersistentVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] +**capacity** | **Map<String, String>** | A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] +**cephfs** | [**V1CephFSPersistentVolumeSource**](V1CephFSPersistentVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] +**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**claimRef** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding | [optional] **fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] **flexVolume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running | [optional] -**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] -**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] -**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional] +**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] +**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] **iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional] -**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] -**persistentVolumeReclaimPolicy** | **String** | What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy | [optional] +**local** | [**V1LocalVolumeSource**](V1LocalVolumeSource.md) | Local represents directly-attached storage with node affinity | [optional] +**mountOptions** | **List<String>** | A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options | [optional] +**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] +**persistentVolumeReclaimPolicy** | **String** | What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming | [optional] **photonPersistentDisk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional] **portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional] **quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional] -**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] +**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] **scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional] **storageClassName** | **String** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] +**storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md | [optional] **vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeStatus.md b/kubernetes/docs/V1PersistentVolumeStatus.md index d99f88d245..3e221a372a 100644 --- a/kubernetes/docs/V1PersistentVolumeStatus.md +++ b/kubernetes/docs/V1PersistentVolumeStatus.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message** | **String** | A human-readable message indicating details about why the volume is in this state. | [optional] -**phase** | **String** | Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase | [optional] +**phase** | **String** | Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase | [optional] **reason** | **String** | Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [optional] diff --git a/kubernetes/docs/V1Pod.md b/kubernetes/docs/V1Pod.md index 3574ceaed1..4bf498b370 100644 --- a/kubernetes/docs/V1Pod.md +++ b/kubernetes/docs/V1Pod.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1PodStatus**](V1PodStatus.md) | Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1PodStatus**](V1PodStatus.md) | Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1PodAffinity.md b/kubernetes/docs/V1PodAffinity.md index e4a7be89b8..e698cc0519 100644 --- a/kubernetes/docs/V1PodAffinity.md +++ b/kubernetes/docs/V1PodAffinity.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **preferredDuringSchedulingIgnoredDuringExecution** | [**List<V1WeightedPodAffinityTerm>**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional] -**requiredDuringSchedulingIgnoredDuringExecution** | [**List<V1PodAffinityTerm>**](V1PodAffinityTerm.md) | NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional] +**requiredDuringSchedulingIgnoredDuringExecution** | [**List<V1PodAffinityTerm>**](V1PodAffinityTerm.md) | If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional] diff --git a/kubernetes/docs/V1PodAntiAffinity.md b/kubernetes/docs/V1PodAntiAffinity.md index 0f392c6711..aea0261a97 100644 --- a/kubernetes/docs/V1PodAntiAffinity.md +++ b/kubernetes/docs/V1PodAntiAffinity.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **preferredDuringSchedulingIgnoredDuringExecution** | [**List<V1WeightedPodAffinityTerm>**](V1WeightedPodAffinityTerm.md) | The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. | [optional] -**requiredDuringSchedulingIgnoredDuringExecution** | [**List<V1PodAffinityTerm>**](V1PodAffinityTerm.md) | NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional] +**requiredDuringSchedulingIgnoredDuringExecution** | [**List<V1PodAffinityTerm>**](V1PodAffinityTerm.md) | If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. | [optional] diff --git a/kubernetes/docs/V1PodCondition.md b/kubernetes/docs/V1PodCondition.md index 4506721c69..0e7a8172b9 100644 --- a/kubernetes/docs/V1PodCondition.md +++ b/kubernetes/docs/V1PodCondition.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] -**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | -**type** | **String** | Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | +**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | +**type** | **String** | Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | diff --git a/kubernetes/docs/V1PodList.md b/kubernetes/docs/V1PodList.md index 0211649165..5d735194e7 100644 --- a/kubernetes/docs/V1PodList.md +++ b/kubernetes/docs/V1PodList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1Pod>**](V1Pod.md) | List of pods. More info: http://kubernetes.io/docs/user-guide/pods | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1Pod>**](V1Pod.md) | List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index 0f882df65c..2f72f17eef 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -7,25 +7,28 @@ Name | Type | Description | Notes **activeDeadlineSeconds** | **Long** | Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. | [optional] **affinity** | [**V1Affinity**](V1Affinity.md) | If specified, the pod's scheduling constraints | [optional] **automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional] -**containers** | [**List<V1Container>**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers | +**containers** | [**List<V1Container>**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. | **dnsPolicy** | **String** | Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] +**hostAliases** | [**List<V1HostAlias>**](V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. | [optional] **hostIPC** | **Boolean** | Use the host's ipc namespace. Optional: Default to false. | [optional] **hostNetwork** | **Boolean** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional] **hostPID** | **Boolean** | Use the host's pid namespace. Optional: Default to false. | [optional] **hostname** | **String** | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. | [optional] -**imagePullSecrets** | [**List<V1LocalObjectReference>**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod | [optional] -**initContainers** | [**List<V1Container>**](V1Container.md) | List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers | [optional] +**imagePullSecrets** | [**List<V1LocalObjectReference>**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod | [optional] +**initContainers** | [**List<V1Container>**](V1Container.md) | List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ | [optional] **nodeName** | **String** | NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. | [optional] -**nodeSelector** | **Map<String, String>** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README | [optional] -**restartPolicy** | **String** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy | [optional] +**nodeSelector** | **Map<String, String>** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional] +**priority** | **Integer** | The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. | [optional] +**priorityClassName** | **String** | If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. | [optional] +**restartPolicy** | **String** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy | [optional] **schedulerName** | **String** | If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. | [optional] **securityContext** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. | [optional] **serviceAccount** | **String** | DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. | [optional] -**serviceAccountName** | **String** | ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md | [optional] +**serviceAccountName** | **String** | ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | [optional] **subdomain** | **String** | If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. | [optional] **terminationGracePeriodSeconds** | **Long** | Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. | [optional] **tolerations** | [**List<V1Toleration>**](V1Toleration.md) | If specified, the pod's tolerations. | [optional] -**volumes** | [**List<V1Volume>**](V1Volume.md) | List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes | [optional] +**volumes** | [**List<V1Volume>**](V1Volume.md) | List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes | [optional] diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md index d4b2d48b1a..85f8e0306a 100644 --- a/kubernetes/docs/V1PodStatus.md +++ b/kubernetes/docs/V1PodStatus.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**conditions** | [**List<V1PodCondition>**](V1PodCondition.md) | Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | [optional] -**containerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses | [optional] +**conditions** | [**List<V1PodCondition>**](V1PodCondition.md) | Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | [optional] +**containerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] **hostIP** | **String** | IP address of the host to which the pod is assigned. Empty if not yet scheduled. | [optional] -**initContainerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses | [optional] +**initContainerStatuses** | [**List<V1ContainerStatus>**](V1ContainerStatus.md) | The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] **message** | **String** | A human readable message indicating details about why the pod is in this condition. | [optional] -**phase** | **String** | Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase | [optional] +**phase** | **String** | Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase | [optional] **podIP** | **String** | IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. | [optional] **qosClass** | **String** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md | [optional] -**reason** | **String** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' | [optional] +**reason** | **String** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' | [optional] **startTime** | [**DateTime**](DateTime.md) | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. | [optional] diff --git a/kubernetes/docs/V1PodTemplate.md b/kubernetes/docs/V1PodTemplate.md index 3a2a545850..762cc300e7 100644 --- a/kubernetes/docs/V1PodTemplate.md +++ b/kubernetes/docs/V1PodTemplate.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1PodTemplateList.md b/kubernetes/docs/V1PodTemplateList.md index 036faf03f8..494ea0cd4d 100644 --- a/kubernetes/docs/V1PodTemplateList.md +++ b/kubernetes/docs/V1PodTemplateList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1PodTemplate>**](V1PodTemplate.md) | List of pod templates | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1PodTemplateSpec.md b/kubernetes/docs/V1PodTemplateSpec.md index 217558fb08..889c2cb38a 100644 --- a/kubernetes/docs/V1PodTemplateSpec.md +++ b/kubernetes/docs/V1PodTemplateSpec.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1PolicyRule.md b/kubernetes/docs/V1PolicyRule.md new file mode 100644 index 0000000000..daf354732c --- /dev/null +++ b/kubernetes/docs/V1PolicyRule.md @@ -0,0 +1,14 @@ + +# V1PolicyRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroups** | **List<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. | [optional] +**nonResourceURLs** | **List<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. | [optional] +**resourceNames** | **List<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. | [optional] +**resources** | **List<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. | [optional] +**verbs** | **List<String>** | Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. | + + + diff --git a/kubernetes/docs/V1Probe.md b/kubernetes/docs/V1Probe.md index 39e8a332c6..da4e01d96e 100644 --- a/kubernetes/docs/V1Probe.md +++ b/kubernetes/docs/V1Probe.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **exec** | [**V1ExecAction**](V1ExecAction.md) | One and only one of the following should be specified. Exec specifies the action to take. | [optional] **failureThreshold** | **Integer** | Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. | [optional] **httpGet** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional] -**initialDelaySeconds** | **Integer** | Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] +**initialDelaySeconds** | **Integer** | Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | [optional] **periodSeconds** | **Integer** | How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. | [optional] **successThreshold** | **Integer** | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. | [optional] **tcpSocket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported | [optional] -**timeoutSeconds** | **Integer** | Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] +**timeoutSeconds** | **Integer** | Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | [optional] diff --git a/kubernetes/docs/V1RBDVolumeSource.md b/kubernetes/docs/V1RBDVolumeSource.md index 3774092f18..4730d7d3a3 100644 --- a/kubernetes/docs/V1RBDVolumeSource.md +++ b/kubernetes/docs/V1RBDVolumeSource.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd | [optional] -**image** | **String** | The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | -**keyring** | **String** | Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] -**monitors** | **List<String>** | A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | -**pool** | **String** | The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. | [optional] -**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] -**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] -**user** | **String** | The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**fsType** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd | [optional] +**image** | **String** | The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**keyring** | **String** | Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**monitors** | **List<String>** | A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**pool** | **String** | The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**user** | **String** | The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] diff --git a/kubernetes/docs/V1ReplicationController.md b/kubernetes/docs/V1ReplicationController.md index 773130abeb..51ce4db7f2 100644 --- a/kubernetes/docs/V1ReplicationController.md +++ b/kubernetes/docs/V1ReplicationController.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1ReplicationControllerSpec**](V1ReplicationControllerSpec.md) | Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1ReplicationControllerStatus**](V1ReplicationControllerStatus.md) | Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1ReplicationControllerSpec**](V1ReplicationControllerSpec.md) | Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1ReplicationControllerStatus**](V1ReplicationControllerStatus.md) | Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ReplicationControllerList.md b/kubernetes/docs/V1ReplicationControllerList.md index 7fc33244af..2c43ccc994 100644 --- a/kubernetes/docs/V1ReplicationControllerList.md +++ b/kubernetes/docs/V1ReplicationControllerList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1ReplicationController>**](V1ReplicationController.md) | List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1ReplicationController>**](V1ReplicationController.md) | List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ReplicationControllerSpec.md b/kubernetes/docs/V1ReplicationControllerSpec.md index 210a488de1..60478b1dc6 100644 --- a/kubernetes/docs/V1ReplicationControllerSpec.md +++ b/kubernetes/docs/V1ReplicationControllerSpec.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] -**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional] -**selector** | **Map<String, String>** | Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [optional] +**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller | [optional] +**selector** | **Map<String, String>** | Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | [optional] diff --git a/kubernetes/docs/V1ReplicationControllerStatus.md b/kubernetes/docs/V1ReplicationControllerStatus.md index 231a816900..80aeda041d 100644 --- a/kubernetes/docs/V1ReplicationControllerStatus.md +++ b/kubernetes/docs/V1ReplicationControllerStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **fullyLabeledReplicas** | **Integer** | The number of pods that have labels matching the labels of the pod template of the replication controller. | [optional] **observedGeneration** | **Long** | ObservedGeneration reflects the generation of the most recently observed replication controller. | [optional] **readyReplicas** | **Integer** | The number of ready replicas for this replication controller. | [optional] -**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | +**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller | diff --git a/kubernetes/docs/V1ResourceQuota.md b/kubernetes/docs/V1ResourceQuota.md index a7e0aad64f..1352983e2b 100644 --- a/kubernetes/docs/V1ResourceQuota.md +++ b/kubernetes/docs/V1ResourceQuota.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1ResourceQuotaSpec**](V1ResourceQuotaSpec.md) | Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1ResourceQuotaStatus**](V1ResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1ResourceQuotaSpec**](V1ResourceQuotaSpec.md) | Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1ResourceQuotaStatus**](V1ResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaList.md b/kubernetes/docs/V1ResourceQuotaList.md index 5ed0b2ae29..fda57ab822 100644 --- a/kubernetes/docs/V1ResourceQuotaList.md +++ b/kubernetes/docs/V1ResourceQuotaList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1ResourceQuota>**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1ResourceQuota>**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaSpec.md b/kubernetes/docs/V1ResourceQuotaSpec.md index 86f0026948..4c526a5cf8 100644 --- a/kubernetes/docs/V1ResourceQuotaSpec.md +++ b/kubernetes/docs/V1ResourceQuotaSpec.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hard** | **Map<String, String>** | Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional] +**hard** | **Map<String, String>** | Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | [optional] **scopes** | **List<String>** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaStatus.md b/kubernetes/docs/V1ResourceQuotaStatus.md index 858c2e31e9..f03ca1282a 100644 --- a/kubernetes/docs/V1ResourceQuotaStatus.md +++ b/kubernetes/docs/V1ResourceQuotaStatus.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hard** | **Map<String, String>** | Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional] +**hard** | **Map<String, String>** | Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | [optional] **used** | **Map<String, String>** | Used is the current observed total usage of the resource in the namespace. | [optional] diff --git a/kubernetes/docs/V1ResourceRequirements.md b/kubernetes/docs/V1ResourceRequirements.md index e3cfb3928b..0a9c5bbd63 100644 --- a/kubernetes/docs/V1ResourceRequirements.md +++ b/kubernetes/docs/V1ResourceRequirements.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**limits** | **Map<String, String>** | Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [optional] -**requests** | **Map<String, String>** | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [optional] +**limits** | **Map<String, String>** | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | [optional] +**requests** | **Map<String, String>** | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | [optional] diff --git a/kubernetes/docs/V1ResourceRule.md b/kubernetes/docs/V1ResourceRule.md new file mode 100644 index 0000000000..1528309006 --- /dev/null +++ b/kubernetes/docs/V1ResourceRule.md @@ -0,0 +1,13 @@ + +# V1ResourceRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroups** | **List<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. | [optional] +**resourceNames** | **List<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. | [optional] +**resources** | **List<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. | [optional] +**verbs** | **List<String>** | Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | + + + diff --git a/kubernetes/docs/V1Role.md b/kubernetes/docs/V1Role.md new file mode 100644 index 0000000000..aedc004fa4 --- /dev/null +++ b/kubernetes/docs/V1Role.md @@ -0,0 +1,13 @@ + +# V1Role + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] +**rules** | [**List<V1PolicyRule>**](V1PolicyRule.md) | Rules holds all the PolicyRules for this Role | + + + diff --git a/kubernetes/docs/V1RoleBinding.md b/kubernetes/docs/V1RoleBinding.md new file mode 100644 index 0000000000..8073860565 --- /dev/null +++ b/kubernetes/docs/V1RoleBinding.md @@ -0,0 +1,14 @@ + +# V1RoleBinding + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] +**roleRef** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | +**subjects** | [**List<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | + + + diff --git a/kubernetes/docs/V1RoleBindingList.md b/kubernetes/docs/V1RoleBindingList.md new file mode 100644 index 0000000000..c3f17c1f6b --- /dev/null +++ b/kubernetes/docs/V1RoleBindingList.md @@ -0,0 +1,13 @@ + +# V1RoleBindingList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1RoleBinding>**](V1RoleBinding.md) | Items is a list of RoleBindings | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] + + + diff --git a/kubernetes/docs/V1RoleList.md b/kubernetes/docs/V1RoleList.md new file mode 100644 index 0000000000..d1442264bf --- /dev/null +++ b/kubernetes/docs/V1RoleList.md @@ -0,0 +1,13 @@ + +# V1RoleList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1Role>**](V1Role.md) | Items is a list of Roles | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] + + + diff --git a/kubernetes/docs/V1RoleRef.md b/kubernetes/docs/V1RoleRef.md new file mode 100644 index 0000000000..7e0e2bfb94 --- /dev/null +++ b/kubernetes/docs/V1RoleRef.md @@ -0,0 +1,12 @@ + +# V1RoleRef + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroup** | **String** | APIGroup is the group for the resource being referenced | +**kind** | **String** | Kind is the type of resource being referenced | +**name** | **String** | Name is the name of resource being referenced | + + + diff --git a/kubernetes/docs/V1Scale.md b/kubernetes/docs/V1Scale.md index c1e4d505d5..dcbaea3b1c 100644 --- a/kubernetes/docs/V1Scale.md +++ b/kubernetes/docs/V1Scale.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional] -**spec** | [**V1ScaleSpec**](V1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] -**status** | [**V1ScaleStatus**](V1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**spec** | [**V1ScaleSpec**](V1ScaleSpec.md) | defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**V1ScaleStatus**](V1ScaleStatus.md) | current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. | [optional] diff --git a/kubernetes/docs/V1Secret.md b/kubernetes/docs/V1Secret.md index 21475d9159..f5c901fc50 100644 --- a/kubernetes/docs/V1Secret.md +++ b/kubernetes/docs/V1Secret.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**data** | **Map<String, byte[]>** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**data** | **Map<String, byte[]>** | Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **stringData** | **Map<String, String>** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. | [optional] **type** | **String** | Used to facilitate programmatic handling of secret data. | [optional] diff --git a/kubernetes/docs/V1SecretEnvSource.md b/kubernetes/docs/V1SecretEnvSource.md index 537f577472..3a347890da 100644 --- a/kubernetes/docs/V1SecretEnvSource.md +++ b/kubernetes/docs/V1SecretEnvSource.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the Secret must be defined | [optional] diff --git a/kubernetes/docs/V1SecretKeySelector.md b/kubernetes/docs/V1SecretKeySelector.md index 9675aeb23c..ac3ff89357 100644 --- a/kubernetes/docs/V1SecretKeySelector.md +++ b/kubernetes/docs/V1SecretKeySelector.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **key** | **String** | The key of the secret to select from. Must be a valid secret key. | -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the Secret or it's key must be defined | [optional] diff --git a/kubernetes/docs/V1SecretList.md b/kubernetes/docs/V1SecretList.md index 5a2de46983..d376b3f50a 100644 --- a/kubernetes/docs/V1SecretList.md +++ b/kubernetes/docs/V1SecretList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1Secret>**](V1Secret.md) | Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1Secret>**](V1Secret.md) | Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1SecretProjection.md b/kubernetes/docs/V1SecretProjection.md index 94e44abcf5..193f288c93 100644 --- a/kubernetes/docs/V1SecretProjection.md +++ b/kubernetes/docs/V1SecretProjection.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] -**name** | **String** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] +**name** | **String** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] **optional** | **Boolean** | Specify whether the Secret or its key must be defined | [optional] diff --git a/kubernetes/docs/V1SecretReference.md b/kubernetes/docs/V1SecretReference.md new file mode 100644 index 0000000000..4d9a7d56fa --- /dev/null +++ b/kubernetes/docs/V1SecretReference.md @@ -0,0 +1,11 @@ + +# V1SecretReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name is unique within a namespace to reference a secret resource. | [optional] +**namespace** | **String** | Namespace defines the space within which the secret name must be unique. | [optional] + + + diff --git a/kubernetes/docs/V1SecretVolumeSource.md b/kubernetes/docs/V1SecretVolumeSource.md index 1abee78515..6edebfdf24 100644 --- a/kubernetes/docs/V1SecretVolumeSource.md +++ b/kubernetes/docs/V1SecretVolumeSource.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **defaultMode** | **Integer** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] **items** | [**List<V1KeyToPath>**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] **optional** | **Boolean** | Specify whether the Secret or it's keys must be defined | [optional] -**secretName** | **String** | Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [optional] +**secretName** | **String** | Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret | [optional] diff --git a/kubernetes/docs/V1SecurityContext.md b/kubernetes/docs/V1SecurityContext.md index 2f2299051e..61be4639e2 100644 --- a/kubernetes/docs/V1SecurityContext.md +++ b/kubernetes/docs/V1SecurityContext.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**allowPrivilegeEscalation** | **Boolean** | AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN | [optional] **capabilities** | [**V1Capabilities**](V1Capabilities.md) | The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. | [optional] **privileged** | **Boolean** | Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. | [optional] **readOnlyRootFilesystem** | **Boolean** | Whether this container has a read-only root filesystem. Default is false. | [optional] diff --git a/kubernetes/docs/V1SelfSubjectAccessReview.md b/kubernetes/docs/V1SelfSubjectAccessReview.md index 83fe1fafec..bcda8f8c88 100644 --- a/kubernetes/docs/V1SelfSubjectAccessReview.md +++ b/kubernetes/docs/V1SelfSubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SelfSubjectAccessReviewSpec**](V1SelfSubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. user and groups must be empty | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1SelfSubjectRulesReview.md b/kubernetes/docs/V1SelfSubjectRulesReview.md new file mode 100644 index 0000000000..d637cbd5da --- /dev/null +++ b/kubernetes/docs/V1SelfSubjectRulesReview.md @@ -0,0 +1,14 @@ + +# V1SelfSubjectRulesReview + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1SelfSubjectRulesReviewSpec**](V1SelfSubjectRulesReviewSpec.md) | Spec holds information about the request being evaluated. | +**status** | [**V1SubjectRulesReviewStatus**](V1SubjectRulesReviewStatus.md) | Status is filled in by the server and indicates the set of actions a user can perform. | [optional] + + + diff --git a/kubernetes/docs/V1SelfSubjectRulesReviewSpec.md b/kubernetes/docs/V1SelfSubjectRulesReviewSpec.md new file mode 100644 index 0000000000..04f1e85bd1 --- /dev/null +++ b/kubernetes/docs/V1SelfSubjectRulesReviewSpec.md @@ -0,0 +1,10 @@ + +# V1SelfSubjectRulesReviewSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**namespace** | **String** | Namespace to evaluate rules for. Required. | [optional] + + + diff --git a/kubernetes/docs/V1Service.md b/kubernetes/docs/V1Service.md index 3d57b9cd75..02b1868125 100644 --- a/kubernetes/docs/V1Service.md +++ b/kubernetes/docs/V1Service.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1ServiceSpec**](V1ServiceSpec.md) | Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1ServiceStatus**](V1ServiceStatus.md) | Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1ServiceSpec**](V1ServiceSpec.md) | Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1ServiceStatus**](V1ServiceStatus.md) | Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ServiceAccount.md b/kubernetes/docs/V1ServiceAccount.md index f6186b16f7..498c2acbef 100644 --- a/kubernetes/docs/V1ServiceAccount.md +++ b/kubernetes/docs/V1ServiceAccount.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. | [optional] -**imagePullSecrets** | [**List<V1LocalObjectReference>**](V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**secrets** | [**List<V1ObjectReference>**](V1ObjectReference.md) | Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets | [optional] +**imagePullSecrets** | [**List<V1LocalObjectReference>**](V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**secrets** | [**List<V1ObjectReference>**](V1ObjectReference.md) | Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret | [optional] diff --git a/kubernetes/docs/V1ServiceAccountList.md b/kubernetes/docs/V1ServiceAccountList.md index bac696a7da..8cb8b6ffa8 100644 --- a/kubernetes/docs/V1ServiceAccountList.md +++ b/kubernetes/docs/V1ServiceAccountList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1ServiceAccount>**](V1ServiceAccount.md) | List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1ServiceAccount>**](V1ServiceAccount.md) | List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ServiceList.md b/kubernetes/docs/V1ServiceList.md index 44975460ef..3d02836226 100644 --- a/kubernetes/docs/V1ServiceList.md +++ b/kubernetes/docs/V1ServiceList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1Service>**](V1Service.md) | List of services | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ServicePort.md b/kubernetes/docs/V1ServicePort.md index 70571f1914..4e380ebf65 100644 --- a/kubernetes/docs/V1ServicePort.md +++ b/kubernetes/docs/V1ServicePort.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service. | [optional] -**nodePort** | **Integer** | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport | [optional] +**nodePort** | **Integer** | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport | [optional] **port** | **Integer** | The port that will be exposed by this service. | **protocol** | **String** | The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP. | [optional] -**targetPort** | **String** | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service | [optional] +**targetPort** | **String** | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service | [optional] diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md index 1d1df8a37a..75509a3ba3 100644 --- a/kubernetes/docs/V1ServiceSpec.md +++ b/kubernetes/docs/V1ServiceSpec.md @@ -4,16 +4,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**clusterIP** | **String** | clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional] -**deprecatedPublicIPs** | **List<String>** | deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used. | [optional] -**externalIPs** | **List<String>** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field. | [optional] +**clusterIP** | **String** | clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] +**externalIPs** | **List<String>** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. | [optional] **externalName** | **String** | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName. | [optional] +**externalTrafficPolicy** | **String** | externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. | [optional] +**healthCheckNodePort** | **Integer** | healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local. | [optional] **loadBalancerIP** | **String** | Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. | [optional] -**loadBalancerSourceRanges** | **List<String>** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls | [optional] -**ports** | [**List<V1ServicePort>**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional] -**selector** | **Map<String, String>** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview | [optional] -**sessionAffinity** | **String** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional] -**type** | **String** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview | [optional] +**loadBalancerSourceRanges** | **List<String>** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ | [optional] +**ports** | [**List<V1ServicePort>**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] +**publishNotReadyAddresses** | **Boolean** | publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. | [optional] +**selector** | **Map<String, String>** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ | [optional] +**sessionAffinity** | **String** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] +**sessionAffinityConfig** | [**V1SessionAffinityConfig**](V1SessionAffinityConfig.md) | sessionAffinityConfig contains the configurations of session affinity. | [optional] +**type** | **String** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types | [optional] diff --git a/kubernetes/docs/V1SessionAffinityConfig.md b/kubernetes/docs/V1SessionAffinityConfig.md new file mode 100644 index 0000000000..33a67238c2 --- /dev/null +++ b/kubernetes/docs/V1SessionAffinityConfig.md @@ -0,0 +1,10 @@ + +# V1SessionAffinityConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientIP** | [**V1ClientIPConfig**](V1ClientIPConfig.md) | clientIP contains the configurations of Client IP based session affinity. | [optional] + + + diff --git a/kubernetes/docs/V1Status.md b/kubernetes/docs/V1Status.md index af455669b4..8a70abe74a 100644 --- a/kubernetes/docs/V1Status.md +++ b/kubernetes/docs/V1Status.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **code** | **Integer** | Suggested HTTP return code for this status, 0 if not set. | [optional] **details** | [**V1StatusDetails**](V1StatusDetails.md) | Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **message** | **String** | A human-readable description of the status of this operation. | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **reason** | **String** | A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | [optional] -**status** | **String** | Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**status** | **String** | Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1StatusDetails.md b/kubernetes/docs/V1StatusDetails.md index ede113b955..2335eac4a9 100644 --- a/kubernetes/docs/V1StatusDetails.md +++ b/kubernetes/docs/V1StatusDetails.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **causes** | [**List<V1StatusCause>**](V1StatusCause.md) | The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. | [optional] **group** | **String** | The group attribute of the resource associated with the status StatusReason. | [optional] -**kind** | **String** | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **String** | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). | [optional] -**retryAfterSeconds** | **Integer** | If specified, the time in seconds before the operation should be retried. | [optional] +**retryAfterSeconds** | **Integer** | If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. | [optional] +**uid** | **String** | UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [optional] diff --git a/kubernetes/docs/V1StorageClass.md b/kubernetes/docs/V1StorageClass.md index 6368bb8c19..2c4b05f46c 100644 --- a/kubernetes/docs/V1StorageClass.md +++ b/kubernetes/docs/V1StorageClass.md @@ -4,11 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**allowVolumeExpansion** | **Boolean** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**mountOptions** | **List<String>** | Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. | [optional] **parameters** | **Map<String, String>** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] **provisioner** | **String** | Provisioner indicates the type of the provisioner. | +**reclaimPolicy** | **String** | Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. | [optional] diff --git a/kubernetes/docs/V1StorageClassList.md b/kubernetes/docs/V1StorageClassList.md index 84d3fcd528..a41a7a1f53 100644 --- a/kubernetes/docs/V1StorageClassList.md +++ b/kubernetes/docs/V1StorageClassList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1StorageClass>**](V1StorageClass.md) | Items is the list of StorageClasses | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1StorageOSPersistentVolumeSource.md b/kubernetes/docs/V1StorageOSPersistentVolumeSource.md new file mode 100644 index 0000000000..ad98e1e14a --- /dev/null +++ b/kubernetes/docs/V1StorageOSPersistentVolumeSource.md @@ -0,0 +1,14 @@ + +# V1StorageOSPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secretRef** | [**V1ObjectReference**](V1ObjectReference.md) | SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. | [optional] +**volumeName** | **String** | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] +**volumeNamespace** | **String** | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [optional] + + + diff --git a/kubernetes/docs/V1StorageOSVolumeSource.md b/kubernetes/docs/V1StorageOSVolumeSource.md new file mode 100644 index 0000000000..91e3b1f95b --- /dev/null +++ b/kubernetes/docs/V1StorageOSVolumeSource.md @@ -0,0 +1,14 @@ + +# V1StorageOSVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. | [optional] +**volumeName** | **String** | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] +**volumeNamespace** | **String** | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [optional] + + + diff --git a/kubernetes/docs/V1Subject.md b/kubernetes/docs/V1Subject.md new file mode 100644 index 0000000000..71daa43d09 --- /dev/null +++ b/kubernetes/docs/V1Subject.md @@ -0,0 +1,13 @@ + +# V1Subject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroup** | **String** | APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. | [optional] +**kind** | **String** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. | +**name** | **String** | Name of the object being referenced. | +**namespace** | **String** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional] + + + diff --git a/kubernetes/docs/V1SubjectAccessReview.md b/kubernetes/docs/V1SubjectAccessReview.md index dacbb25ff5..a78a1ae33c 100644 --- a/kubernetes/docs/V1SubjectAccessReview.md +++ b/kubernetes/docs/V1SubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1SubjectAccessReviewSpec**](V1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1SubjectAccessReviewStatus**](V1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1SubjectAccessReviewSpec.md b/kubernetes/docs/V1SubjectAccessReviewSpec.md index 5cd9201596..716c245a10 100644 --- a/kubernetes/docs/V1SubjectAccessReviewSpec.md +++ b/kubernetes/docs/V1SubjectAccessReviewSpec.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **groups** | **List<String>** | Groups is the groups you're testing for. | [optional] **nonResourceAttributes** | [**V1NonResourceAttributes**](V1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] **resourceAttributes** | [**V1ResourceAttributes**](V1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional] +**uid** | **String** | UID information about the requesting user. | [optional] **user** | **String** | User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups | [optional] diff --git a/kubernetes/docs/V1SubjectRulesReviewStatus.md b/kubernetes/docs/V1SubjectRulesReviewStatus.md new file mode 100644 index 0000000000..c942e5fa70 --- /dev/null +++ b/kubernetes/docs/V1SubjectRulesReviewStatus.md @@ -0,0 +1,13 @@ + +# V1SubjectRulesReviewStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**evaluationError** | **String** | EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. | [optional] +**incomplete** | **Boolean** | Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. | +**nonResourceRules** | [**List<V1NonResourceRule>**](V1NonResourceRule.md) | NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. | +**resourceRules** | [**List<V1ResourceRule>**](V1ResourceRule.md) | ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. | + + + diff --git a/kubernetes/docs/V1TCPSocketAction.md b/kubernetes/docs/V1TCPSocketAction.md index 56cea78c0a..7e2612f36f 100644 --- a/kubernetes/docs/V1TCPSocketAction.md +++ b/kubernetes/docs/V1TCPSocketAction.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**host** | **String** | Optional: Host name to connect to, defaults to the pod IP. | [optional] **port** | **String** | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | diff --git a/kubernetes/docs/V1TokenReview.md b/kubernetes/docs/V1TokenReview.md index cdd5ccf563..5e00b89438 100644 --- a/kubernetes/docs/V1TokenReview.md +++ b/kubernetes/docs/V1TokenReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1TokenReviewSpec**](V1TokenReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1TokenReviewStatus**](V1TokenReviewStatus.md) | Status is filled in by the server and indicates whether the request can be authenticated. | [optional] diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md index 5d5d69cce5..10f36f5d39 100644 --- a/kubernetes/docs/V1Volume.md +++ b/kubernetes/docs/V1Volume.md @@ -4,32 +4,33 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**awsElasticBlockStore** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | [optional] **azureDisk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional] **azureFile** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] **cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] -**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **configMap** | [**V1ConfigMapVolumeSource**](V1ConfigMapVolumeSource.md) | ConfigMap represents a configMap that should populate this volume | [optional] **downwardAPI** | [**V1DownwardAPIVolumeSource**](V1DownwardAPIVolumeSource.md) | DownwardAPI represents downward API about the pod that should populate this volume | [optional] -**emptyDir** | [**V1EmptyDirVolumeSource**](V1EmptyDirVolumeSource.md) | EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional] +**emptyDir** | [**V1EmptyDirVolumeSource**](V1EmptyDirVolumeSource.md) | EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | [optional] **fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] **flexVolume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running | [optional] -**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**gcePersistentDisk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] **gitRepo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. | [optional] -**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] -**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional] -**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional] -**name** | **String** | Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names | -**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] -**persistentVolumeClaim** | [**V1PersistentVolumeClaimVolumeSource**](V1PersistentVolumeClaimVolumeSource.md) | PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] +**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**hostPath** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] +**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional] +**name** | **String** | Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | +**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] +**persistentVolumeClaim** | [**V1PersistentVolumeClaimVolumeSource**](V1PersistentVolumeClaimVolumeSource.md) | PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | [optional] **photonPersistentDisk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional] **portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional] **projected** | [**V1ProjectedVolumeSource**](V1ProjectedVolumeSource.md) | Items for all in one resources secrets, configmaps, and downward API | [optional] **quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional] -**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] +**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] **scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional] -**secret** | [**V1SecretVolumeSource**](V1SecretVolumeSource.md) | Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [optional] +**secret** | [**V1SecretVolumeSource**](V1SecretVolumeSource.md) | Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret | [optional] +**storageos** | [**V1StorageOSVolumeSource**](V1StorageOSVolumeSource.md) | StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. | [optional] **vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional] diff --git a/kubernetes/docs/V1VolumeMount.md b/kubernetes/docs/V1VolumeMount.md index bb7fa131ee..24a836f9bf 100644 --- a/kubernetes/docs/V1VolumeMount.md +++ b/kubernetes/docs/V1VolumeMount.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mountPath** | **String** | Path within the container at which the volume should be mounted. Must not contain ':'. | +**mountPropagation** | **String** | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release. | [optional] **name** | **String** | This must match the Name of a Volume. | **readOnly** | **Boolean** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional] **subPath** | **String** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [optional] diff --git a/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md b/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md index e17ed3b99f..f370339643 100644 --- a/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md +++ b/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**storagePolicyID** | **String** | Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. | [optional] +**storagePolicyName** | **String** | Storage Policy Based Management (SPBM) profile name. | [optional] **volumePath** | **String** | Path that identifies vSphere volume vmdk | diff --git a/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md b/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md new file mode 100644 index 0000000000..2bf9dd8e24 --- /dev/null +++ b/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md @@ -0,0 +1,11 @@ + +# V1alpha1AdmissionHookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**caBundle** | **byte[]** | CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required | +**service** | [**V1alpha1ServiceReference**](V1alpha1ServiceReference.md) | Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required | + + + diff --git a/kubernetes/docs/V1alpha1ClusterRole.md b/kubernetes/docs/V1alpha1ClusterRole.md index 4e5cab07c6..ea15775e4a 100644 --- a/kubernetes/docs/V1alpha1ClusterRole.md +++ b/kubernetes/docs/V1alpha1ClusterRole.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**List<V1alpha1PolicyRule>**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md index fe31143248..97dd1aa1b4 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBinding.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **roleRef** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**List<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md index 3b3b5b60a7..27f399d6b6 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1alpha1ClusterRoleBinding>**](V1alpha1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1alpha1ClusterRoleList.md b/kubernetes/docs/V1alpha1ClusterRoleList.md index 79052aebea..8a16dc45dd 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1alpha1ClusterRole>**](V1alpha1ClusterRole.md) | Items is a list of ClusterRoles | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHook.md b/kubernetes/docs/V1alpha1ExternalAdmissionHook.md new file mode 100644 index 0000000000..569940ac7d --- /dev/null +++ b/kubernetes/docs/V1alpha1ExternalAdmissionHook.md @@ -0,0 +1,13 @@ + +# V1alpha1ExternalAdmissionHook + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**clientConfig** | [**V1alpha1AdmissionHookClientConfig**](V1alpha1AdmissionHookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required | +**failurePolicy** | **String** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional] +**name** | **String** | The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. | +**rules** | [**List<V1alpha1RuleWithOperations>**](V1alpha1RuleWithOperations.md) | Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md b/kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md new file mode 100644 index 0000000000..18c2255dc1 --- /dev/null +++ b/kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md @@ -0,0 +1,13 @@ + +# V1alpha1ExternalAdmissionHookConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**externalAdmissionHooks** | [**List<V1alpha1ExternalAdmissionHook>**](V1alpha1ExternalAdmissionHook.md) | ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md b/kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md new file mode 100644 index 0000000000..e48fb365d4 --- /dev/null +++ b/kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md @@ -0,0 +1,13 @@ + +# V1alpha1ExternalAdmissionHookConfigurationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1alpha1ExternalAdmissionHookConfiguration>**](V1alpha1ExternalAdmissionHookConfiguration.md) | List of ExternalAdmissionHookConfiguration. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + + diff --git a/kubernetes/docs/V1alpha1Initializer.md b/kubernetes/docs/V1alpha1Initializer.md new file mode 100644 index 0000000000..8913b435b6 --- /dev/null +++ b/kubernetes/docs/V1alpha1Initializer.md @@ -0,0 +1,11 @@ + +# V1alpha1Initializer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required | +**rules** | [**List<V1alpha1Rule>**](V1alpha1Rule.md) | Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1InitializerConfiguration.md b/kubernetes/docs/V1alpha1InitializerConfiguration.md new file mode 100644 index 0000000000..d6bffa1365 --- /dev/null +++ b/kubernetes/docs/V1alpha1InitializerConfiguration.md @@ -0,0 +1,13 @@ + +# V1alpha1InitializerConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**initializers** | [**List<V1alpha1Initializer>**](V1alpha1Initializer.md) | Initializers is a list of resources and their default initializers Order-sensitive. When merging multiple InitializerConfigurations, we sort the initializers from different InitializerConfigurations by the name of the InitializerConfigurations; the order of the initializers from the same InitializerConfiguration is preserved. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1InitializerConfigurationList.md b/kubernetes/docs/V1alpha1InitializerConfigurationList.md new file mode 100644 index 0000000000..5ae36b11ec --- /dev/null +++ b/kubernetes/docs/V1alpha1InitializerConfigurationList.md @@ -0,0 +1,13 @@ + +# V1alpha1InitializerConfigurationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1alpha1InitializerConfiguration>**](V1alpha1InitializerConfiguration.md) | List of InitializerConfiguration. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + + diff --git a/kubernetes/docs/V1alpha1PodPreset.md b/kubernetes/docs/V1alpha1PodPreset.md index 976feb1c64..5b8f7c57d3 100644 --- a/kubernetes/docs/V1alpha1PodPreset.md +++ b/kubernetes/docs/V1alpha1PodPreset.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha1PodPresetSpec**](V1alpha1PodPresetSpec.md) | | [optional] diff --git a/kubernetes/docs/V1alpha1PodPresetList.md b/kubernetes/docs/V1alpha1PodPresetList.md index c82de5dd7a..b51faa7a06 100644 --- a/kubernetes/docs/V1alpha1PodPresetList.md +++ b/kubernetes/docs/V1alpha1PodPresetList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1alpha1PodPreset>**](V1alpha1PodPreset.md) | Items is a list of schema objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1alpha1PriorityClass.md b/kubernetes/docs/V1alpha1PriorityClass.md new file mode 100644 index 0000000000..2016823c69 --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityClass.md @@ -0,0 +1,15 @@ + +# V1alpha1PriorityClass + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**description** | **String** | description is an arbitrary string that usually provides guidelines on when this priority class should be used. | [optional] +**globalDefault** | **Boolean** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**value** | **Integer** | The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. | + + + diff --git a/kubernetes/docs/V1alpha1PriorityClassList.md b/kubernetes/docs/V1alpha1PriorityClassList.md new file mode 100644 index 0000000000..5e02a92b56 --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityClassList.md @@ -0,0 +1,13 @@ + +# V1alpha1PriorityClassList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1alpha1PriorityClass>**](V1alpha1PriorityClass.md) | items is the list of PriorityClasses | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1alpha1Role.md b/kubernetes/docs/V1alpha1Role.md index 7fe7c8039c..234dd20c37 100644 --- a/kubernetes/docs/V1alpha1Role.md +++ b/kubernetes/docs/V1alpha1Role.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**List<V1alpha1PolicyRule>**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this Role | diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md index 4888633afd..00b6232c5d 100644 --- a/kubernetes/docs/V1alpha1RoleBinding.md +++ b/kubernetes/docs/V1alpha1RoleBinding.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **roleRef** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**List<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1alpha1RoleBindingList.md b/kubernetes/docs/V1alpha1RoleBindingList.md index d92b67ce12..91af652a51 100644 --- a/kubernetes/docs/V1alpha1RoleBindingList.md +++ b/kubernetes/docs/V1alpha1RoleBindingList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1alpha1RoleBinding>**](V1alpha1RoleBinding.md) | Items is a list of RoleBindings | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1alpha1RoleList.md b/kubernetes/docs/V1alpha1RoleList.md index a402f4df40..b97ff49ad1 100644 --- a/kubernetes/docs/V1alpha1RoleList.md +++ b/kubernetes/docs/V1alpha1RoleList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1alpha1Role>**](V1alpha1Role.md) | Items is a list of Roles | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1alpha1Rule.md b/kubernetes/docs/V1alpha1Rule.md new file mode 100644 index 0000000000..c9bd8b8942 --- /dev/null +++ b/kubernetes/docs/V1alpha1Rule.md @@ -0,0 +1,12 @@ + +# V1alpha1Rule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroups** | **List<String>** | APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. | [optional] +**apiVersions** | **List<String>** | APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. | [optional] +**resources** | **List<String>** | Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1RuleWithOperations.md b/kubernetes/docs/V1alpha1RuleWithOperations.md new file mode 100644 index 0000000000..0745ddbf2d --- /dev/null +++ b/kubernetes/docs/V1alpha1RuleWithOperations.md @@ -0,0 +1,13 @@ + +# V1alpha1RuleWithOperations + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroups** | **List<String>** | APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. | [optional] +**apiVersions** | **List<String>** | APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. | [optional] +**operations** | **List<String>** | Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. | [optional] +**resources** | **List<String>** | Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. | [optional] + + + diff --git a/kubernetes/docs/V1alpha1ServiceReference.md b/kubernetes/docs/V1alpha1ServiceReference.md new file mode 100644 index 0000000000..5a11bd0fa3 --- /dev/null +++ b/kubernetes/docs/V1alpha1ServiceReference.md @@ -0,0 +1,11 @@ + +# V1alpha1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name is the name of the service Required | +**namespace** | **String** | Namespace is the namespace of the service Required | + + + diff --git a/kubernetes/docs/V1beta1APIService.md b/kubernetes/docs/V1beta1APIService.md new file mode 100644 index 0000000000..8d6d04a16a --- /dev/null +++ b/kubernetes/docs/V1beta1APIService.md @@ -0,0 +1,14 @@ + +# V1beta1APIService + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1beta1APIServiceSpec**](V1beta1APIServiceSpec.md) | Spec contains information for locating and communicating with a server | [optional] +**status** | [**V1beta1APIServiceStatus**](V1beta1APIServiceStatus.md) | Status contains derived information about an API server | [optional] + + + diff --git a/kubernetes/docs/V1beta1APIServiceCondition.md b/kubernetes/docs/V1beta1APIServiceCondition.md new file mode 100644 index 0000000000..2110a796d2 --- /dev/null +++ b/kubernetes/docs/V1beta1APIServiceCondition.md @@ -0,0 +1,14 @@ + +# V1beta1APIServiceCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | Human-readable message indicating details about last transition. | [optional] +**reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | +**type** | **String** | Type is the type of the condition. | + + + diff --git a/kubernetes/docs/V1beta1APIServiceList.md b/kubernetes/docs/V1beta1APIServiceList.md new file mode 100644 index 0000000000..c8619405f7 --- /dev/null +++ b/kubernetes/docs/V1beta1APIServiceList.md @@ -0,0 +1,13 @@ + +# V1beta1APIServiceList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta1APIService>**](V1beta1APIService.md) | | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + + diff --git a/kubernetes/docs/V1beta1APIServiceSpec.md b/kubernetes/docs/V1beta1APIServiceSpec.md new file mode 100644 index 0000000000..204ca5c050 --- /dev/null +++ b/kubernetes/docs/V1beta1APIServiceSpec.md @@ -0,0 +1,16 @@ + +# V1beta1APIServiceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**caBundle** | **byte[]** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | +**group** | **String** | Group is the API group name this server hosts | [optional] +**groupPriorityMinimum** | **Integer** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | +**insecureSkipTLSVerify** | **Boolean** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] +**service** | [**V1beta1ServiceReference**](V1beta1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | +**version** | **String** | Version is the API version this server hosts. For example, \"v1\" | [optional] +**versionPriority** | **Integer** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. | + + + diff --git a/kubernetes/docs/V1beta1APIServiceStatus.md b/kubernetes/docs/V1beta1APIServiceStatus.md new file mode 100644 index 0000000000..98c953047b --- /dev/null +++ b/kubernetes/docs/V1beta1APIServiceStatus.md @@ -0,0 +1,10 @@ + +# V1beta1APIServiceStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**List<V1beta1APIServiceCondition>**](V1beta1APIServiceCondition.md) | Current service state of apiService. | [optional] + + + diff --git a/kubernetes/docs/V1beta1AllowedHostPath.md b/kubernetes/docs/V1beta1AllowedHostPath.md new file mode 100644 index 0000000000..09de57c30c --- /dev/null +++ b/kubernetes/docs/V1beta1AllowedHostPath.md @@ -0,0 +1,10 @@ + +# V1beta1AllowedHostPath + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pathPrefix** | **String** | is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] + + + diff --git a/kubernetes/docs/V1beta1CertificateSigningRequest.md b/kubernetes/docs/V1beta1CertificateSigningRequest.md index 821ec51401..78e89d8991 100644 --- a/kubernetes/docs/V1beta1CertificateSigningRequest.md +++ b/kubernetes/docs/V1beta1CertificateSigningRequest.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1CertificateSigningRequestSpec**](V1beta1CertificateSigningRequestSpec.md) | The certificate request itself and any additional information. | [optional] **status** | [**V1beta1CertificateSigningRequestStatus**](V1beta1CertificateSigningRequestStatus.md) | Derived information about the request. | [optional] diff --git a/kubernetes/docs/V1beta1CertificateSigningRequestList.md b/kubernetes/docs/V1beta1CertificateSigningRequestList.md index b5462f5a11..e632bcbcbe 100644 --- a/kubernetes/docs/V1beta1CertificateSigningRequestList.md +++ b/kubernetes/docs/V1beta1CertificateSigningRequestList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1CertificateSigningRequest>**](V1beta1CertificateSigningRequest.md) | | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] diff --git a/kubernetes/docs/V1beta1ClusterRole.md b/kubernetes/docs/V1beta1ClusterRole.md index 5bef67842d..50e89c02f5 100644 --- a/kubernetes/docs/V1beta1ClusterRole.md +++ b/kubernetes/docs/V1beta1ClusterRole.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**List<V1beta1PolicyRule>**](V1beta1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | diff --git a/kubernetes/docs/V1beta1ClusterRoleBinding.md b/kubernetes/docs/V1beta1ClusterRoleBinding.md index 3577ef4977..c2ae227634 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBinding.md +++ b/kubernetes/docs/V1beta1ClusterRoleBinding.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **roleRef** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**List<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1beta1ClusterRoleBindingList.md b/kubernetes/docs/V1beta1ClusterRoleBindingList.md index 792ec0cc5c..4f90df94cf 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBindingList.md +++ b/kubernetes/docs/V1beta1ClusterRoleBindingList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1ClusterRoleBinding>**](V1beta1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1beta1ClusterRoleList.md b/kubernetes/docs/V1beta1ClusterRoleList.md index 7c129acf62..569474ece7 100644 --- a/kubernetes/docs/V1beta1ClusterRoleList.md +++ b/kubernetes/docs/V1beta1ClusterRoleList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1ClusterRole>**](V1beta1ClusterRole.md) | Items is a list of ClusterRoles | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1beta1ControllerRevision.md b/kubernetes/docs/V1beta1ControllerRevision.md new file mode 100644 index 0000000000..cc808647e7 --- /dev/null +++ b/kubernetes/docs/V1beta1ControllerRevision.md @@ -0,0 +1,14 @@ + +# V1beta1ControllerRevision + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**data** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Data is the serialized representation of the state. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**revision** | **Long** | Revision indicates the revision of the state represented by Data. | + + + diff --git a/kubernetes/docs/V1beta1ControllerRevisionList.md b/kubernetes/docs/V1beta1ControllerRevisionList.md new file mode 100644 index 0000000000..0a1a1c236b --- /dev/null +++ b/kubernetes/docs/V1beta1ControllerRevisionList.md @@ -0,0 +1,13 @@ + +# V1beta1ControllerRevisionList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta1ControllerRevision>**](V1beta1ControllerRevision.md) | Items is the list of ControllerRevisions | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1beta1CronJob.md b/kubernetes/docs/V1beta1CronJob.md new file mode 100644 index 0000000000..c9ddc21550 --- /dev/null +++ b/kubernetes/docs/V1beta1CronJob.md @@ -0,0 +1,14 @@ + +# V1beta1CronJob + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1CronJobSpec**](V1beta1CronJobSpec.md) | Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta1CronJobStatus**](V1beta1CronJobStatus.md) | Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + + diff --git a/kubernetes/docs/V1beta1CronJobList.md b/kubernetes/docs/V1beta1CronJobList.md new file mode 100644 index 0000000000..423881316f --- /dev/null +++ b/kubernetes/docs/V1beta1CronJobList.md @@ -0,0 +1,13 @@ + +# V1beta1CronJobList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta1CronJob>**](V1beta1CronJob.md) | items is the list of CronJobs. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1beta1CronJobSpec.md b/kubernetes/docs/V1beta1CronJobSpec.md new file mode 100644 index 0000000000..7bff7ce1be --- /dev/null +++ b/kubernetes/docs/V1beta1CronJobSpec.md @@ -0,0 +1,16 @@ + +# V1beta1CronJobSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**concurrencyPolicy** | **String** | Specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional] +**failedJobsHistoryLimit** | **Integer** | The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] +**jobTemplate** | [**V1beta1JobTemplateSpec**](V1beta1JobTemplateSpec.md) | Specifies the job that will be created when executing a CronJob. | +**schedule** | **String** | The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | +**startingDeadlineSeconds** | **Long** | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. | [optional] +**successfulJobsHistoryLimit** | **Integer** | The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. | [optional] +**suspend** | **Boolean** | This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. | [optional] + + + diff --git a/kubernetes/docs/V1beta1CronJobStatus.md b/kubernetes/docs/V1beta1CronJobStatus.md new file mode 100644 index 0000000000..f29284db9f --- /dev/null +++ b/kubernetes/docs/V1beta1CronJobStatus.md @@ -0,0 +1,11 @@ + +# V1beta1CronJobStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] +**lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinition.md b/kubernetes/docs/V1beta1CustomResourceDefinition.md new file mode 100644 index 0000000000..30d38f00d7 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinition.md @@ -0,0 +1,14 @@ + +# V1beta1CustomResourceDefinition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1beta1CustomResourceDefinitionSpec**](V1beta1CustomResourceDefinitionSpec.md) | Spec describes how the user wants the resources to appear | [optional] +**status** | [**V1beta1CustomResourceDefinitionStatus**](V1beta1CustomResourceDefinitionStatus.md) | Status indicates the actual state of the CustomResourceDefinition | [optional] + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md b/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md new file mode 100644 index 0000000000..a1b8685f8a --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionCondition.md @@ -0,0 +1,14 @@ + +# V1beta1CustomResourceDefinitionCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | Human-readable message indicating details about last transition. | [optional] +**reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | +**type** | **String** | Type is the type of the condition. | + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionList.md b/kubernetes/docs/V1beta1CustomResourceDefinitionList.md new file mode 100644 index 0000000000..7cd901f64d --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionList.md @@ -0,0 +1,13 @@ + +# V1beta1CustomResourceDefinitionList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta1CustomResourceDefinition>**](V1beta1CustomResourceDefinition.md) | Items individual CustomResourceDefinitions | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md b/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md new file mode 100644 index 0000000000..8c20c92e31 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md @@ -0,0 +1,14 @@ + +# V1beta1CustomResourceDefinitionNames + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **String** | Kind is the serialized kind of the resource. It is normally CamelCase and singular. | +**listKind** | **String** | ListKind is the serialized kind of the list for this resource. Defaults to <kind>List. | [optional] +**plural** | **String** | Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase. | +**shortNames** | **List<String>** | ShortNames are short names for the resource. It must be all lowercase. | [optional] +**singular** | **String** | Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased <kind> | [optional] + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md new file mode 100644 index 0000000000..7b762b779a --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md @@ -0,0 +1,14 @@ + +# V1beta1CustomResourceDefinitionSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group** | **String** | Group is the group this resource belongs in | +**names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | Names are the names used to describe this custom resource | +**scope** | **String** | Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced | +**validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. | [optional] +**version** | **String** | Version is the version this resource belongs in | + + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md new file mode 100644 index 0000000000..17cabaa2f5 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md @@ -0,0 +1,11 @@ + +# V1beta1CustomResourceDefinitionStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**acceptedNames** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec. | +**conditions** | [**List<V1beta1CustomResourceDefinitionCondition>**](V1beta1CustomResourceDefinitionCondition.md) | Conditions indicate state for particular aspects of a CustomResourceDefinition | + + + diff --git a/kubernetes/docs/V1beta1CustomResourceValidation.md b/kubernetes/docs/V1beta1CustomResourceValidation.md new file mode 100644 index 0000000000..7dc90d8587 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceValidation.md @@ -0,0 +1,10 @@ + +# V1beta1CustomResourceValidation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**openAPIV3Schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. | [optional] + + + diff --git a/kubernetes/docs/V1beta1DaemonSet.md b/kubernetes/docs/V1beta1DaemonSet.md index df4aa3cf75..f8fad0094b 100644 --- a/kubernetes/docs/V1beta1DaemonSet.md +++ b/kubernetes/docs/V1beta1DaemonSet.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1beta1DaemonSetSpec**](V1beta1DaemonSetSpec.md) | The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1beta1DaemonSetStatus**](V1beta1DaemonSetStatus.md) | The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1DaemonSetSpec**](V1beta1DaemonSetSpec.md) | The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta1DaemonSetStatus**](V1beta1DaemonSetStatus.md) | The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1DaemonSetList.md b/kubernetes/docs/V1beta1DaemonSetList.md index 7f16b0892a..5dfc6e1e6d 100644 --- a/kubernetes/docs/V1beta1DaemonSetList.md +++ b/kubernetes/docs/V1beta1DaemonSetList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1DaemonSet>**](V1beta1DaemonSet.md) | A list of daemon sets. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1DaemonSetSpec.md b/kubernetes/docs/V1beta1DaemonSetSpec.md index 8e2974d67a..16b4a690d6 100644 --- a/kubernetes/docs/V1beta1DaemonSetSpec.md +++ b/kubernetes/docs/V1beta1DaemonSetSpec.md @@ -5,9 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **minReadySeconds** | **Integer** | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | -**templateGeneration** | **Long** | A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. | [optional] +**revisionHistoryLimit** | **Integer** | The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | +**templateGeneration** | **Long** | DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. | [optional] **updateStrategy** | [**V1beta1DaemonSetUpdateStrategy**](V1beta1DaemonSetUpdateStrategy.md) | An update strategy to replace existing DaemonSet pods with new pods. | [optional] diff --git a/kubernetes/docs/V1beta1DaemonSetStatus.md b/kubernetes/docs/V1beta1DaemonSetStatus.md index c05ed4c779..c29eee7a48 100644 --- a/kubernetes/docs/V1beta1DaemonSetStatus.md +++ b/kubernetes/docs/V1beta1DaemonSetStatus.md @@ -4,10 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**currentNumberScheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | -**desiredNumberScheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | +**collisionCount** | **Integer** | Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**currentNumberScheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**desiredNumberScheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **numberAvailable** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] -**numberMisscheduled** | **Integer** | The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | +**numberMisscheduled** | **Integer** | The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **numberReady** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. | **numberUnavailable** | **Integer** | The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] **observedGeneration** | **Long** | The most recent generation observed by the daemon set controller. | [optional] diff --git a/kubernetes/docs/V1beta1Eviction.md b/kubernetes/docs/V1beta1Eviction.md index 7ce186be19..e4e10a8935 100644 --- a/kubernetes/docs/V1beta1Eviction.md +++ b/kubernetes/docs/V1beta1Eviction.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **deleteOptions** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. | [optional] diff --git a/kubernetes/docs/V1beta1ExternalDocumentation.md b/kubernetes/docs/V1beta1ExternalDocumentation.md new file mode 100644 index 0000000000..735a0fc375 --- /dev/null +++ b/kubernetes/docs/V1beta1ExternalDocumentation.md @@ -0,0 +1,11 @@ + +# V1beta1ExternalDocumentation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **String** | | [optional] +**url** | **String** | | [optional] + + + diff --git a/kubernetes/docs/V1beta1IPBlock.md b/kubernetes/docs/V1beta1IPBlock.md new file mode 100644 index 0000000000..b2c0dcac48 --- /dev/null +++ b/kubernetes/docs/V1beta1IPBlock.md @@ -0,0 +1,11 @@ + +# V1beta1IPBlock + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cidr** | **String** | CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" | +**except** | **List<String>** | Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range | [optional] + + + diff --git a/kubernetes/docs/V1beta1Ingress.md b/kubernetes/docs/V1beta1Ingress.md index f7443b89b6..809e51446d 100644 --- a/kubernetes/docs/V1beta1Ingress.md +++ b/kubernetes/docs/V1beta1Ingress.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1beta1IngressSpec**](V1beta1IngressSpec.md) | Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1beta1IngressStatus**](V1beta1IngressStatus.md) | Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1IngressSpec**](V1beta1IngressSpec.md) | Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta1IngressStatus**](V1beta1IngressStatus.md) | Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1IngressList.md b/kubernetes/docs/V1beta1IngressList.md index 2ba54818ea..10122174e0 100644 --- a/kubernetes/docs/V1beta1IngressList.md +++ b/kubernetes/docs/V1beta1IngressList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1Ingress>**](V1beta1Ingress.md) | Items is the list of Ingress. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1APIVersion.md b/kubernetes/docs/V1beta1JSON.md similarity index 53% rename from kubernetes/docs/V1beta1APIVersion.md rename to kubernetes/docs/V1beta1JSON.md index fb8a45727b..aa9caec9c5 100644 --- a/kubernetes/docs/V1beta1APIVersion.md +++ b/kubernetes/docs/V1beta1JSON.md @@ -1,10 +1,10 @@ -# V1beta1APIVersion +# V1beta1JSON ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name of this version (e.g. 'v1'). | [optional] +**raw** | **byte[]** | | diff --git a/kubernetes/docs/V1beta1JSONSchemaProps.md b/kubernetes/docs/V1beta1JSONSchemaProps.md new file mode 100644 index 0000000000..c015c6e1b6 --- /dev/null +++ b/kubernetes/docs/V1beta1JSONSchemaProps.md @@ -0,0 +1,45 @@ + +# V1beta1JSONSchemaProps + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ref** | **String** | | [optional] +**schema** | **String** | | [optional] +**additionalItems** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] +**additionalProperties** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] +**allOf** | [**List<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**anyOf** | [**List<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**_default** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**definitions** | [**Map<String, V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**dependencies** | [**Map<String, V1beta1JSONSchemaPropsOrStringArray>**](V1beta1JSONSchemaPropsOrStringArray.md) | | [optional] +**description** | **String** | | [optional] +**_enum** | [**List<V1beta1JSON>**](V1beta1JSON.md) | | [optional] +**example** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**exclusiveMaximum** | **Boolean** | | [optional] +**exclusiveMinimum** | **Boolean** | | [optional] +**externalDocs** | [**V1beta1ExternalDocumentation**](V1beta1ExternalDocumentation.md) | | [optional] +**format** | **String** | | [optional] +**id** | **String** | | [optional] +**items** | [**V1beta1JSONSchemaPropsOrArray**](V1beta1JSONSchemaPropsOrArray.md) | | [optional] +**maxItems** | **Long** | | [optional] +**maxLength** | **Long** | | [optional] +**maxProperties** | **Long** | | [optional] +**maximum** | **Double** | | [optional] +**minItems** | **Long** | | [optional] +**minLength** | **Long** | | [optional] +**minProperties** | **Long** | | [optional] +**minimum** | **Double** | | [optional] +**multipleOf** | **Double** | | [optional] +**not** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | [optional] +**oneOf** | [**List<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**pattern** | **String** | | [optional] +**patternProperties** | [**Map<String, V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**properties** | [**Map<String, V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] +**required** | **List<String>** | | [optional] +**title** | **String** | | [optional] +**type** | **String** | | [optional] +**uniqueItems** | **Boolean** | | [optional] + + + diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md new file mode 100644 index 0000000000..68b13e5380 --- /dev/null +++ b/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md @@ -0,0 +1,11 @@ + +# V1beta1JSONSchemaPropsOrArray + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jsONSchemas** | [**List<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | +**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | + + + diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md new file mode 100644 index 0000000000..e64de35bcb --- /dev/null +++ b/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md @@ -0,0 +1,11 @@ + +# V1beta1JSONSchemaPropsOrBool + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allows** | **Boolean** | | +**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | + + + diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md new file mode 100644 index 0000000000..cd3c816ab7 --- /dev/null +++ b/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md @@ -0,0 +1,11 @@ + +# V1beta1JSONSchemaPropsOrStringArray + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**property** | **List<String>** | | +**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | + + + diff --git a/kubernetes/docs/V1beta1JobTemplateSpec.md b/kubernetes/docs/V1beta1JobTemplateSpec.md new file mode 100644 index 0000000000..72d864944c --- /dev/null +++ b/kubernetes/docs/V1beta1JobTemplateSpec.md @@ -0,0 +1,11 @@ + +# V1beta1JobTemplateSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + + diff --git a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md b/kubernetes/docs/V1beta1LocalSubjectAccessReview.md index 3345385aaf..1bcfe547c4 100644 --- a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md +++ b/kubernetes/docs/V1beta1LocalSubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicy.md b/kubernetes/docs/V1beta1NetworkPolicy.md index 7cd6ec1912..fbc711d193 100644 --- a/kubernetes/docs/V1beta1NetworkPolicy.md +++ b/kubernetes/docs/V1beta1NetworkPolicy.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1NetworkPolicySpec**](V1beta1NetworkPolicySpec.md) | Specification of the desired behavior for this NetworkPolicy. | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyEgressRule.md b/kubernetes/docs/V1beta1NetworkPolicyEgressRule.md new file mode 100644 index 0000000000..2e3ec52b41 --- /dev/null +++ b/kubernetes/docs/V1beta1NetworkPolicyEgressRule.md @@ -0,0 +1,11 @@ + +# V1beta1NetworkPolicyEgressRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ports** | [**List<V1beta1NetworkPolicyPort>**](V1beta1NetworkPolicyPort.md) | List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional] +**to** | [**List<V1beta1NetworkPolicyPeer>**](V1beta1NetworkPolicyPeer.md) | List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. | [optional] + + + diff --git a/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md b/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md index 166ee69d03..878f15a15c 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md +++ b/kubernetes/docs/V1beta1NetworkPolicyIngressRule.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**from** | [**List<V1beta1NetworkPolicyPeer>**](V1beta1NetworkPolicyPeer.md) | List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. | [optional] -**ports** | [**List<V1beta1NetworkPolicyPort>**](V1beta1NetworkPolicyPort.md) | List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional] +**from** | [**List<V1beta1NetworkPolicyPeer>**](V1beta1NetworkPolicyPeer.md) | List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. | [optional] +**ports** | [**List<V1beta1NetworkPolicyPort>**](V1beta1NetworkPolicyPort.md) | List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyList.md b/kubernetes/docs/V1beta1NetworkPolicyList.md index d7adb657fa..89563696f1 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyList.md +++ b/kubernetes/docs/V1beta1NetworkPolicyList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1NetworkPolicy>**](V1beta1NetworkPolicy.md) | Items is a list of schema objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyPeer.md b/kubernetes/docs/V1beta1NetworkPolicyPeer.md index a0f7611e80..1930e479ac 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyPeer.md +++ b/kubernetes/docs/V1beta1NetworkPolicyPeer.md @@ -4,8 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**namespaceSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces. | [optional] -**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace. | [optional] +**ipBlock** | [**V1beta1IPBlock**](V1beta1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] +**namespaceSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] +**podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicySpec.md b/kubernetes/docs/V1beta1NetworkPolicySpec.md index 42bc744fd0..ec777332fa 100644 --- a/kubernetes/docs/V1beta1NetworkPolicySpec.md +++ b/kubernetes/docs/V1beta1NetworkPolicySpec.md @@ -4,8 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ingress** | [**List<V1beta1NetworkPolicyIngressRule>**](V1beta1NetworkPolicyIngressRule.md) | List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list. | [optional] +**egress** | [**List<V1beta1NetworkPolicyEgressRule>**](V1beta1NetworkPolicyEgressRule.md) | List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 | [optional] +**ingress** | [**List<V1beta1NetworkPolicyIngressRule>**](V1beta1NetworkPolicyIngressRule.md) | List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). | [optional] **podSelector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. | +**policyTypes** | **List<String>** | List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 | [optional] diff --git a/kubernetes/docs/V1beta1NonResourceRule.md b/kubernetes/docs/V1beta1NonResourceRule.md new file mode 100644 index 0000000000..5abcf9443d --- /dev/null +++ b/kubernetes/docs/V1beta1NonResourceRule.md @@ -0,0 +1,11 @@ + +# V1beta1NonResourceRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nonResourceURLs** | **List<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. | [optional] +**verbs** | **List<String>** | Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. | + + + diff --git a/kubernetes/docs/V1beta1PodDisruptionBudget.md b/kubernetes/docs/V1beta1PodDisruptionBudget.md index 099a94b057..acb6b348c0 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudget.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudget.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. | [optional] **status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. | [optional] diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md b/kubernetes/docs/V1beta1PodDisruptionBudgetList.md index 7ed441a63d..759ac6fb2e 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1PodDisruptionBudget>**](V1beta1PodDisruptionBudget.md) | | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md b/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md index b65d4fb1e5..eb1a365fd1 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**maxUnavailable** | **String** | An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\". | [optional] **minAvailable** | **String** | An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional] diff --git a/kubernetes/docs/V1beta1PodSecurityPolicy.md b/kubernetes/docs/V1beta1PodSecurityPolicy.md index 5a2f2ee2d0..4b610a54c4 100644 --- a/kubernetes/docs/V1beta1PodSecurityPolicy.md +++ b/kubernetes/docs/V1beta1PodSecurityPolicy.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1PodSecurityPolicySpec**](V1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [optional] diff --git a/kubernetes/docs/V1beta1PodSecurityPolicyList.md b/kubernetes/docs/V1beta1PodSecurityPolicyList.md index 40ada5a7d4..96dfbfca5a 100644 --- a/kubernetes/docs/V1beta1PodSecurityPolicyList.md +++ b/kubernetes/docs/V1beta1PodSecurityPolicyList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1PodSecurityPolicy>**](V1beta1PodSecurityPolicy.md) | Items is a list of schema objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md b/kubernetes/docs/V1beta1PodSecurityPolicySpec.md index f975206b89..2172a27ec9 100644 --- a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md +++ b/kubernetes/docs/V1beta1PodSecurityPolicySpec.md @@ -4,8 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**allowPrivilegeEscalation** | **Boolean** | AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. | [optional] **allowedCapabilities** | **List<String>** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional] +**allowedHostPaths** | [**List<V1beta1AllowedHostPath>**](V1beta1AllowedHostPath.md) | is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] **defaultAddCapabilities** | **List<String>** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. | [optional] +**defaultAllowPrivilegeEscalation** | **Boolean** | DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] **fsGroup** | [**V1beta1FSGroupStrategyOptions**](V1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | **hostIPC** | **Boolean** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] **hostNetwork** | **Boolean** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] diff --git a/kubernetes/docs/V1beta1ReplicaSet.md b/kubernetes/docs/V1beta1ReplicaSet.md index 8c756870c3..4a094c1d5d 100644 --- a/kubernetes/docs/V1beta1ReplicaSet.md +++ b/kubernetes/docs/V1beta1ReplicaSet.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1beta1ReplicaSetSpec**](V1beta1ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V1beta1ReplicaSetStatus**](V1beta1ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1ReplicaSetSpec**](V1beta1ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta1ReplicaSetStatus**](V1beta1ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1ReplicaSetList.md b/kubernetes/docs/V1beta1ReplicaSetList.md index 46df6db692..5660ecee51 100644 --- a/kubernetes/docs/V1beta1ReplicaSetList.md +++ b/kubernetes/docs/V1beta1ReplicaSetList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1beta1ReplicaSet>**](V1beta1ReplicaSet.md) | List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta1ReplicaSet>**](V1beta1ReplicaSet.md) | List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1beta1ReplicaSetSpec.md b/kubernetes/docs/V1beta1ReplicaSetSpec.md index 4397c75094..bbc6071653 100644 --- a/kubernetes/docs/V1beta1ReplicaSetSpec.md +++ b/kubernetes/docs/V1beta1ReplicaSetSpec.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] -**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [optional] +**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | [optional] diff --git a/kubernetes/docs/V1beta1ReplicaSetStatus.md b/kubernetes/docs/V1beta1ReplicaSetStatus.md index e82c8059ec..73d5d10572 100644 --- a/kubernetes/docs/V1beta1ReplicaSetStatus.md +++ b/kubernetes/docs/V1beta1ReplicaSetStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **fullyLabeledReplicas** | **Integer** | The number of pods that have labels matching the labels of the pod template of the replicaset. | [optional] **observedGeneration** | **Long** | ObservedGeneration reflects the generation of the most recently observed ReplicaSet. | [optional] **readyReplicas** | **Integer** | The number of ready replicas for this replica set. | [optional] -**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | +**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | diff --git a/kubernetes/docs/V1beta1ResourceRule.md b/kubernetes/docs/V1beta1ResourceRule.md new file mode 100644 index 0000000000..18d579647c --- /dev/null +++ b/kubernetes/docs/V1beta1ResourceRule.md @@ -0,0 +1,13 @@ + +# V1beta1ResourceRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiGroups** | **List<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. | [optional] +**resourceNames** | **List<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. | [optional] +**resources** | **List<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. | [optional] +**verbs** | **List<String>** | Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | + + + diff --git a/kubernetes/docs/V1beta1Role.md b/kubernetes/docs/V1beta1Role.md index 5adb0f62cb..91aefd5273 100644 --- a/kubernetes/docs/V1beta1Role.md +++ b/kubernetes/docs/V1beta1Role.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**List<V1beta1PolicyRule>**](V1beta1PolicyRule.md) | Rules holds all the PolicyRules for this Role | diff --git a/kubernetes/docs/V1beta1RoleBinding.md b/kubernetes/docs/V1beta1RoleBinding.md index a578c2c197..269c2c6205 100644 --- a/kubernetes/docs/V1beta1RoleBinding.md +++ b/kubernetes/docs/V1beta1RoleBinding.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **roleRef** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**List<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1beta1RoleBindingList.md b/kubernetes/docs/V1beta1RoleBindingList.md index 09e9f953db..5f9d42773b 100644 --- a/kubernetes/docs/V1beta1RoleBindingList.md +++ b/kubernetes/docs/V1beta1RoleBindingList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1RoleBinding>**](V1beta1RoleBinding.md) | Items is a list of RoleBindings | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1beta1RoleList.md b/kubernetes/docs/V1beta1RoleList.md index 4d68f53c9c..b26069b95b 100644 --- a/kubernetes/docs/V1beta1RoleList.md +++ b/kubernetes/docs/V1beta1RoleList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1Role>**](V1beta1Role.md) | Items is a list of Roles | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1beta1RollingUpdateStatefulSetStrategy.md b/kubernetes/docs/V1beta1RollingUpdateStatefulSetStrategy.md new file mode 100644 index 0000000000..bbf289c16d --- /dev/null +++ b/kubernetes/docs/V1beta1RollingUpdateStatefulSetStrategy.md @@ -0,0 +1,10 @@ + +# V1beta1RollingUpdateStatefulSetStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. | [optional] + + + diff --git a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md b/kubernetes/docs/V1beta1SELinuxStrategyOptions.md index d977bbddb6..af69c2b075 100644 --- a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md +++ b/kubernetes/docs/V1beta1SELinuxStrategyOptions.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **rule** | **String** | type is the strategy that will dictate the allowable labels that may be set. | -**seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context | [optional] +**seLinuxOptions** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md | [optional] diff --git a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md b/kubernetes/docs/V1beta1SelfSubjectAccessReview.md index d2c3ddcdad..142664df03 100644 --- a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md +++ b/kubernetes/docs/V1beta1SelfSubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SelfSubjectAccessReviewSpec**](V1beta1SelfSubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. user and groups must be empty | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1SelfSubjectRulesReview.md b/kubernetes/docs/V1beta1SelfSubjectRulesReview.md new file mode 100644 index 0000000000..2aaa617f4d --- /dev/null +++ b/kubernetes/docs/V1beta1SelfSubjectRulesReview.md @@ -0,0 +1,14 @@ + +# V1beta1SelfSubjectRulesReview + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1beta1SelfSubjectRulesReviewSpec**](V1beta1SelfSubjectRulesReviewSpec.md) | Spec holds information about the request being evaluated. | +**status** | [**V1beta1SubjectRulesReviewStatus**](V1beta1SubjectRulesReviewStatus.md) | Status is filled in by the server and indicates the set of actions a user can perform. | [optional] + + + diff --git a/kubernetes/docs/V1beta1SelfSubjectRulesReviewSpec.md b/kubernetes/docs/V1beta1SelfSubjectRulesReviewSpec.md new file mode 100644 index 0000000000..ac7bfb451f --- /dev/null +++ b/kubernetes/docs/V1beta1SelfSubjectRulesReviewSpec.md @@ -0,0 +1,10 @@ + +# V1beta1SelfSubjectRulesReviewSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**namespace** | **String** | Namespace to evaluate rules for. Required. | [optional] + + + diff --git a/kubernetes/docs/V1beta1ServiceReference.md b/kubernetes/docs/V1beta1ServiceReference.md new file mode 100644 index 0000000000..81726f63d0 --- /dev/null +++ b/kubernetes/docs/V1beta1ServiceReference.md @@ -0,0 +1,11 @@ + +# V1beta1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name is the name of the service | [optional] +**namespace** | **String** | Namespace is the namespace of the service | [optional] + + + diff --git a/kubernetes/docs/V1beta1StatefulSet.md b/kubernetes/docs/V1beta1StatefulSet.md index 990e1a3af0..84bda09c1d 100644 --- a/kubernetes/docs/V1beta1StatefulSet.md +++ b/kubernetes/docs/V1beta1StatefulSet.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1StatefulSetSpec**](V1beta1StatefulSetSpec.md) | Spec defines the desired identities of pods in this set. | [optional] **status** | [**V1beta1StatefulSetStatus**](V1beta1StatefulSetStatus.md) | Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSetList.md b/kubernetes/docs/V1beta1StatefulSetList.md index b5a83dd4b3..9170cf4f63 100644 --- a/kubernetes/docs/V1beta1StatefulSetList.md +++ b/kubernetes/docs/V1beta1StatefulSetList.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1StatefulSet>**](V1beta1StatefulSet.md) | | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSetSpec.md b/kubernetes/docs/V1beta1StatefulSetSpec.md index 2229fba037..8368810f9f 100644 --- a/kubernetes/docs/V1beta1StatefulSetSpec.md +++ b/kubernetes/docs/V1beta1StatefulSetSpec.md @@ -4,11 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**replicas** | **Integer** | Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**serviceName** | **String** | ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | -**volumeClaimTemplates** | [**List<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [optional] +**podManagementPolicy** | **String** | podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. | [optional] +**replicas** | **Integer** | replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] +**revisionHistoryLimit** | **Integer** | revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**serviceName** | **String** | serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | +**updateStrategy** | [**V1beta1StatefulSetUpdateStrategy**](V1beta1StatefulSetUpdateStrategy.md) | updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. | [optional] +**volumeClaimTemplates** | [**List<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSetStatus.md b/kubernetes/docs/V1beta1StatefulSetStatus.md index 52a4ee7312..277d6e256e 100644 --- a/kubernetes/docs/V1beta1StatefulSetStatus.md +++ b/kubernetes/docs/V1beta1StatefulSetStatus.md @@ -4,8 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**observedGeneration** | **Long** | most recent generation observed by this StatefulSet. | [optional] -**replicas** | **Integer** | Replicas is the number of actual replicas. | +**collisionCount** | **Integer** | collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**currentReplicas** | **Integer** | currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. | [optional] +**currentRevision** | **String** | currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | [optional] +**observedGeneration** | **Long** | observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. | [optional] +**readyReplicas** | **Integer** | readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. | [optional] +**replicas** | **Integer** | replicas is the number of Pods created by the StatefulSet controller. | +**updateRevision** | **String** | updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) | [optional] +**updatedReplicas** | **Integer** | updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSetUpdateStrategy.md b/kubernetes/docs/V1beta1StatefulSetUpdateStrategy.md new file mode 100644 index 0000000000..c6b1836422 --- /dev/null +++ b/kubernetes/docs/V1beta1StatefulSetUpdateStrategy.md @@ -0,0 +1,11 @@ + +# V1beta1StatefulSetUpdateStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rollingUpdate** | [**V1beta1RollingUpdateStatefulSetStrategy**](V1beta1RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] +**type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. | [optional] + + + diff --git a/kubernetes/docs/V1beta1StorageClass.md b/kubernetes/docs/V1beta1StorageClass.md index e02ffa77ba..5a8df0e7fe 100644 --- a/kubernetes/docs/V1beta1StorageClass.md +++ b/kubernetes/docs/V1beta1StorageClass.md @@ -4,11 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**allowVolumeExpansion** | **Boolean** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**mountOptions** | **List<String>** | Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. | [optional] **parameters** | **Map<String, String>** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] **provisioner** | **String** | Provisioner indicates the type of the provisioner. | +**reclaimPolicy** | **String** | Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. | [optional] diff --git a/kubernetes/docs/V1beta1StorageClassList.md b/kubernetes/docs/V1beta1StorageClassList.md index 031b8cb84d..ab97a42ff2 100644 --- a/kubernetes/docs/V1beta1StorageClassList.md +++ b/kubernetes/docs/V1beta1StorageClassList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**List<V1beta1StorageClass>**](V1beta1StorageClass.md) | Items is the list of StorageClasses | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1beta1SubjectAccessReview.md b/kubernetes/docs/V1beta1SubjectAccessReview.md index a1f05709ca..b63b713f9d 100644 --- a/kubernetes/docs/V1beta1SubjectAccessReview.md +++ b/kubernetes/docs/V1beta1SubjectAccessReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md b/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md index 44260d2d88..7444d3a911 100644 --- a/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md +++ b/kubernetes/docs/V1beta1SubjectAccessReviewSpec.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **group** | **List<String>** | Groups is the groups you're testing for. | [optional] **nonResourceAttributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] **resourceAttributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional] +**uid** | **String** | UID information about the requesting user. | [optional] **user** | **String** | User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups | [optional] diff --git a/kubernetes/docs/V1beta1SubjectRulesReviewStatus.md b/kubernetes/docs/V1beta1SubjectRulesReviewStatus.md new file mode 100644 index 0000000000..d3c7ab7f8a --- /dev/null +++ b/kubernetes/docs/V1beta1SubjectRulesReviewStatus.md @@ -0,0 +1,13 @@ + +# V1beta1SubjectRulesReviewStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**evaluationError** | **String** | EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. | [optional] +**incomplete** | **Boolean** | Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. | +**nonResourceRules** | [**List<V1beta1NonResourceRule>**](V1beta1NonResourceRule.md) | NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. | +**resourceRules** | [**List<V1beta1ResourceRule>**](V1beta1ResourceRule.md) | ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. | + + + diff --git a/kubernetes/docs/V1beta1TokenReview.md b/kubernetes/docs/V1beta1TokenReview.md index 9ae8386d6f..71784ae594 100644 --- a/kubernetes/docs/V1beta1TokenReview.md +++ b/kubernetes/docs/V1beta1TokenReview.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1TokenReviewSpec**](V1beta1TokenReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1beta1TokenReviewStatus**](V1beta1TokenReviewStatus.md) | Status is filled in by the server and indicates whether the request can be authenticated. | [optional] diff --git a/kubernetes/docs/V1beta2ControllerRevision.md b/kubernetes/docs/V1beta2ControllerRevision.md new file mode 100644 index 0000000000..35bca06478 --- /dev/null +++ b/kubernetes/docs/V1beta2ControllerRevision.md @@ -0,0 +1,14 @@ + +# V1beta2ControllerRevision + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**data** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Data is the serialized representation of the state. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**revision** | **Long** | Revision indicates the revision of the state represented by Data. | + + + diff --git a/kubernetes/docs/V1beta2ControllerRevisionList.md b/kubernetes/docs/V1beta2ControllerRevisionList.md new file mode 100644 index 0000000000..d1dba80f04 --- /dev/null +++ b/kubernetes/docs/V1beta2ControllerRevisionList.md @@ -0,0 +1,13 @@ + +# V1beta2ControllerRevisionList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta2ControllerRevision>**](V1beta2ControllerRevision.md) | Items is the list of ControllerRevisions | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1beta2DaemonSet.md b/kubernetes/docs/V1beta2DaemonSet.md new file mode 100644 index 0000000000..e8a140b203 --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSet.md @@ -0,0 +1,14 @@ + +# V1beta2DaemonSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta2DaemonSetSpec**](V1beta2DaemonSetSpec.md) | The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta2DaemonSetStatus**](V1beta2DaemonSetStatus.md) | The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + + diff --git a/kubernetes/docs/V1beta2DaemonSetList.md b/kubernetes/docs/V1beta2DaemonSetList.md new file mode 100644 index 0000000000..4ca56a9208 --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSetList.md @@ -0,0 +1,13 @@ + +# V1beta2DaemonSetList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta2DaemonSet>**](V1beta2DaemonSet.md) | A list of daemon sets. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + + diff --git a/kubernetes/docs/V1beta2DaemonSetSpec.md b/kubernetes/docs/V1beta2DaemonSetSpec.md new file mode 100644 index 0000000000..0faacd5bd7 --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSetSpec.md @@ -0,0 +1,14 @@ + +# V1beta2DaemonSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**minReadySeconds** | **Integer** | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). | [optional] +**revisionHistoryLimit** | **Integer** | The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | +**updateStrategy** | [**V1beta2DaemonSetUpdateStrategy**](V1beta2DaemonSetUpdateStrategy.md) | An update strategy to replace existing DaemonSet pods with new pods. | [optional] + + + diff --git a/kubernetes/docs/V1beta2DaemonSetStatus.md b/kubernetes/docs/V1beta2DaemonSetStatus.md new file mode 100644 index 0000000000..2ef6b40499 --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSetStatus.md @@ -0,0 +1,18 @@ + +# V1beta2DaemonSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collisionCount** | **Integer** | Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**currentNumberScheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**desiredNumberScheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**numberAvailable** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] +**numberMisscheduled** | **Integer** | The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**numberReady** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. | +**numberUnavailable** | **Integer** | The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] +**observedGeneration** | **Long** | The most recent generation observed by the daemon set controller. | [optional] +**updatedNumberScheduled** | **Integer** | The total number of nodes that are running updated daemon pod | [optional] + + + diff --git a/kubernetes/docs/V1beta2DaemonSetUpdateStrategy.md b/kubernetes/docs/V1beta2DaemonSetUpdateStrategy.md new file mode 100644 index 0000000000..89ad93303c --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSetUpdateStrategy.md @@ -0,0 +1,11 @@ + +# V1beta2DaemonSetUpdateStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rollingUpdate** | [**V1beta2RollingUpdateDaemonSet**](V1beta2RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional] +**type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. | [optional] + + + diff --git a/kubernetes/docs/V1beta2Deployment.md b/kubernetes/docs/V1beta2Deployment.md new file mode 100644 index 0000000000..399cfa16bd --- /dev/null +++ b/kubernetes/docs/V1beta2Deployment.md @@ -0,0 +1,14 @@ + +# V1beta2Deployment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] +**spec** | [**V1beta2DeploymentSpec**](V1beta2DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional] +**status** | [**V1beta2DeploymentStatus**](V1beta2DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional] + + + diff --git a/kubernetes/docs/V1beta2DeploymentCondition.md b/kubernetes/docs/V1beta2DeploymentCondition.md new file mode 100644 index 0000000000..d8c399cff7 --- /dev/null +++ b/kubernetes/docs/V1beta2DeploymentCondition.md @@ -0,0 +1,15 @@ + +# V1beta2DeploymentCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional] +**lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of deployment condition. | + + + diff --git a/kubernetes/docs/V1beta1ThirdPartyResourceList.md b/kubernetes/docs/V1beta2DeploymentList.md similarity index 59% rename from kubernetes/docs/V1beta1ThirdPartyResourceList.md rename to kubernetes/docs/V1beta2DeploymentList.md index 348556d52d..130e892c10 100644 --- a/kubernetes/docs/V1beta1ThirdPartyResourceList.md +++ b/kubernetes/docs/V1beta2DeploymentList.md @@ -1,12 +1,12 @@ -# V1beta1ThirdPartyResourceList +# V1beta2DeploymentList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V1beta1ThirdPartyResource>**](V1beta1ThirdPartyResource.md) | Items is the list of ThirdPartyResources. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta2Deployment>**](V1beta2Deployment.md) | Items is the list of Deployments. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional] diff --git a/kubernetes/docs/V1beta2DeploymentSpec.md b/kubernetes/docs/V1beta2DeploymentSpec.md new file mode 100644 index 0000000000..7cf5e579cc --- /dev/null +++ b/kubernetes/docs/V1beta2DeploymentSpec.md @@ -0,0 +1,17 @@ + +# V1beta2DeploymentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] +**paused** | **Boolean** | Indicates that the deployment is paused. | [optional] +**progressDeadlineSeconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional] +**replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] +**revisionHistoryLimit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] +**strategy** | [**V1beta2DeploymentStrategy**](V1beta2DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | + + + diff --git a/kubernetes/docs/V1beta2DeploymentStatus.md b/kubernetes/docs/V1beta2DeploymentStatus.md new file mode 100644 index 0000000000..e31e65985c --- /dev/null +++ b/kubernetes/docs/V1beta2DeploymentStatus.md @@ -0,0 +1,17 @@ + +# V1beta2DeploymentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**availableReplicas** | **Integer** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional] +**collisionCount** | **Integer** | Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. | [optional] +**conditions** | [**List<V1beta2DeploymentCondition>**](V1beta2DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional] +**observedGeneration** | **Long** | The generation observed by the deployment controller. | [optional] +**readyReplicas** | **Integer** | Total number of ready pods targeted by this deployment. | [optional] +**replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional] +**unavailableReplicas** | **Integer** | Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. | [optional] +**updatedReplicas** | **Integer** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional] + + + diff --git a/kubernetes/docs/V1beta2DeploymentStrategy.md b/kubernetes/docs/V1beta2DeploymentStrategy.md new file mode 100644 index 0000000000..dd2e38be15 --- /dev/null +++ b/kubernetes/docs/V1beta2DeploymentStrategy.md @@ -0,0 +1,11 @@ + +# V1beta2DeploymentStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rollingUpdate** | [**V1beta2RollingUpdateDeployment**](V1beta2RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] +**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] + + + diff --git a/kubernetes/docs/V1beta2ReplicaSet.md b/kubernetes/docs/V1beta2ReplicaSet.md new file mode 100644 index 0000000000..a9daceb699 --- /dev/null +++ b/kubernetes/docs/V1beta2ReplicaSet.md @@ -0,0 +1,14 @@ + +# V1beta2ReplicaSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta2ReplicaSetSpec**](V1beta2ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1beta2ReplicaSetStatus**](V1beta2ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + + diff --git a/kubernetes/docs/V1beta2ReplicaSetCondition.md b/kubernetes/docs/V1beta2ReplicaSetCondition.md new file mode 100644 index 0000000000..a45fbc60ed --- /dev/null +++ b/kubernetes/docs/V1beta2ReplicaSetCondition.md @@ -0,0 +1,14 @@ + +# V1beta2ReplicaSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastTransitionTime** | [**DateTime**](DateTime.md) | The last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of replica set condition. | + + + diff --git a/kubernetes/docs/V1beta2ReplicaSetList.md b/kubernetes/docs/V1beta2ReplicaSetList.md new file mode 100644 index 0000000000..ab38693c4e --- /dev/null +++ b/kubernetes/docs/V1beta2ReplicaSetList.md @@ -0,0 +1,13 @@ + +# V1beta2ReplicaSetList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta2ReplicaSet>**](V1beta2ReplicaSet.md) | List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + + diff --git a/kubernetes/docs/V1beta2ReplicaSetSpec.md b/kubernetes/docs/V1beta2ReplicaSetSpec.md new file mode 100644 index 0000000000..f79c564def --- /dev/null +++ b/kubernetes/docs/V1beta2ReplicaSetSpec.md @@ -0,0 +1,13 @@ + +# V1beta2ReplicaSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**minReadySeconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] +**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | [optional] + + + diff --git a/kubernetes/docs/V1beta2ReplicaSetStatus.md b/kubernetes/docs/V1beta2ReplicaSetStatus.md new file mode 100644 index 0000000000..7264c92f9f --- /dev/null +++ b/kubernetes/docs/V1beta2ReplicaSetStatus.md @@ -0,0 +1,15 @@ + +# V1beta2ReplicaSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**availableReplicas** | **Integer** | The number of available replicas (ready for at least minReadySeconds) for this replica set. | [optional] +**conditions** | [**List<V1beta2ReplicaSetCondition>**](V1beta2ReplicaSetCondition.md) | Represents the latest available observations of a replica set's current state. | [optional] +**fullyLabeledReplicas** | **Integer** | The number of pods that have labels matching the labels of the pod template of the replicaset. | [optional] +**observedGeneration** | **Long** | ObservedGeneration reflects the generation of the most recently observed ReplicaSet. | [optional] +**readyReplicas** | **Integer** | The number of ready replicas for this replica set. | [optional] +**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | + + + diff --git a/kubernetes/docs/V1beta2RollingUpdateDaemonSet.md b/kubernetes/docs/V1beta2RollingUpdateDaemonSet.md new file mode 100644 index 0000000000..4e4a347050 --- /dev/null +++ b/kubernetes/docs/V1beta2RollingUpdateDaemonSet.md @@ -0,0 +1,10 @@ + +# V1beta2RollingUpdateDaemonSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**maxUnavailable** | **String** | The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. | [optional] + + + diff --git a/kubernetes/docs/V1beta2RollingUpdateDeployment.md b/kubernetes/docs/V1beta2RollingUpdateDeployment.md new file mode 100644 index 0000000000..c0d57f2f36 --- /dev/null +++ b/kubernetes/docs/V1beta2RollingUpdateDeployment.md @@ -0,0 +1,11 @@ + +# V1beta2RollingUpdateDeployment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**maxSurge** | **String** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] +**maxUnavailable** | **String** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] + + + diff --git a/kubernetes/docs/V1beta2RollingUpdateStatefulSetStrategy.md b/kubernetes/docs/V1beta2RollingUpdateStatefulSetStrategy.md new file mode 100644 index 0000000000..628936702c --- /dev/null +++ b/kubernetes/docs/V1beta2RollingUpdateStatefulSetStrategy.md @@ -0,0 +1,10 @@ + +# V1beta2RollingUpdateStatefulSetStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. | [optional] + + + diff --git a/kubernetes/docs/V1beta2Scale.md b/kubernetes/docs/V1beta2Scale.md new file mode 100644 index 0000000000..12ccfb63cf --- /dev/null +++ b/kubernetes/docs/V1beta2Scale.md @@ -0,0 +1,14 @@ + +# V1beta2Scale + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**spec** | [**V1beta2ScaleSpec**](V1beta2ScaleSpec.md) | defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**V1beta2ScaleStatus**](V1beta2ScaleStatus.md) | current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. | [optional] + + + diff --git a/kubernetes/docs/V1beta2ScaleSpec.md b/kubernetes/docs/V1beta2ScaleSpec.md new file mode 100644 index 0000000000..21f6d8d87f --- /dev/null +++ b/kubernetes/docs/V1beta2ScaleSpec.md @@ -0,0 +1,10 @@ + +# V1beta2ScaleSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**replicas** | **Integer** | desired number of instances for the scaled object. | [optional] + + + diff --git a/kubernetes/docs/V1beta2ScaleStatus.md b/kubernetes/docs/V1beta2ScaleStatus.md new file mode 100644 index 0000000000..9eca8832b7 --- /dev/null +++ b/kubernetes/docs/V1beta2ScaleStatus.md @@ -0,0 +1,12 @@ + +# V1beta2ScaleStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**replicas** | **Integer** | actual number of observed instances of the scaled object. | +**selector** | **Map<String, String>** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] +**targetSelector** | **String** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] + + + diff --git a/kubernetes/docs/V1beta2StatefulSet.md b/kubernetes/docs/V1beta2StatefulSet.md new file mode 100644 index 0000000000..423a2d4e6f --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSet.md @@ -0,0 +1,14 @@ + +# V1beta2StatefulSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1beta2StatefulSetSpec**](V1beta2StatefulSetSpec.md) | Spec defines the desired identities of pods in this set. | [optional] +**status** | [**V1beta2StatefulSetStatus**](V1beta2StatefulSetStatus.md) | Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. | [optional] + + + diff --git a/kubernetes/docs/V1beta2StatefulSetList.md b/kubernetes/docs/V1beta2StatefulSetList.md new file mode 100644 index 0000000000..82b2819368 --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSetList.md @@ -0,0 +1,13 @@ + +# V1beta2StatefulSetList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V1beta2StatefulSet>**](V1beta2StatefulSet.md) | | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + + diff --git a/kubernetes/docs/V1beta2StatefulSetSpec.md b/kubernetes/docs/V1beta2StatefulSetSpec.md new file mode 100644 index 0000000000..5e6e0a92cb --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSetSpec.md @@ -0,0 +1,17 @@ + +# V1beta2StatefulSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**podManagementPolicy** | **String** | podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. | [optional] +**replicas** | **Integer** | replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] +**revisionHistoryLimit** | **Integer** | revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**serviceName** | **String** | serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | +**updateStrategy** | [**V1beta2StatefulSetUpdateStrategy**](V1beta2StatefulSetUpdateStrategy.md) | updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. | [optional] +**volumeClaimTemplates** | [**List<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [optional] + + + diff --git a/kubernetes/docs/V1beta2StatefulSetStatus.md b/kubernetes/docs/V1beta2StatefulSetStatus.md new file mode 100644 index 0000000000..45051d8932 --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSetStatus.md @@ -0,0 +1,17 @@ + +# V1beta2StatefulSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collisionCount** | **Integer** | collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**currentReplicas** | **Integer** | currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. | [optional] +**currentRevision** | **String** | currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | [optional] +**observedGeneration** | **Long** | observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. | [optional] +**readyReplicas** | **Integer** | readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. | [optional] +**replicas** | **Integer** | replicas is the number of Pods created by the StatefulSet controller. | +**updateRevision** | **String** | updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) | [optional] +**updatedReplicas** | **Integer** | updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. | [optional] + + + diff --git a/kubernetes/docs/V1beta2StatefulSetUpdateStrategy.md b/kubernetes/docs/V1beta2StatefulSetUpdateStrategy.md new file mode 100644 index 0000000000..a6770d7ecb --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSetUpdateStrategy.md @@ -0,0 +1,11 @@ + +# V1beta2StatefulSetUpdateStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rollingUpdate** | [**V1beta2RollingUpdateStatefulSetStrategy**](V1beta2RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] +**type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. | [optional] + + + diff --git a/kubernetes/docs/V2alpha1CronJob.md b/kubernetes/docs/V2alpha1CronJob.md index 7dc0fddfbb..5ce13b3619 100644 --- a/kubernetes/docs/V2alpha1CronJob.md +++ b/kubernetes/docs/V2alpha1CronJob.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V2alpha1CronJobSpec**](V2alpha1CronJobSpec.md) | Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] -**status** | [**V2alpha1CronJobStatus**](V2alpha1CronJobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V2alpha1CronJobSpec**](V2alpha1CronJobSpec.md) | Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V2alpha1CronJobStatus**](V2alpha1CronJobStatus.md) | Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobList.md b/kubernetes/docs/V2alpha1CronJobList.md index 2b155e5043..9c295837a1 100644 --- a/kubernetes/docs/V2alpha1CronJobList.md +++ b/kubernetes/docs/V2alpha1CronJobList.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V2alpha1CronJob>**](V2alpha1CronJob.md) | Items is the list of CronJob. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V2alpha1CronJob>**](V2alpha1CronJob.md) | items is the list of CronJobs. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobSpec.md b/kubernetes/docs/V2alpha1CronJobSpec.md index 21652adf2e..dc86a68f54 100644 --- a/kubernetes/docs/V2alpha1CronJobSpec.md +++ b/kubernetes/docs/V2alpha1CronJobSpec.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**concurrencyPolicy** | **String** | ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional] +**concurrencyPolicy** | **String** | Specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional] **failedJobsHistoryLimit** | **Integer** | The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. | [optional] -**jobTemplate** | [**V2alpha1JobTemplateSpec**](V2alpha1JobTemplateSpec.md) | JobTemplate is the object that describes the job that will be created when executing a CronJob. | -**schedule** | **String** | Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | +**jobTemplate** | [**V2alpha1JobTemplateSpec**](V2alpha1JobTemplateSpec.md) | Specifies the job that will be created when executing a CronJob. | +**schedule** | **String** | The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | **startingDeadlineSeconds** | **Long** | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. | [optional] **successfulJobsHistoryLimit** | **Integer** | The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. | [optional] -**suspend** | **Boolean** | Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. | [optional] +**suspend** | **Boolean** | This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobStatus.md b/kubernetes/docs/V2alpha1CronJobStatus.md index 146c42c9d8..9c9ca4f42b 100644 --- a/kubernetes/docs/V2alpha1CronJobStatus.md +++ b/kubernetes/docs/V2alpha1CronJobStatus.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | Active holds pointers to currently running jobs. | [optional] -**lastScheduleTime** | [**DateTime**](DateTime.md) | LastScheduleTime keeps information of when was the last time the job was successfully scheduled. | [optional] +**active** | [**List<V1ObjectReference>**](V1ObjectReference.md) | A list of pointers to currently running jobs. | [optional] +**lastScheduleTime** | [**DateTime**](DateTime.md) | Information when was the last time the job was successfully scheduled. | [optional] diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md deleted file mode 100644 index 2459d9a365..0000000000 --- a/kubernetes/docs/V2alpha1HorizontalPodAutoscaler.md +++ /dev/null @@ -1,14 +0,0 @@ - -# V2alpha1HorizontalPodAutoscaler - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata is the standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V2alpha1HorizontalPodAutoscalerSpec**](V2alpha1HorizontalPodAutoscalerSpec.md) | spec is the specification for the behaviour of the autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] -**status** | [**V2alpha1HorizontalPodAutoscalerStatus**](V2alpha1HorizontalPodAutoscalerStatus.md) | status is the current information about the autoscaler. | [optional] - - - diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md b/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md deleted file mode 100644 index 9dbd4caa2d..0000000000 --- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerSpec.md +++ /dev/null @@ -1,13 +0,0 @@ - -# V2alpha1HorizontalPodAutoscalerSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**maxReplicas** | **Integer** | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. | -**metrics** | [**List<V2alpha1MetricSpec>**](V2alpha1MetricSpec.md) | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. | [optional] -**minReplicas** | **Integer** | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. | [optional] -**scaleTargetRef** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. | - - - diff --git a/kubernetes/docs/V2alpha1JobTemplateSpec.md b/kubernetes/docs/V2alpha1JobTemplateSpec.md index b9c9f419db..de9b01a817 100644 --- a/kubernetes/docs/V2alpha1JobTemplateSpec.md +++ b/kubernetes/docs/V2alpha1JobTemplateSpec.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1JobSpec**](V1JobSpec.md) | Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V2alpha1MetricSpec.md b/kubernetes/docs/V2alpha1MetricSpec.md deleted file mode 100644 index 4ab3e2acb6..0000000000 --- a/kubernetes/docs/V2alpha1MetricSpec.md +++ /dev/null @@ -1,13 +0,0 @@ - -# V2alpha1MetricSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**object** | [**V2alpha1ObjectMetricSource**](V2alpha1ObjectMetricSource.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] -**pods** | [**V2alpha1PodsMetricSource**](V2alpha1PodsMetricSource.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] -**resource** | [**V2alpha1ResourceMetricSource**](V2alpha1ResourceMetricSource.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] -**type** | **String** | type is the type of metric source. It should match one of the fields below. | - - - diff --git a/kubernetes/docs/V2alpha1MetricStatus.md b/kubernetes/docs/V2alpha1MetricStatus.md deleted file mode 100644 index d9a1f34e15..0000000000 --- a/kubernetes/docs/V2alpha1MetricStatus.md +++ /dev/null @@ -1,13 +0,0 @@ - -# V2alpha1MetricStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**object** | [**V2alpha1ObjectMetricStatus**](V2alpha1ObjectMetricStatus.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] -**pods** | [**V2alpha1PodsMetricStatus**](V2alpha1PodsMetricStatus.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] -**resource** | [**V2alpha1ResourceMetricStatus**](V2alpha1ResourceMetricStatus.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] -**type** | **String** | type is the type of metric source. It will match one of the fields below. | - - - diff --git a/kubernetes/docs/V2alpha1CrossVersionObjectReference.md b/kubernetes/docs/V2beta1CrossVersionObjectReference.md similarity index 62% rename from kubernetes/docs/V2alpha1CrossVersionObjectReference.md rename to kubernetes/docs/V2beta1CrossVersionObjectReference.md index 6583ad60ef..018f04f515 100644 --- a/kubernetes/docs/V2alpha1CrossVersionObjectReference.md +++ b/kubernetes/docs/V2beta1CrossVersionObjectReference.md @@ -1,11 +1,11 @@ -# V2alpha1CrossVersionObjectReference +# V2beta1CrossVersionObjectReference ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | API version of the referent | [optional] -**kind** | **String** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" | +**kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | **name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscaler.md b/kubernetes/docs/V2beta1HorizontalPodAutoscaler.md new file mode 100644 index 0000000000..0ed6767888 --- /dev/null +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscaler.md @@ -0,0 +1,14 @@ + +# V2beta1HorizontalPodAutoscaler + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V2beta1HorizontalPodAutoscalerSpec**](V2beta1HorizontalPodAutoscalerSpec.md) | spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**V2beta1HorizontalPodAutoscalerStatus**](V2beta1HorizontalPodAutoscalerStatus.md) | status is the current information about the autoscaler. | [optional] + + + diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md new file mode 100644 index 0000000000..99b2d13b77 --- /dev/null +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerCondition.md @@ -0,0 +1,14 @@ + +# V2beta1HorizontalPodAutoscalerCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastTransitionTime** | [**DateTime**](DateTime.md) | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] +**message** | **String** | message is a human-readable explanation containing details about the transition | [optional] +**reason** | **String** | reason is the reason for the condition's last transition. | [optional] +**status** | **String** | status is the status of the condition (True, False, Unknown) | +**type** | **String** | type describes the current condition | + + + diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerList.md similarity index 57% rename from kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md rename to kubernetes/docs/V2beta1HorizontalPodAutoscalerList.md index 7acf32f53a..4bbb9c150e 100644 --- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerList.md +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerList.md @@ -1,12 +1,12 @@ -# V2alpha1HorizontalPodAutoscalerList +# V2beta1HorizontalPodAutoscalerList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] -**items** | [**List<V2alpha1HorizontalPodAutoscaler>**](V2alpha1HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. | -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**List<V2beta1HorizontalPodAutoscaler>**](V2beta1HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata is the standard list metadata. | [optional] diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscalerSpec.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerSpec.md new file mode 100644 index 0000000000..74158857f6 --- /dev/null +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerSpec.md @@ -0,0 +1,13 @@ + +# V2beta1HorizontalPodAutoscalerSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**maxReplicas** | **Integer** | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. | +**metrics** | [**List<V2beta1MetricSpec>**](V2beta1MetricSpec.md) | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. | [optional] +**minReplicas** | **Integer** | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. | [optional] +**scaleTargetRef** | [**V2beta1CrossVersionObjectReference**](V2beta1CrossVersionObjectReference.md) | scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. | + + + diff --git a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md similarity index 62% rename from kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md rename to kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md index 184de4d246..de75df58ff 100644 --- a/kubernetes/docs/V2alpha1HorizontalPodAutoscalerStatus.md +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md @@ -1,10 +1,11 @@ -# V2alpha1HorizontalPodAutoscalerStatus +# V2beta1HorizontalPodAutoscalerStatus ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**currentMetrics** | [**List<V2alpha1MetricStatus>**](V2alpha1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | +**conditions** | [**List<V2beta1HorizontalPodAutoscalerCondition>**](V2beta1HorizontalPodAutoscalerCondition.md) | conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. | +**currentMetrics** | [**List<V2beta1MetricStatus>**](V2beta1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | **currentReplicas** | **Integer** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. | **desiredReplicas** | **Integer** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. | **lastScaleTime** | [**DateTime**](DateTime.md) | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] diff --git a/kubernetes/docs/V2beta1MetricSpec.md b/kubernetes/docs/V2beta1MetricSpec.md new file mode 100644 index 0000000000..efa10a9332 --- /dev/null +++ b/kubernetes/docs/V2beta1MetricSpec.md @@ -0,0 +1,13 @@ + +# V2beta1MetricSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**object** | [**V2beta1ObjectMetricSource**](V2beta1ObjectMetricSource.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] +**pods** | [**V2beta1PodsMetricSource**](V2beta1PodsMetricSource.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] +**resource** | [**V2beta1ResourceMetricSource**](V2beta1ResourceMetricSource.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] +**type** | **String** | type is the type of metric source. It should match one of the fields below. | + + + diff --git a/kubernetes/docs/V2beta1MetricStatus.md b/kubernetes/docs/V2beta1MetricStatus.md new file mode 100644 index 0000000000..c174291329 --- /dev/null +++ b/kubernetes/docs/V2beta1MetricStatus.md @@ -0,0 +1,13 @@ + +# V2beta1MetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**object** | [**V2beta1ObjectMetricStatus**](V2beta1ObjectMetricStatus.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] +**pods** | [**V2beta1PodsMetricStatus**](V2beta1PodsMetricStatus.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] +**resource** | [**V2beta1ResourceMetricStatus**](V2beta1ResourceMetricStatus.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] +**type** | **String** | type is the type of metric source. It will match one of the fields below. | + + + diff --git a/kubernetes/docs/V2alpha1ObjectMetricSource.md b/kubernetes/docs/V2beta1ObjectMetricSource.md similarity index 63% rename from kubernetes/docs/V2alpha1ObjectMetricSource.md rename to kubernetes/docs/V2beta1ObjectMetricSource.md index e46b977fd1..d4c66da505 100644 --- a/kubernetes/docs/V2alpha1ObjectMetricSource.md +++ b/kubernetes/docs/V2beta1ObjectMetricSource.md @@ -1,11 +1,11 @@ -# V2alpha1ObjectMetricSource +# V2beta1ObjectMetricSource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **metricName** | **String** | metricName is the name of the metric in question. | -**target** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | target is the described Kubernetes object. | +**target** | [**V2beta1CrossVersionObjectReference**](V2beta1CrossVersionObjectReference.md) | target is the described Kubernetes object. | **targetValue** | **String** | targetValue is the target value of the metric (as a quantity). | diff --git a/kubernetes/docs/V2alpha1ObjectMetricStatus.md b/kubernetes/docs/V2beta1ObjectMetricStatus.md similarity index 63% rename from kubernetes/docs/V2alpha1ObjectMetricStatus.md rename to kubernetes/docs/V2beta1ObjectMetricStatus.md index 91edab1e4e..7cc1aed4f7 100644 --- a/kubernetes/docs/V2alpha1ObjectMetricStatus.md +++ b/kubernetes/docs/V2beta1ObjectMetricStatus.md @@ -1,12 +1,12 @@ -# V2alpha1ObjectMetricStatus +# V2beta1ObjectMetricStatus ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **currentValue** | **String** | currentValue is the current value of the metric (as a quantity). | **metricName** | **String** | metricName is the name of the metric in question. | -**target** | [**V2alpha1CrossVersionObjectReference**](V2alpha1CrossVersionObjectReference.md) | target is the described Kubernetes object. | +**target** | [**V2beta1CrossVersionObjectReference**](V2beta1CrossVersionObjectReference.md) | target is the described Kubernetes object. | diff --git a/kubernetes/docs/V2alpha1PodsMetricSource.md b/kubernetes/docs/V2beta1PodsMetricSource.md similarity index 92% rename from kubernetes/docs/V2alpha1PodsMetricSource.md rename to kubernetes/docs/V2beta1PodsMetricSource.md index 6bc5894cf7..7ecf216a5f 100644 --- a/kubernetes/docs/V2alpha1PodsMetricSource.md +++ b/kubernetes/docs/V2beta1PodsMetricSource.md @@ -1,5 +1,5 @@ -# V2alpha1PodsMetricSource +# V2beta1PodsMetricSource ## Properties Name | Type | Description | Notes diff --git a/kubernetes/docs/V2alpha1PodsMetricStatus.md b/kubernetes/docs/V2beta1PodsMetricStatus.md similarity index 92% rename from kubernetes/docs/V2alpha1PodsMetricStatus.md rename to kubernetes/docs/V2beta1PodsMetricStatus.md index aa6e2e222f..4280143178 100644 --- a/kubernetes/docs/V2alpha1PodsMetricStatus.md +++ b/kubernetes/docs/V2beta1PodsMetricStatus.md @@ -1,5 +1,5 @@ -# V2alpha1PodsMetricStatus +# V2beta1PodsMetricStatus ## Properties Name | Type | Description | Notes diff --git a/kubernetes/docs/V2alpha1ResourceMetricSource.md b/kubernetes/docs/V2beta1ResourceMetricSource.md similarity index 67% rename from kubernetes/docs/V2alpha1ResourceMetricSource.md rename to kubernetes/docs/V2beta1ResourceMetricSource.md index 5624890f1d..8745c6edcb 100644 --- a/kubernetes/docs/V2alpha1ResourceMetricSource.md +++ b/kubernetes/docs/V2beta1ResourceMetricSource.md @@ -1,12 +1,12 @@ -# V2alpha1ResourceMetricSource +# V2beta1ResourceMetricSource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | name is the name of the resource in question. | **targetAverageUtilization** | **Integer** | targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | [optional] -**targetAverageValue** | **String** | targetAverageValue is the the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. | [optional] +**targetAverageValue** | **String** | targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. | [optional] diff --git a/kubernetes/docs/V2alpha1ResourceMetricStatus.md b/kubernetes/docs/V2beta1ResourceMetricStatus.md similarity index 66% rename from kubernetes/docs/V2alpha1ResourceMetricStatus.md rename to kubernetes/docs/V2beta1ResourceMetricStatus.md index 2ae5339d5b..c55c9ac101 100644 --- a/kubernetes/docs/V2alpha1ResourceMetricStatus.md +++ b/kubernetes/docs/V2beta1ResourceMetricStatus.md @@ -1,11 +1,11 @@ -# V2alpha1ResourceMetricStatus +# V2beta1ResourceMetricStatus ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **currentAverageUtilization** | **Integer** | currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification. | [optional] -**currentAverageValue** | **String** | currentAverageValue is the the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. | +**currentAverageValue** | **String** | currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. | **name** | **String** | name is the name of the resource in question. | diff --git a/kubernetes/src/main/java/io/kubernetes/client/ApiCallback.java b/kubernetes/src/main/java/io/kubernetes/client/ApiCallback.java index c0b85f9a1e..9e9498a128 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ApiCallback.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ApiCallback.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/ApiException.java b/kubernetes/src/main/java/io/kubernetes/client/ApiException.java index 59b5673101..754442621b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ApiException.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ApiException.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/ApiResponse.java b/kubernetes/src/main/java/io/kubernetes/client/ApiResponse.java index 1dc419ddf9..2642cb30f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ApiResponse.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ApiResponse.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/Configuration.java b/kubernetes/src/main/java/io/kubernetes/client/Configuration.java index 00bc77f008..e500597e84 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/Configuration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/Configuration.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/GzipRequestInterceptor.java b/kubernetes/src/main/java/io/kubernetes/client/GzipRequestInterceptor.java index d00188beb5..b08b9a6f81 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/GzipRequestInterceptor.java +++ b/kubernetes/src/main/java/io/kubernetes/client/GzipRequestInterceptor.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/Pair.java b/kubernetes/src/main/java/io/kubernetes/client/Pair.java index 78da0b06be..06aa147f5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/Pair.java +++ b/kubernetes/src/main/java/io/kubernetes/client/Pair.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java b/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java index 71ca590c98..ad32af6afd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ProgressRequestBody.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/ProgressResponseBody.java b/kubernetes/src/main/java/io/kubernetes/client/ProgressResponseBody.java index 9d3d343657..489b43666f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/ProgressResponseBody.java +++ b/kubernetes/src/main/java/io/kubernetes/client/ProgressResponseBody.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/StringUtil.java b/kubernetes/src/main/java/io/kubernetes/client/StringUtil.java index 6f02046f6d..ad520462c3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/StringUtil.java +++ b/kubernetes/src/main/java/io/kubernetes/client/StringUtil.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationApi.java new file mode 100644 index 0000000000..bb0f454779 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationApi.java @@ -0,0 +1,174 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIGroup; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class AdmissionregistrationApi { + private ApiClient apiClient; + + public AdmissionregistrationApi() { + this(Configuration.getDefaultApiClient()); + } + + public AdmissionregistrationApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get information of a group + * @return V1APIGroup + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIGroup getAPIGroup() throws ApiException { + ApiResponse resp = getAPIGroupWithHttpInfo(); + return resp.getData(); + } + + /** + * + * get information of a group + * @return ApiResponse<V1APIGroup> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getAPIGroupWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get information of a group + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIGroupAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1Api.java new file mode 100644 index 0000000000..891dd1f20f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1Api.java @@ -0,0 +1,2306 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHookConfiguration; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHookConfigurationList; +import io.kubernetes.client.models.V1alpha1InitializerConfiguration; +import io.kubernetes.client.models.V1alpha1InitializerConfigurationList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class AdmissionregistrationV1alpha1Api { + private ApiClient apiClient; + + public AdmissionregistrationV1alpha1Api() { + this(Configuration.getDefaultApiClient()); + } + + public AdmissionregistrationV1alpha1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createExternalAdmissionHookConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createExternalAdmissionHookConfigurationCall(V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createExternalAdmissionHookConfigurationValidateBeforeCall(V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createExternalAdmissionHookConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = createExternalAdmissionHookConfigurationCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create an ExternalAdmissionHookConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1ExternalAdmissionHookConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1ExternalAdmissionHookConfiguration createExternalAdmissionHookConfiguration(V1alpha1ExternalAdmissionHookConfiguration body, String pretty) throws ApiException { + ApiResponse resp = createExternalAdmissionHookConfigurationWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create an ExternalAdmissionHookConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1ExternalAdmissionHookConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createExternalAdmissionHookConfigurationWithHttpInfo(V1alpha1ExternalAdmissionHookConfiguration body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createExternalAdmissionHookConfigurationValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create an ExternalAdmissionHookConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createExternalAdmissionHookConfigurationAsync(V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createExternalAdmissionHookConfigurationValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createInitializerConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createInitializerConfigurationCall(V1alpha1InitializerConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createInitializerConfigurationValidateBeforeCall(V1alpha1InitializerConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createInitializerConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = createInitializerConfigurationCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create an InitializerConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1InitializerConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1InitializerConfiguration createInitializerConfiguration(V1alpha1InitializerConfiguration body, String pretty) throws ApiException { + ApiResponse resp = createInitializerConfigurationWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create an InitializerConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1InitializerConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createInitializerConfigurationWithHttpInfo(V1alpha1InitializerConfiguration body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createInitializerConfigurationValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create an InitializerConfiguration + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createInitializerConfigurationAsync(V1alpha1InitializerConfiguration body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createInitializerConfigurationValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionExternalAdmissionHookConfigurationCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionExternalAdmissionHookConfigurationValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionExternalAdmissionHookConfigurationCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionExternalAdmissionHookConfiguration(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionExternalAdmissionHookConfigurationWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionExternalAdmissionHookConfigurationWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionExternalAdmissionHookConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionExternalAdmissionHookConfigurationAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionExternalAdmissionHookConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionInitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionInitializerConfigurationCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionInitializerConfigurationValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionInitializerConfigurationCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionInitializerConfiguration(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionInitializerConfigurationWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionInitializerConfigurationWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionInitializerConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionInitializerConfigurationAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionInitializerConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteExternalAdmissionHookConfigurationCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteExternalAdmissionHookConfigurationValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteExternalAdmissionHookConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteExternalAdmissionHookConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = deleteExternalAdmissionHookConfigurationCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete an ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteExternalAdmissionHookConfiguration(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteExternalAdmissionHookConfigurationWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete an ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteExternalAdmissionHookConfigurationWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete an ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteExternalAdmissionHookConfigurationAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteInitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteInitializerConfigurationCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteInitializerConfigurationValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteInitializerConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteInitializerConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = deleteInitializerConfigurationCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete an InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteInitializerConfiguration(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteInitializerConfigurationWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete an InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteInitializerConfigurationWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteInitializerConfigurationValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete an InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteInitializerConfigurationAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteInitializerConfigurationValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listExternalAdmissionHookConfigurationCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listExternalAdmissionHookConfigurationValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listExternalAdmissionHookConfigurationCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1alpha1ExternalAdmissionHookConfigurationList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1ExternalAdmissionHookConfigurationList listExternalAdmissionHookConfiguration(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listExternalAdmissionHookConfigurationWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1alpha1ExternalAdmissionHookConfigurationList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listExternalAdmissionHookConfigurationWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listExternalAdmissionHookConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ExternalAdmissionHookConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listExternalAdmissionHookConfigurationAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listExternalAdmissionHookConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listInitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listInitializerConfigurationCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listInitializerConfigurationValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listInitializerConfigurationCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1alpha1InitializerConfigurationList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1InitializerConfigurationList listInitializerConfiguration(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listInitializerConfigurationWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1alpha1InitializerConfigurationList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listInitializerConfigurationWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listInitializerConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind InitializerConfiguration + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listInitializerConfigurationAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listInitializerConfigurationValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchExternalAdmissionHookConfigurationCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchExternalAdmissionHookConfigurationValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchExternalAdmissionHookConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchExternalAdmissionHookConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = patchExternalAdmissionHookConfigurationCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1ExternalAdmissionHookConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1ExternalAdmissionHookConfiguration patchExternalAdmissionHookConfiguration(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchExternalAdmissionHookConfigurationWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1ExternalAdmissionHookConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchExternalAdmissionHookConfigurationWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchExternalAdmissionHookConfigurationAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchInitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchInitializerConfigurationCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchInitializerConfigurationValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchInitializerConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchInitializerConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = patchInitializerConfigurationCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1InitializerConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1InitializerConfiguration patchInitializerConfiguration(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchInitializerConfigurationWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1InitializerConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchInitializerConfigurationWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchInitializerConfigurationValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchInitializerConfigurationAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchInitializerConfigurationValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readExternalAdmissionHookConfigurationCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readExternalAdmissionHookConfigurationValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readExternalAdmissionHookConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = readExternalAdmissionHookConfigurationCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1alpha1ExternalAdmissionHookConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1ExternalAdmissionHookConfiguration readExternalAdmissionHookConfiguration(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readExternalAdmissionHookConfigurationWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1alpha1ExternalAdmissionHookConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readExternalAdmissionHookConfigurationWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readExternalAdmissionHookConfigurationValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readExternalAdmissionHookConfigurationAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readExternalAdmissionHookConfigurationValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readInitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readInitializerConfigurationCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readInitializerConfigurationValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readInitializerConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = readInitializerConfigurationCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1alpha1InitializerConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1InitializerConfiguration readInitializerConfiguration(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readInitializerConfigurationWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1alpha1InitializerConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readInitializerConfigurationWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readInitializerConfigurationValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readInitializerConfigurationAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readInitializerConfigurationValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceExternalAdmissionHookConfigurationCall(String name, V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceExternalAdmissionHookConfigurationValidateBeforeCall(String name, V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceExternalAdmissionHookConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceExternalAdmissionHookConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = replaceExternalAdmissionHookConfigurationCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1ExternalAdmissionHookConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1ExternalAdmissionHookConfiguration replaceExternalAdmissionHookConfiguration(String name, V1alpha1ExternalAdmissionHookConfiguration body, String pretty) throws ApiException { + ApiResponse resp = replaceExternalAdmissionHookConfigurationWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1ExternalAdmissionHookConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceExternalAdmissionHookConfigurationWithHttpInfo(String name, V1alpha1ExternalAdmissionHookConfiguration body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified ExternalAdmissionHookConfiguration + * @param name name of the ExternalAdmissionHookConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceExternalAdmissionHookConfigurationAsync(String name, V1alpha1ExternalAdmissionHookConfiguration body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceExternalAdmissionHookConfigurationValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceInitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceInitializerConfigurationCall(String name, V1alpha1InitializerConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceInitializerConfigurationValidateBeforeCall(String name, V1alpha1InitializerConfiguration body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceInitializerConfiguration(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceInitializerConfiguration(Async)"); + } + + + com.squareup.okhttp.Call call = replaceInitializerConfigurationCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1InitializerConfiguration + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1InitializerConfiguration replaceInitializerConfiguration(String name, V1alpha1InitializerConfiguration body, String pretty) throws ApiException { + ApiResponse resp = replaceInitializerConfigurationWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1InitializerConfiguration> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceInitializerConfigurationWithHttpInfo(String name, V1alpha1InitializerConfiguration body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceInitializerConfigurationValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified InitializerConfiguration + * @param name name of the InitializerConfiguration (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceInitializerConfigurationAsync(String name, V1alpha1InitializerConfiguration body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceInitializerConfigurationValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsApi.java new file mode 100644 index 0000000000..f3d3379f2b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsApi.java @@ -0,0 +1,174 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIGroup; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ApiextensionsApi { + private ApiClient apiClient; + + public ApiextensionsApi() { + this(Configuration.getDefaultApiClient()); + } + + public ApiextensionsApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get information of a group + * @return V1APIGroup + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIGroup getAPIGroup() throws ApiException { + ApiResponse resp = getAPIGroupWithHttpInfo(); + return resp.getData(); + } + + /** + * + * get information of a group + * @return ApiResponse<V1APIGroup> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getAPIGroupWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get information of a group + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIGroupAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsV1beta1Api.java new file mode 100644 index 0000000000..d3f62b4d70 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiextensionsV1beta1Api.java @@ -0,0 +1,1383 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1CustomResourceDefinition; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ApiextensionsV1beta1Api { + private ApiClient apiClient; + + public ApiextensionsV1beta1Api() { + this(Configuration.getDefaultApiClient()); + } + + public ApiextensionsV1beta1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createCustomResourceDefinition + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createCustomResourceDefinitionCall(V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createCustomResourceDefinitionValidateBeforeCall(V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createCustomResourceDefinition(Async)"); + } + + + com.squareup.okhttp.Call call = createCustomResourceDefinitionCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a CustomResourceDefinition + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CustomResourceDefinition + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinition createCustomResourceDefinition(V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + ApiResponse resp = createCustomResourceDefinitionWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a CustomResourceDefinition + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinition> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createCustomResourceDefinitionWithHttpInfo(V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createCustomResourceDefinitionValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a CustomResourceDefinition + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createCustomResourceDefinitionAsync(V1beta1CustomResourceDefinition body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createCustomResourceDefinitionValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionCustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionCustomResourceDefinitionCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionCustomResourceDefinitionValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionCustomResourceDefinitionCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionCustomResourceDefinition(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionCustomResourceDefinitionWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionCustomResourceDefinitionValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionCustomResourceDefinitionAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionCustomResourceDefinitionValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCustomResourceDefinitionCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCustomResourceDefinitionValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteCustomResourceDefinition(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteCustomResourceDefinition(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCustomResourceDefinitionCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCustomResourceDefinition(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteCustomResourceDefinitionWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCustomResourceDefinitionWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteCustomResourceDefinitionValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCustomResourceDefinitionAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCustomResourceDefinitionValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listCustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listCustomResourceDefinitionCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listCustomResourceDefinitionValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listCustomResourceDefinitionCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1CustomResourceDefinitionList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinitionList listCustomResourceDefinition(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listCustomResourceDefinitionWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinitionList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listCustomResourceDefinitionWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listCustomResourceDefinitionValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind CustomResourceDefinition + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listCustomResourceDefinitionAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listCustomResourceDefinitionValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchCustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchCustomResourceDefinitionCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchCustomResourceDefinitionValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchCustomResourceDefinition(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchCustomResourceDefinition(Async)"); + } + + + com.squareup.okhttp.Call call = patchCustomResourceDefinitionCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CustomResourceDefinition + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinition patchCustomResourceDefinition(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchCustomResourceDefinitionWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinition> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchCustomResourceDefinitionWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchCustomResourceDefinitionValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchCustomResourceDefinitionAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchCustomResourceDefinitionValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readCustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readCustomResourceDefinitionCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readCustomResourceDefinitionValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readCustomResourceDefinition(Async)"); + } + + + com.squareup.okhttp.Call call = readCustomResourceDefinitionCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta1CustomResourceDefinition + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinition readCustomResourceDefinition(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readCustomResourceDefinitionWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinition> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readCustomResourceDefinitionWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readCustomResourceDefinitionValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readCustomResourceDefinitionAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readCustomResourceDefinitionValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceCustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceCustomResourceDefinitionCall(String name, V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceCustomResourceDefinitionValidateBeforeCall(String name, V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceCustomResourceDefinition(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceCustomResourceDefinition(Async)"); + } + + + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CustomResourceDefinition + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinition replaceCustomResourceDefinition(String name, V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + ApiResponse resp = replaceCustomResourceDefinitionWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinition> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceCustomResourceDefinitionWithHttpInfo(String name, V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceCustomResourceDefinitionAsync(String name, V1beta1CustomResourceDefinition body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceCustomResourceDefinitionStatus + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceCustomResourceDefinitionStatusCall(String name, V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceCustomResourceDefinitionStatusValidateBeforeCall(String name, V1beta1CustomResourceDefinition body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceCustomResourceDefinitionStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceCustomResourceDefinitionStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionStatusCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CustomResourceDefinition + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CustomResourceDefinition replaceCustomResourceDefinitionStatus(String name, V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + ApiResponse resp = replaceCustomResourceDefinitionStatusWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CustomResourceDefinition> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceCustomResourceDefinitionStatusWithHttpInfo(String name, V1beta1CustomResourceDefinition body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionStatusValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified CustomResourceDefinition + * @param name name of the CustomResourceDefinition (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceCustomResourceDefinitionStatusAsync(String name, V1beta1CustomResourceDefinition body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceCustomResourceDefinitionStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationApi.java new file mode 100644 index 0000000000..89e2c8eb8b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationApi.java @@ -0,0 +1,174 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIGroup; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ApiregistrationApi { + private ApiClient apiClient; + + public ApiregistrationApi() { + this(Configuration.getDefaultApiClient()); + } + + public ApiregistrationApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get information of a group + * @return V1APIGroup + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIGroup getAPIGroup() throws ApiException { + ApiResponse resp = getAPIGroupWithHttpInfo(); + return resp.getData(); + } + + /** + * + * get information of a group + * @return ApiResponse<V1APIGroup> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getAPIGroupWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get information of a group + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIGroupAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationV1beta1Api.java new file mode 100644 index 0000000000..8cb529c19e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApiregistrationV1beta1Api.java @@ -0,0 +1,1383 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1APIService; +import io.kubernetes.client.models.V1beta1APIServiceList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class ApiregistrationV1beta1Api { + private ApiClient apiClient; + + public ApiregistrationV1beta1Api() { + this(Configuration.getDefaultApiClient()); + } + + public ApiregistrationV1beta1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createAPIService + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createAPIServiceCall(V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createAPIServiceValidateBeforeCall(V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createAPIService(Async)"); + } + + + com.squareup.okhttp.Call call = createAPIServiceCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create an APIService + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1APIService + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIService createAPIService(V1beta1APIService body, String pretty) throws ApiException { + ApiResponse resp = createAPIServiceWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create an APIService + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1APIService> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createAPIServiceWithHttpInfo(V1beta1APIService body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createAPIServiceValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create an APIService + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createAPIServiceAsync(V1beta1APIService body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createAPIServiceValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteAPIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteAPIServiceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteAPIServiceValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteAPIService(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteAPIService(Async)"); + } + + + com.squareup.okhttp.Call call = deleteAPIServiceCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete an APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteAPIService(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteAPIServiceWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete an APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteAPIServiceWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteAPIServiceValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete an APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteAPIServiceAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteAPIServiceValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionAPIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionAPIServiceCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionAPIServiceValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionAPIServiceCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionAPIService(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionAPIServiceWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionAPIServiceWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionAPIServiceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionAPIServiceAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionAPIServiceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listAPIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listAPIServiceCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listAPIServiceValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listAPIServiceCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1APIServiceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIServiceList listAPIService(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listAPIServiceWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1APIServiceList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listAPIServiceWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listAPIServiceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind APIService + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listAPIServiceAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listAPIServiceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchAPIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchAPIServiceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchAPIServiceValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchAPIService(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchAPIService(Async)"); + } + + + com.squareup.okhttp.Call call = patchAPIServiceCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1APIService + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIService patchAPIService(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchAPIServiceWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1APIService> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchAPIServiceWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchAPIServiceValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchAPIServiceAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchAPIServiceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readAPIService + * @param name name of the APIService (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readAPIServiceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readAPIServiceValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readAPIService(Async)"); + } + + + com.squareup.okhttp.Call call = readAPIServiceCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified APIService + * @param name name of the APIService (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta1APIService + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIService readAPIService(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readAPIServiceWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified APIService + * @param name name of the APIService (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta1APIService> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readAPIServiceWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readAPIServiceValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified APIService + * @param name name of the APIService (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readAPIServiceAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readAPIServiceValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceAPIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceAPIServiceCall(String name, V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceAPIServiceValidateBeforeCall(String name, V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceAPIService(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceAPIService(Async)"); + } + + + com.squareup.okhttp.Call call = replaceAPIServiceCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1APIService + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIService replaceAPIService(String name, V1beta1APIService body, String pretty) throws ApiException { + ApiResponse resp = replaceAPIServiceWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1APIService> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceAPIServiceWithHttpInfo(String name, V1beta1APIService body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceAPIServiceValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceAPIServiceAsync(String name, V1beta1APIService body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceAPIServiceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceAPIServiceStatus + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceAPIServiceStatusCall(String name, V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceAPIServiceStatusValidateBeforeCall(String name, V1beta1APIService body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceAPIServiceStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceAPIServiceStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceAPIServiceStatusCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1APIService + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1APIService replaceAPIServiceStatus(String name, V1beta1APIService body, String pretty) throws ApiException { + ApiResponse resp = replaceAPIServiceStatusWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1APIService> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceAPIServiceStatusWithHttpInfo(String name, V1beta1APIService body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceAPIServiceStatusValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified APIService + * @param name name of the APIService (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceAPIServiceStatusAsync(String name, V1beta1APIService body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceAPIServiceStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java index ec9daac4dc..dbc6c168c0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ApisApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java index e5cd36ac41..b3b9ca7302 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java index cb0b4316a1..4c8bb7e576 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -34,6 +34,8 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1DeleteOptions; import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1ControllerRevision; +import io.kubernetes.client.models.V1beta1ControllerRevisionList; import io.kubernetes.client.models.V1beta1StatefulSet; import io.kubernetes.client.models.V1beta1StatefulSetList; @@ -62,6 +64,148 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } + /** + * Build call for createNamespacedControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedControllerRevisionCall(String namespace, V1beta1ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedControllerRevisionValidateBeforeCall(String namespace, V1beta1ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedControllerRevisionCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1ControllerRevision createNamespacedControllerRevision(String namespace, V1beta1ControllerRevision body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedControllerRevisionWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedControllerRevisionWithHttpInfo(String namespace, V1beta1ControllerRevision body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedControllerRevisionValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedControllerRevisionAsync(String namespace, V1beta1ControllerRevision body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedControllerRevisionValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } /** * Build call for createNamespacedDeployment * @param namespace object name and auth scope, such as for teams and projects (required) @@ -205,7 +349,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for createNamespacedDeploymentRollbackRollback + * Build call for createNamespacedDeploymentRollback * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -215,7 +359,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -261,25 +405,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValidateBeforeCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedDeploymentRollbackValidateBeforeCall(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling createNamespacedDeploymentRollback(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollback(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDeploymentRollback(Async)"); } - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -290,7 +434,7 @@ private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValid /** * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -298,14 +442,14 @@ private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValid * @return AppsV1beta1DeploymentRollback * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedDeploymentRollbackRollbackWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1DeploymentRollback createNamespacedDeploymentRollback(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedDeploymentRollbackWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -313,15 +457,15 @@ public AppsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback( * @return ApiResponse<AppsV1beta1DeploymentRollback> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedDeploymentRollbackRollbackWithHttpInfo(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse createNamespacedDeploymentRollbackWithHttpInfo(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -330,7 +474,7 @@ public ApiResponse createNamespacedDeploymentRoll * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackAsync(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackAsync(String name, String namespace, AppsV1beta1DeploymentRollback body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -351,7 +495,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -499,11 +643,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for deleteCollectionNamespacedDeployment + * Build call for deleteCollectionNamespacedControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -512,21 +659,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -567,15 +720,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedControllerRevision(Async)"); } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -586,48 +739,57 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBef /** * - * delete collection of Deployment + * delete collection of ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedDeployment(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedControllerRevision(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * delete collection of Deployment + * delete collection of ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedControllerRevisionWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * delete collection of Deployment + * delete collection of ControllerRevision * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -635,7 +797,7 @@ public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -656,17 +818,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteCollectionNamespacedStatefulSet + * Build call for deleteCollectionNamespacedDeployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -675,21 +840,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -730,15 +901,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDeployment(Async)"); } - com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -749,48 +920,57 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetValidateBe /** * - * delete collection of StatefulSet + * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedStatefulSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * delete collection of StatefulSet + * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * delete collection of StatefulSet + * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -798,7 +978,7 @@ public ApiResponse deleteCollectionNamespacedStatefulSetWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -819,43 +999,55 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteNamespacedDeployment - * @param name name of the Deployment (required) + * Build call for deleteCollectionNamespacedStatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (gracePeriodSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - if (orphanDependents != null) - localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); - if (propagationPolicy != null) - localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); @@ -890,25 +1082,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteNamespacedDeploymentValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedDeployment(Async)"); - } + private com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedDeployment(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedStatefulSet(Async)"); } - com.squareup.okhttp.Call call = deleteNamespacedDeploymentCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -919,56 +1101,65 @@ private com.squareup.okhttp.Call deleteNamespacedDeploymentValidateBeforeCall(St /** * - * delete a Deployment - * @param name name of the Deployment (required) + * delete collection of StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteNamespacedDeployment(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - ApiResponse resp = deleteNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + public V1Status deleteCollectionNamespacedStatefulSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * delete a Deployment - * @param name name of the Deployment (required) + * delete collection of StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteNamespacedDeploymentWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + public ApiResponse deleteCollectionNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * delete a Deployment - * @param name name of the Deployment (required) + * delete collection of StatefulSet * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteNamespacedDeploymentAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -989,14 +1180,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteNamespacedStatefulSet - * @param name name of the StatefulSet (required) + * Build call for deleteNamespacedControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -1008,11 +1199,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteNamespacedStatefulSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteNamespacedControllerRevisionCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1060,25 +1251,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedControllerRevision(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedControllerRevision(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedControllerRevision(Async)"); } - com.squareup.okhttp.Call call = deleteNamespacedStatefulSetCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); return call; @@ -1089,8 +1280,8 @@ private com.squareup.okhttp.Call deleteNamespacedStatefulSetValidateBeforeCall(S /** * - * delete a StatefulSet - * @param name name of the StatefulSet (required) + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -1100,15 +1291,15 @@ private com.squareup.okhttp.Call deleteNamespacedStatefulSetValidateBeforeCall(S * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteNamespacedStatefulSet(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - ApiResponse resp = deleteNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + public V1Status deleteNamespacedControllerRevision(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); return resp.getData(); } /** * - * delete a StatefulSet - * @param name name of the StatefulSet (required) + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -1118,16 +1309,16 @@ public V1Status deleteNamespacedStatefulSet(String name, String namespace, V1Del * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + public ApiResponse deleteNamespacedControllerRevisionWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * delete a StatefulSet - * @param name name of the StatefulSet (required) + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -1138,7 +1329,7 @@ public ApiResponse deleteNamespacedStatefulSetWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteNamespacedStatefulSetAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteNamespacedControllerRevisionAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1159,26 +1350,1699 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getAPIResources - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object + * Build call for deleteNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedDeploymentValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedDeployment(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedDeploymentCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedDeployment(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedDeploymentWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedStatefulSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedStatefulSet(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedStatefulSetAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listControllerRevisionForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listControllerRevisionForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/controllerrevisions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listControllerRevisionForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1ControllerRevisionList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1ControllerRevisionList listControllerRevisionForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listControllerRevisionForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1ControllerRevisionList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listControllerRevisionForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listControllerRevisionForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listDeploymentForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/deployments"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return AppsV1beta1DeploymentList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AppsV1beta1DeploymentList listDeploymentForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listDeploymentForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<AppsV1beta1DeploymentList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listDeploymentForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedControllerRevisionCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedControllerRevisionValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedControllerRevisionCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1ControllerRevisionList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1ControllerRevisionList listNamespacedControllerRevision(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1ControllerRevisionList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedControllerRevisionWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedControllerRevisionAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return AppsV1beta1DeploymentList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AppsV1beta1DeploymentList listNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<AppsV1beta1DeploymentList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedStatefulSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedStatefulSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1StatefulSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1StatefulSetList listNamespacedStatefulSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1StatefulSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedStatefulSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listStatefulSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listStatefulSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/statefulsets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listStatefulSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1StatefulSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1StatefulSetList listStatefulSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listStatefulSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1StatefulSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listStatefulSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listStatefulSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedControllerRevisionCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1ControllerRevision patchNamespacedControllerRevision(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedControllerRevisionWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedControllerRevisionAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/"; + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); Map localVarHeaderParams = new HashMap(); @@ -1191,7 +3055,7 @@ public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.P if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -1209,14 +3073,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDeploymentValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeployment(Async)"); + } - com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1227,35 +3106,47 @@ private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final Progres /** * - * get available resources - * @return V1APIResourceList + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return AppsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1APIResourceList getAPIResources() throws ApiException { - ApiResponse resp = getAPIResourcesWithHttpInfo(); + public AppsV1beta1Deployment patchNamespacedDeployment(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * get available resources - * @return ApiResponse<V1APIResourceList> + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<AppsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDeploymentWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * get available resources + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1276,57 +3167,47 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listDeploymentForAllNamespaces - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * Build call for patchNamespacedDeploymentScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/deployments"; + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -1344,14 +3225,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentScale(Async)"); + } - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1362,53 +3258,47 @@ private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCal /** * - * list or watch objects of kind Deployment - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return AppsV1beta1DeploymentList + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1DeploymentList listDeploymentForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listDeploymentForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public AppsV1beta1Scale patchNamespacedDeploymentScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind Deployment - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<AppsV1beta1DeploymentList> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listDeploymentForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Deployment - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listDeploymentForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1429,59 +3319,47 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedDeployment + * Build call for patchNamespacedDeploymentStatus + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -1499,19 +3377,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus(Async)"); + } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus(Async)"); } - com.squareup.okhttp.Call call = listNamespacedDeploymentCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1522,56 +3410,47 @@ private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(Stri /** * - * list or watch objects of kind Deployment + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return AppsV1beta1DeploymentList + * @return AppsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1DeploymentList listNamespacedDeployment(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedDeploymentWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public AppsV1beta1Deployment patchNamespacedDeploymentStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind Deployment + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<AppsV1beta1DeploymentList> + * @return ApiResponse<AppsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Deployment + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedDeploymentAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1592,59 +3471,47 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedStatefulSet + * Build call for patchNamespacedStatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedStatefulSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -1662,19 +3529,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedStatefulSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSet(Async)"); + } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSet(Async)"); } - com.squareup.okhttp.Call call = listNamespacedStatefulSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1685,56 +3562,47 @@ private com.squareup.okhttp.Call listNamespacedStatefulSetValidateBeforeCall(Str /** * - * list or watch objects of kind StatefulSet + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1beta1StatefulSetList + * @return V1beta1StatefulSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSetList listNamespacedStatefulSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedStatefulSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1StatefulSet patchNamespacedStatefulSet(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind StatefulSet + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1beta1StatefulSetList> + * @return ApiResponse<V1beta1StatefulSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedStatefulSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind StatefulSet + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedStatefulSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedStatefulSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1755,57 +3623,47 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listStatefulSetForAllNamespaces - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * Build call for patchNamespacedStatefulSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listStatefulSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedStatefulSetScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/statefulsets"; + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -1823,14 +3681,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listStatefulSetForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSetScale(Async)"); + } - com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1841,53 +3714,47 @@ private com.squareup.okhttp.Call listStatefulSetForAllNamespacesValidateBeforeCa /** * - * list or watch objects of kind StatefulSet - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1beta1StatefulSetList + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSetList listStatefulSetForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listStatefulSetForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public AppsV1beta1Scale patchNamespacedStatefulSetScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind StatefulSet - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1beta1StatefulSetList> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listStatefulSetForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind StatefulSet - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listStatefulSetForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedStatefulSetScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1908,14 +3775,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedDeployment - * @param name name of the Deployment (required) + * Build call for patchNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -1924,11 +3791,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1970,25 +3837,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDeploymentValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSetStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -1999,39 +3866,39 @@ private com.squareup.okhttp.Call patchNamespacedDeploymentValidateBeforeCall(Str /** * - * partially update the specified Deployment - * @param name name of the Deployment (required) + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Deployment + * @return V1beta1StatefulSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Deployment patchNamespacedDeployment(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); + public V1beta1StatefulSet patchNamespacedStatefulSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified Deployment - * @param name name of the Deployment (required) + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Deployment> + * @return ApiResponse<V1beta1StatefulSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedDeploymentWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified Deployment - * @param name name of the Deployment (required) + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -2039,7 +3906,7 @@ public ApiResponse patchNamespacedDeploymentWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2060,27 +3927,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedDeploymentStatus - * @param name name of the Deployment (required) + * Build call for readNamespacedControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedControllerRevisionCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2088,6 +3956,10 @@ public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -2100,7 +3972,7 @@ public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "*/*" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2118,29 +3990,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedControllerRevision(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedControllerRevision(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedControllerRevisionCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); return call; @@ -2151,47 +4018,50 @@ private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCa /** * - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Deployment + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta1ControllerRevision * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Deployment patchNamespacedDeploymentStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); + public V1beta1ControllerRevision readNamespacedControllerRevision(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } /** * - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Deployment> + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta1ControllerRevision> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedControllerRevisionWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedControllerRevisionValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedControllerRevisionAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2212,27 +4082,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedControllerRevisionValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedScaleScale - * @param name name of the Scale (required) + * Build call for readNamespacedDeployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2240,6 +4111,10 @@ public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, Strin List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -2252,7 +4127,7 @@ public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, Strin if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "*/*" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2270,29 +4145,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedScaleScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedDeploymentValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeployment(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedScaleScale(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeployment(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedScaleScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedDeploymentCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); return call; @@ -2303,47 +4173,50 @@ private com.squareup.okhttp.Call patchNamespacedScaleScaleValidateBeforeCall(Str /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * read the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Scale + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return AppsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Scale patchNamespacedScaleScale(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedScaleScaleWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1Deployment readNamespacedDeployment(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedDeploymentWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * read the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Scale> + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<AppsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedScaleScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedDeploymentWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * read the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedScaleScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2364,27 +4237,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedStatefulSet - * @param name name of the StatefulSet (required) + * Build call for readNamespacedDeploymentScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedDeploymentScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2404,7 +4276,7 @@ public com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, Stri if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "*/*" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2422,29 +4294,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedStatefulSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSet(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentScale(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -2455,47 +4322,44 @@ private com.squareup.okhttp.Call patchNamespacedStatefulSetValidateBeforeCall(St /** * - * partially update the specified StatefulSet - * @param name name of the StatefulSet (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1StatefulSet + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSet patchNamespacedStatefulSet(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1Scale readNamespacedDeploymentScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * partially update the specified StatefulSet - * @param name name of the StatefulSet (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1StatefulSet> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedStatefulSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified StatefulSet - * @param name name of the StatefulSet (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedStatefulSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2516,27 +4380,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedStatefulSetStatus - * @param name name of the StatefulSet (required) + * Build call for readNamespacedDeploymentStatus + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2556,7 +4419,7 @@ public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "*/*" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2574,29 +4437,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -2607,47 +4465,44 @@ private com.squareup.okhttp.Call patchNamespacedStatefulSetStatusValidateBeforeC /** * - * partially update status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1StatefulSet + * @return AppsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSet patchNamespacedStatefulSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedStatefulSetStatusWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1Deployment readNamespacedDeploymentStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * partially update status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1StatefulSet> + * @return ApiResponse<AppsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2668,14 +4523,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedDeployment - * @param name name of the Deployment (required) + * Build call for readNamespacedStatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) @@ -2685,11 +4540,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2735,20 +4590,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedDeploymentValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedStatefulSetValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSet(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSet(Async)"); } - com.squareup.okhttp.Call call = readNamespacedDeploymentCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedStatefulSetCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); return call; @@ -2759,41 +4614,41 @@ private com.squareup.okhttp.Call readNamespacedDeploymentValidateBeforeCall(Stri /** * - * read the specified Deployment - * @param name name of the Deployment (required) + * read the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return AppsV1beta1Deployment + * @return V1beta1StatefulSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Deployment readNamespacedDeployment(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedDeploymentWithHttpInfo(name, namespace, pretty, exact, export); + public V1beta1StatefulSet readNamespacedStatefulSet(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } /** * - * read the specified Deployment - * @param name name of the Deployment (required) + * read the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<AppsV1beta1Deployment> + * @return ApiResponse<V1beta1StatefulSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedDeploymentWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedStatefulSetWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified Deployment - * @param name name of the Deployment (required) + * read the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) @@ -2802,7 +4657,7 @@ public ApiResponse readNamespacedDeploymentWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2823,14 +4678,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedDeploymentStatus - * @param name name of the Deployment (required) + * Build call for readNamespacedStatefulSetScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -2838,11 +4693,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2884,20 +4739,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSetScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetScale(Async)"); } - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -2908,44 +4763,44 @@ private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCal /** * - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Deployment + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Deployment readNamespacedDeploymentStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedDeploymentStatusWithHttpInfo(name, namespace, pretty); + public AppsV1beta1Scale readNamespacedStatefulSetScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Deployment> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2966,14 +4821,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedScaleScale - * @param name name of the Scale (required) + * Build call for readNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -2981,11 +4836,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3027,20 +4882,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedScaleScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedScaleScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -3051,44 +4906,44 @@ private com.squareup.okhttp.Call readNamespacedScaleScaleValidateBeforeCall(Stri /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Scale + * @return V1beta1StatefulSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Scale readNamespacedScaleScale(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedScaleScaleWithHttpInfo(name, namespace, pretty); + public V1beta1StatefulSet readNamespacedStatefulSetStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Scale> + * @return ApiResponse<V1beta1StatefulSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedScaleScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedScaleScaleValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedScaleScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedStatefulSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3109,28 +4964,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedScaleScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedStatefulSet - * @param name name of the StatefulSet (required) + * Build call for replaceNamespacedControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call replaceNamespacedControllerRevisionCall(String name, String namespace, V1beta1ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3138,10 +4992,6 @@ public com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, Strin List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (exact != null) - localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); - if (export != null) - localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -3172,24 +5022,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedStatefulSetValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, V1beta1ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedControllerRevision(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedControllerRevision(Async)"); } + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedControllerRevision(Async)"); + } - com.squareup.okhttp.Call call = readNamespacedStatefulSetCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3200,50 +5055,47 @@ private com.squareup.okhttp.Call readNamespacedStatefulSetValidateBeforeCall(Str /** * - * read the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return V1beta1StatefulSet + * @return V1beta1ControllerRevision * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSet readNamespacedStatefulSet(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, exact, export); + public V1beta1ControllerRevision replaceNamespacedControllerRevision(String name, String namespace, V1beta1ControllerRevision body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * read the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<V1beta1StatefulSet> + * @return ApiResponse<V1beta1ControllerRevision> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedStatefulSetWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedControllerRevisionWithHttpInfo(String name, String namespace, V1beta1ControllerRevision body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedStatefulSetAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedControllerRevisionAsync(String name, String namespace, V1beta1ControllerRevision body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3264,26 +5116,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedStatefulSetStatus - * @param name name of the StatefulSet (required) + * Build call for replaceNamespacedDeployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedStatefulSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3321,24 +5174,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedDeploymentValidateBeforeCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeployment(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeployment(Async)"); } - com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3349,44 +5207,47 @@ private com.squareup.okhttp.Call readNamespacedStatefulSetStatusValidateBeforeCa /** * - * read status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1StatefulSet + * @return AppsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSet readNamespacedStatefulSetStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedStatefulSetStatusWithHttpInfo(name, namespace, pretty); + public AppsV1beta1Deployment replaceNamespacedDeployment(String name, String namespace, AppsV1beta1Deployment body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * read status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1StatefulSet> + * @return ApiResponse<AppsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedDeploymentWithHttpInfo(String name, String namespace, AppsV1beta1Deployment body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedStatefulSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentAsync(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3407,14 +5268,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedDeployment - * @param name name of the Deployment (required) + * Build call for replaceNamespacedDeploymentScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3423,11 +5284,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3469,25 +5330,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedDeploymentValidateBeforeCall(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeployment(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3498,39 +5359,39 @@ private com.squareup.okhttp.Call replaceNamespacedDeploymentValidateBeforeCall(S /** * - * replace the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Deployment + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Deployment replaceNamespacedDeployment(String name, String namespace, AppsV1beta1Deployment body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1Scale replaceNamespacedDeploymentScale(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Deployment> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedDeploymentWithHttpInfo(String name, String namespace, AppsV1beta1Deployment body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3538,7 +5399,7 @@ public ApiResponse replaceNamespacedDeploymentWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentAsync(String name, String namespace, AppsV1beta1Deployment body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleAsync(String name, String namespace, AppsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3559,8 +5420,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -3717,8 +5578,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for replaceNamespacedScaleScale - * @param name name of the Scale (required) + * Build call for replaceNamespacedStatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3727,11 +5588,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedStatefulSetCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3773,25 +5634,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedScaleScaleValidateBeforeCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSet(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSet(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSet(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3802,39 +5663,39 @@ private com.squareup.okhttp.Call replaceNamespacedScaleScaleValidateBeforeCall(S /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return AppsV1beta1Scale + * @return V1beta1StatefulSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AppsV1beta1Scale replaceNamespacedScaleScale(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedScaleScaleWithHttpInfo(name, namespace, body, pretty); + public V1beta1StatefulSet replaceNamespacedStatefulSet(String name, String namespace, V1beta1StatefulSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<AppsV1beta1Scale> + * @return ApiResponse<V1beta1StatefulSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedScaleScaleWithHttpInfo(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1beta1StatefulSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3842,7 +5703,7 @@ public ApiResponse replaceNamespacedScaleScaleWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScaleScaleAsync(String name, String namespace, AppsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedStatefulSetAsync(String name, String namespace, V1beta1StatefulSet body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3863,14 +5724,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedStatefulSet - * @param name name of the StatefulSet (required) + * Build call for replaceNamespacedStatefulSetScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3879,11 +5740,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedStatefulSetCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}" + String localVarPath = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3925,25 +5786,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1beta1StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, AppsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSetScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSetScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSet(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSetScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3954,39 +5815,39 @@ private com.squareup.okhttp.Call replaceNamespacedStatefulSetValidateBeforeCall( /** * - * replace the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1StatefulSet + * @return AppsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StatefulSet replaceNamespacedStatefulSet(String name, String namespace, V1beta1StatefulSet body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); + public AppsV1beta1Scale replaceNamespacedStatefulSetScale(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedStatefulSetScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1StatefulSet> + * @return ApiResponse<AppsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1beta1StatefulSet body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, AppsV1beta1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified StatefulSet - * @param name name of the StatefulSet (required) + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3994,7 +5855,7 @@ public ApiResponse replaceNamespacedStatefulSetWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedStatefulSetAsync(String name, String namespace, V1beta1StatefulSet body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleAsync(String name, String namespace, AppsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4015,8 +5876,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta2Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta2Api.java new file mode 100644 index 0000000000..784de086ed --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AppsV1beta2Api.java @@ -0,0 +1,9836 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta2ControllerRevision; +import io.kubernetes.client.models.V1beta2ControllerRevisionList; +import io.kubernetes.client.models.V1beta2DaemonSet; +import io.kubernetes.client.models.V1beta2DaemonSetList; +import io.kubernetes.client.models.V1beta2Deployment; +import io.kubernetes.client.models.V1beta2DeploymentList; +import io.kubernetes.client.models.V1beta2ReplicaSet; +import io.kubernetes.client.models.V1beta2ReplicaSetList; +import io.kubernetes.client.models.V1beta2Scale; +import io.kubernetes.client.models.V1beta2StatefulSet; +import io.kubernetes.client.models.V1beta2StatefulSetList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class AppsV1beta2Api { + private ApiClient apiClient; + + public AppsV1beta2Api() { + this(Configuration.getDefaultApiClient()); + } + + public AppsV1beta2Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createNamespacedControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedControllerRevisionCall(String namespace, V1beta2ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedControllerRevisionValidateBeforeCall(String namespace, V1beta2ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedControllerRevisionCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevision createNamespacedControllerRevision(String namespace, V1beta2ControllerRevision body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedControllerRevisionWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedControllerRevisionWithHttpInfo(String namespace, V1beta2ControllerRevision body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedControllerRevisionValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedControllerRevisionAsync(String namespace, V1beta2ControllerRevision body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedControllerRevisionValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDaemonSetCall(String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedDaemonSetValidateBeforeCall(String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedDaemonSetCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet createNamespacedDaemonSet(String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedDaemonSetWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedDaemonSetWithHttpInfo(String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedDaemonSetValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedDaemonSetAsync(String namespace, V1beta2DaemonSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedDaemonSetValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentCall(String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedDeploymentValidateBeforeCall(String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedDeploymentCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment createNamespacedDeployment(String namespace, V1beta2Deployment body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedDeploymentWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedDeploymentWithHttpInfo(String namespace, V1beta2Deployment body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedDeploymentValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedDeploymentAsync(String namespace, V1beta2Deployment body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedDeploymentValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedReplicaSetCall(String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedReplicaSetValidateBeforeCall(String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedReplicaSetCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet createNamespacedReplicaSet(String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedReplicaSetWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedReplicaSetWithHttpInfo(String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedReplicaSetValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedReplicaSetAsync(String namespace, V1beta2ReplicaSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedReplicaSetValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedStatefulSetCall(String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedStatefulSetValidateBeforeCall(String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedStatefulSetCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet createNamespacedStatefulSet(String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedStatefulSetWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedStatefulSetWithHttpInfo(String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedStatefulSetValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedStatefulSetAsync(String namespace, V1beta2StatefulSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedStatefulSetValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedControllerRevision(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedControllerRevisionWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedControllerRevisionAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedDaemonSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedReplicaSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedStatefulSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedStatefulSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedControllerRevisionCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedControllerRevision(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedControllerRevisionWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedControllerRevisionAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDaemonSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedDaemonSetValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedDaemonSetCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedDaemonSet(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedDaemonSetWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedDaemonSetWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDaemonSetAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedDeploymentValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedDeployment(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedDeploymentCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedDeployment(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedDeploymentWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedDeploymentAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedReplicaSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedReplicaSetValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedReplicaSetCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedReplicaSet(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedReplicaSetWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedReplicaSetWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedReplicaSetAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedStatefulSetCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedStatefulSet(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedStatefulSetAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listControllerRevisionForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listControllerRevisionForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/controllerrevisions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listControllerRevisionForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2ControllerRevisionList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevisionList listControllerRevisionForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listControllerRevisionForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2ControllerRevisionList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listControllerRevisionForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ControllerRevision + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listControllerRevisionForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listControllerRevisionForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listDaemonSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/daemonsets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listDaemonSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2DaemonSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSetList listDaemonSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listDaemonSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2DaemonSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listDaemonSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listDaemonSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listDeploymentForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/deployments"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2DeploymentList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DeploymentList listDeploymentForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listDeploymentForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2DeploymentList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listDeploymentForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listDeploymentForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedControllerRevisionCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedControllerRevisionValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedControllerRevisionCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2ControllerRevisionList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevisionList listNamespacedControllerRevision(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2ControllerRevisionList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedControllerRevisionWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ControllerRevision + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedControllerRevisionAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedControllerRevisionValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedDaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedDaemonSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2DaemonSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSetList listNamespacedDaemonSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2DaemonSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind DaemonSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedDaemonSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedDeployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2DeploymentList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DeploymentList listNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2DeploymentList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Deployment + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedReplicaSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2ReplicaSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSetList listNamespacedReplicaSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2ReplicaSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ReplicaSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedReplicaSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedStatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedStatefulSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedStatefulSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedStatefulSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2StatefulSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSetList listNamespacedStatefulSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2StatefulSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedStatefulSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind StatefulSet + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedStatefulSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedStatefulSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listReplicaSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/replicasets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listReplicaSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2ReplicaSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSetList listReplicaSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listReplicaSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2ReplicaSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listReplicaSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listReplicaSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listStatefulSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listStatefulSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/statefulsets"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listStatefulSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta2StatefulSetList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSetList listStatefulSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listStatefulSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta2StatefulSetList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listStatefulSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind StatefulSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listStatefulSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listStatefulSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedControllerRevisionCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevision patchNamespacedControllerRevision(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedControllerRevisionWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedControllerRevisionAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedDaemonSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDaemonSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet patchNamespacedDaemonSet(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDaemonSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedDaemonSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedDaemonSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet patchNamespacedDaemonSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDaemonSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedDaemonSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedDeploymentValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeployment(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment patchNamespacedDeployment(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedDeploymentWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDeploymentScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentScale(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale patchNamespacedDeploymentScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment patchNamespacedDeploymentStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedReplicaSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet patchNamespacedReplicaSet(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicaSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedReplicaSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedReplicaSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale patchNamespacedReplicaSetScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicaSetScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet patchNamespacedReplicaSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedStatefulSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet patchNamespacedStatefulSet(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedStatefulSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedStatefulSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale patchNamespacedStatefulSetScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedStatefulSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedStatefulSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedStatefulSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet patchNamespacedStatefulSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedStatefulSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedStatefulSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedControllerRevisionCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedControllerRevisionCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta2ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevision readNamespacedControllerRevision(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta2ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedControllerRevisionWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedControllerRevisionValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedControllerRevisionAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedControllerRevisionValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedDaemonSetValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedDaemonSetCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet readNamespacedDaemonSet(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedDaemonSetWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedDaemonSetWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDaemonSetValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedDaemonSetValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedDaemonSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDaemonSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDaemonSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedDaemonSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet readNamespacedDaemonSetStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDaemonSetStatusWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedDaemonSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedDaemonSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedDeploymentValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeployment(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedDeploymentCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment readNamespacedDeployment(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedDeploymentWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedDeploymentWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedDeploymentValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedDeploymentScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentScale(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale readNamespacedDeploymentScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentScaleWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment readNamespacedDeploymentStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentStatusWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedDeploymentStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedReplicaSetValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedReplicaSetCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet readNamespacedReplicaSet(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedReplicaSetWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedReplicaSetWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicaSetValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedReplicaSetValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedReplicaSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale readNamespacedReplicaSetScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicaSetScaleWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet readNamespacedReplicaSetStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicaSetStatusWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedReplicaSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedStatefulSetValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedStatefulSetCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet readNamespacedStatefulSet(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedStatefulSetWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedStatefulSetValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedStatefulSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale readNamespacedStatefulSetScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetScaleWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedStatefulSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedStatefulSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet readNamespacedStatefulSetStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedStatefulSetStatusWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedStatefulSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedControllerRevisionCall(String name, String namespace, V1beta2ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedControllerRevisionValidateBeforeCall(String name, String namespace, V1beta2ControllerRevision body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedControllerRevision(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedControllerRevision(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ControllerRevision + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ControllerRevision replaceNamespacedControllerRevision(String name, String namespace, V1beta2ControllerRevision body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedControllerRevisionWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ControllerRevision> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedControllerRevisionWithHttpInfo(String name, String namespace, V1beta2ControllerRevision body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified ControllerRevision + * @param name name of the ControllerRevision (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedControllerRevisionAsync(String name, String namespace, V1beta2ControllerRevision body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedControllerRevisionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetCall(String name, String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedDaemonSetValidateBeforeCall(String name, String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDaemonSet(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet replaceNamespacedDaemonSet(String name, String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDaemonSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedDaemonSetWithHttpInfo(String name, String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetAsync(String name, String namespace, V1beta2DaemonSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedDaemonSetStatus + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetStatusCall(String name, String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedDaemonSetStatusValidateBeforeCall(String name, String namespace, V1beta2DaemonSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDaemonSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDaemonSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDaemonSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2DaemonSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2DaemonSet replaceNamespacedDaemonSetStatus(String name, String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDaemonSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2DaemonSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedDaemonSetStatusWithHttpInfo(String name, String namespace, V1beta2DaemonSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDaemonSetStatusAsync(String name, String namespace, V1beta2DaemonSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedDeployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentCall(String name, String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedDeploymentValidateBeforeCall(String name, String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeployment(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeployment(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeployment(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment replaceNamespacedDeployment(String name, String namespace, V1beta2Deployment body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedDeploymentWithHttpInfo(String name, String namespace, V1beta2Deployment body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentAsync(String name, String namespace, V1beta2Deployment body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedDeploymentScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentScale(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale replaceNamespacedDeploymentScale(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace scale of the specified Deployment + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleAsync(String name, String namespace, V1beta2Scale body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedDeploymentStatus + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, V1beta2Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Deployment + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Deployment replaceNamespacedDeploymentStatus(String name, String namespace, V1beta2Deployment body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Deployment> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, V1beta2Deployment body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified Deployment + * @param name name of the Deployment (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusAsync(String name, String namespace, V1beta2Deployment body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetCall(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedReplicaSetValidateBeforeCall(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSet(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet replaceNamespacedReplicaSet(String name, String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicaSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedReplicaSetWithHttpInfo(String name, String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetAsync(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedReplicaSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale replaceNamespacedReplicaSetScale(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicaSetScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleAsync(String name, String namespace, V1beta2Scale body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusCall(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2ReplicaSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2ReplicaSet replaceNamespacedReplicaSetStatus(String name, String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2ReplicaSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, V1beta2ReplicaSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusAsync(String name, String namespace, V1beta2ReplicaSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedStatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetCall(String name, String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedStatefulSetValidateBeforeCall(String name, String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSet(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet replaceNamespacedStatefulSet(String name, String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedStatefulSetWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedStatefulSetWithHttpInfo(String name, String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetAsync(String name, String namespace, V1beta2StatefulSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedStatefulSetScale + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleValidateBeforeCall(String name, String namespace, V1beta2Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSetScale(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSetScale(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2Scale + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2Scale replaceNamespacedStatefulSetScale(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedStatefulSetScaleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2Scale> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedStatefulSetScaleWithHttpInfo(String name, String namespace, V1beta2Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace scale of the specified StatefulSet + * @param name name of the Scale (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetScaleAsync(String name, String namespace, V1beta2Scale body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedStatefulSetStatus + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetStatusCall(String name, String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedStatefulSetStatusValidateBeforeCall(String name, String namespace, V1beta2StatefulSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedStatefulSetStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedStatefulSetStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedStatefulSetStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta2StatefulSet + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta2StatefulSet replaceNamespacedStatefulSetStatus(String name, String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedStatefulSetStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta2StatefulSet> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedStatefulSetStatusWithHttpInfo(String name, String namespace, V1beta2StatefulSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified StatefulSet + * @param name name of the StatefulSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedStatefulSetStatusAsync(String name, String namespace, V1beta2StatefulSet body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedStatefulSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java index 68e58da95a..d60f6cd2ac 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java index 856e20720a..a5f4100f8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java index ae89353700..1862c41a9d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthenticationV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java index 5023fad5ae..cabc5f43c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java index 234e3331e3..4fff67f31f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -30,6 +30,7 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1LocalSubjectAccessReview; import io.kubernetes.client.models.V1SelfSubjectAccessReview; +import io.kubernetes.client.models.V1SelfSubjectRulesReview; import io.kubernetes.client.models.V1SubjectAccessReview; import java.lang.reflect.Type; @@ -331,6 +332,138 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for createSelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectRulesReviewCall(V1SelfSubjectRulesReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createSelfSubjectRulesReviewValidateBeforeCall(V1SelfSubjectRulesReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createSelfSubjectRulesReview(Async)"); + } + + + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1SelfSubjectRulesReview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1SelfSubjectRulesReview createSelfSubjectRulesReview(V1SelfSubjectRulesReview body, String pretty) throws ApiException { + ApiResponse resp = createSelfSubjectRulesReviewWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1SelfSubjectRulesReview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createSelfSubjectRulesReviewWithHttpInfo(V1SelfSubjectRulesReview body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectRulesReviewAsync(V1SelfSubjectRulesReview body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } /** * Build call for createSubjectAccessReview * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java index 91308abd98..2e68128af1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AuthorizationV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -30,6 +30,7 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1beta1LocalSubjectAccessReview; import io.kubernetes.client.models.V1beta1SelfSubjectAccessReview; +import io.kubernetes.client.models.V1beta1SelfSubjectRulesReview; import io.kubernetes.client.models.V1beta1SubjectAccessReview; import java.lang.reflect.Type; @@ -331,6 +332,138 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for createSelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectRulesReviewCall(V1beta1SelfSubjectRulesReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createSelfSubjectRulesReviewValidateBeforeCall(V1beta1SelfSubjectRulesReview body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createSelfSubjectRulesReview(Async)"); + } + + + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1SelfSubjectRulesReview + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1SelfSubjectRulesReview createSelfSubjectRulesReview(V1beta1SelfSubjectRulesReview body, String pretty) throws ApiException { + ApiResponse resp = createSelfSubjectRulesReviewWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1SelfSubjectRulesReview> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createSelfSubjectRulesReviewWithHttpInfo(V1beta1SelfSubjectRulesReview body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a SelfSubjectRulesReview + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createSelfSubjectRulesReviewAsync(V1beta1SelfSubjectRulesReview body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createSelfSubjectRulesReviewValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } /** * Build call for createSubjectAccessReview * @param body (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java index 75b312c4e6..787323090b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java index ee5204b26a..12697ee707 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -204,8 +204,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedHorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -214,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -225,10 +228,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscale List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -269,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -277,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscal } - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -291,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscal * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -309,16 +321,19 @@ public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespa * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -328,8 +343,11 @@ public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWi * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -337,7 +355,7 @@ public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -358,7 +376,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -652,8 +670,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } /** * Build call for listHorizontalPodAutoscalerForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -663,7 +684,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -671,10 +692,16 @@ public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall( List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -717,10 +744,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -732,8 +759,11 @@ private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesVali /** * * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -741,16 +771,19 @@ private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesVali * @return V1HorizontalPodAutoscalerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -758,8 +791,8 @@ public V1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces * @return ApiResponse<V1HorizontalPodAutoscalerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -767,8 +800,11 @@ public ApiResponse listHorizontalPodAutoscalerFor /** * (asynchronously) * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -777,7 +813,7 @@ public ApiResponse listHorizontalPodAutoscalerFor * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -798,7 +834,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -807,8 +843,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedHorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -817,7 +856,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -828,10 +867,16 @@ public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -872,7 +917,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -880,7 +925,7 @@ private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBe } - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -894,16 +939,19 @@ private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBe * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1HorizontalPodAutoscalerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -912,16 +960,19 @@ public V1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(Strin * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1HorizontalPodAutoscalerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -931,8 +982,11 @@ public ApiResponse listNamespacedHorizontalPodAut * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -940,7 +994,7 @@ public ApiResponse listNamespacedHorizontalPodAut * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -961,7 +1015,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2beta1Api.java similarity index 68% rename from kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java rename to kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2beta1Api.java index 46c4aa73b1..60eb16f136 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/AutoscalingV2beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -30,8 +30,8 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1DeleteOptions; import io.kubernetes.client.models.V1Status; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscaler; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscalerList; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscaler; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscalerList; import java.lang.reflect.Type; import java.util.ArrayList; @@ -39,14 +39,14 @@ import java.util.List; import java.util.Map; -public class AutoscalingV2alpha1Api { +public class AutoscalingV2beta1Api { private ApiClient apiClient; - public AutoscalingV2alpha1Api() { + public AutoscalingV2beta1Api() { this(Configuration.getDefaultApiClient()); } - public AutoscalingV2alpha1Api(ApiClient apiClient) { + public AutoscalingV2beta1Api(ApiClient apiClient) { this.apiClient = apiClient; } @@ -68,11 +68,11 @@ public void setApiClient(ApiClient apiClient) { * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerCall(String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -113,7 +113,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -141,11 +141,11 @@ private com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerValidate * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, body, pretty); + public V2beta1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, body, pretty); return resp.getData(); } @@ -155,12 +155,12 @@ public V2alpha1HorizontalPodAutoscaler createNamespacedHorizontalPodAutoscaler(S * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { + public ApiResponse createNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { com.squareup.okhttp.Call call = createNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -174,7 +174,7 @@ public ApiResponse createNamespacedHorizontalPo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerAsync(String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedHorizontalPodAutoscalerAsync(String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -196,7 +196,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = createNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -204,8 +204,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedHorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -214,21 +217,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -269,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -277,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscal } - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -291,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscal * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -309,16 +321,19 @@ public V1Status deleteCollectionNamespacedHorizontalPodAutoscaler(String namespa * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -328,8 +343,11 @@ public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWi * delete collection of HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -337,7 +355,7 @@ public ApiResponse deleteCollectionNamespacedHorizontalPodAutoscalerWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -358,7 +376,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -381,7 +399,7 @@ public com.squareup.okhttp.Call deleteNamespacedHorizontalPodAutoscalerCall(Stri Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -544,7 +562,7 @@ public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.P Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/"; + String localVarPath = "/apis/autoscaling/v2beta1/"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -652,8 +670,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } /** * Build call for listHorizontalPodAutoscalerForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -663,18 +684,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/horizontalpodautoscalers"; + String localVarPath = "/apis/autoscaling/v2beta1/horizontalpodautoscalers"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -717,10 +744,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -732,43 +759,52 @@ private com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesVali /** * * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1HorizontalPodAutoscalerList + * @return V2beta1HorizontalPodAutoscalerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V2beta1HorizontalPodAutoscalerList listHorizontalPodAutoscalerForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscalerList> + * @return ApiResponse<V2beta1HorizontalPodAutoscalerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listHorizontalPodAutoscalerForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) * list or watch objects of kind HorizontalPodAutoscaler + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -777,7 +813,7 @@ public ApiResponse listHorizontalPodAutosca * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listHorizontalPodAutoscalerForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -798,8 +834,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listHorizontalPodAutoscalerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -807,8 +843,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedHorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -817,21 +856,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -872,7 +917,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -880,7 +925,7 @@ private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBe } - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -894,16 +939,19 @@ private com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerValidateBe * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1HorizontalPodAutoscalerList + * @return V2beta1HorizontalPodAutoscalerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V2beta1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -912,17 +960,20 @@ public V2alpha1HorizontalPodAutoscalerList listNamespacedHorizontalPodAutoscaler * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscalerList> + * @return ApiResponse<V2beta1HorizontalPodAutoscalerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedHorizontalPodAutoscalerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -931,8 +982,11 @@ public ApiResponse listNamespacedHorizontal * list or watch objects of kind HorizontalPodAutoscaler * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -940,7 +994,7 @@ public ApiResponse listNamespacedHorizontal * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedHorizontalPodAutoscalerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -961,8 +1015,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedHorizontalPodAutoscalerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -981,7 +1035,7 @@ public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerCall(Strin Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1057,11 +1111,11 @@ private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerValidateB * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, body, pretty); + public V2beta1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } @@ -1072,12 +1126,12 @@ public V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscaler(St * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + public ApiResponse patchNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { com.squareup.okhttp.Call call = patchNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1092,7 +1146,7 @@ public ApiResponse patchNamespacedHorizontalPod * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1114,7 +1168,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = patchNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -1133,7 +1187,7 @@ public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusCall Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1209,11 +1263,11 @@ private com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusVal * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, body, pretty); + public V2beta1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } @@ -1224,12 +1278,12 @@ public V2alpha1HorizontalPodAutoscaler patchNamespacedHorizontalPodAutoscalerSta * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + public ApiResponse patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { com.squareup.okhttp.Call call = patchNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1244,7 +1298,7 @@ public ApiResponse patchNamespacedHorizontalPod * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1266,7 +1320,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = patchNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -1286,7 +1340,7 @@ public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerCall(String Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1362,11 +1416,11 @@ private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerValidateBe * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, exact, export); + public V2beta1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } @@ -1378,12 +1432,12 @@ public V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscaler(Str * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + public ApiResponse readNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { com.squareup.okhttp.Call call = readNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1399,7 +1453,7 @@ public ApiResponse readNamespacedHorizontalPodA * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1421,7 +1475,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = readNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -1439,7 +1493,7 @@ public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusCall( Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1509,11 +1563,11 @@ private com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusVali * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, pretty); + public V2beta1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } @@ -1523,12 +1577,12 @@ public V2alpha1HorizontalPodAutoscaler readNamespacedHorizontalPodAutoscalerStat * @param name name of the HorizontalPodAutoscaler (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + public ApiResponse readNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { com.squareup.okhttp.Call call = readNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1542,7 +1596,7 @@ public ApiResponse readNamespacedHorizontalPodA * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1564,7 +1618,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = readNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -1579,11 +1633,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerCall(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1625,7 +1679,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerValidateBeforeCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerValidateBeforeCall(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { @@ -1659,11 +1713,11 @@ private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerValidat * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, body, pretty); + public V2beta1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } @@ -1674,12 +1728,12 @@ public V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscaler( * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { + public ApiResponse replaceNamespacedHorizontalPodAutoscalerWithHttpInfo(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { com.squareup.okhttp.Call call = replaceNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1694,7 +1748,7 @@ public ApiResponse replaceNamespacedHorizontalP * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerAsync(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1716,7 +1770,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = replaceNamespacedHorizontalPodAutoscalerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -1731,11 +1785,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusCall(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" + String localVarPath = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -1777,7 +1831,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { @@ -1811,11 +1865,11 @@ private com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusV * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1HorizontalPodAutoscaler + * @return V2beta1HorizontalPodAutoscaler * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, body, pretty); + public V2beta1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerStatus(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } @@ -1826,12 +1880,12 @@ public V2alpha1HorizontalPodAutoscaler replaceNamespacedHorizontalPodAutoscalerS * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1HorizontalPodAutoscaler> + * @return ApiResponse<V2beta1HorizontalPodAutoscaler> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty) throws ApiException { + public ApiResponse replaceNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty) throws ApiException { com.squareup.okhttp.Call call = replaceNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1846,7 +1900,7 @@ public ApiResponse replaceNamespacedHorizontalP * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, V2alpha1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedHorizontalPodAutoscalerStatusAsync(String name, String namespace, V2beta1HorizontalPodAutoscaler body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1868,7 +1922,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } com.squareup.okhttp.Call call = replaceNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java index 365b62d12c..4509381662 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java index cbd0ebd6b7..a577ecf260 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -204,8 +204,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -214,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -225,10 +228,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedJobCall(String namespa List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -269,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -277,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedJobValidateBeforeCall } - com.squareup.okhttp.Call call = deleteCollectionNamespacedJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -291,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedJobValidateBeforeCall * delete collection of Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -309,16 +321,19 @@ public V1Status deleteCollectionNamespacedJob(String namespace, String pretty, S * delete collection of Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -328,8 +343,11 @@ public ApiResponse deleteCollectionNamespacedJobWithHttpInfo(String na * delete collection of Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -337,7 +355,7 @@ public ApiResponse deleteCollectionNamespacedJobWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -358,7 +376,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -652,8 +670,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } /** * Build call for listJobForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -663,7 +684,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listJobForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -671,10 +692,16 @@ public com.squareup.okhttp.Call listJobForAllNamespacesCall(String fieldSelector List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -717,10 +744,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listJobForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listJobForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listJobForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listJobForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -732,8 +759,11 @@ private com.squareup.okhttp.Call listJobForAllNamespacesValidateBeforeCall(Strin /** * * list or watch objects of kind Job + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -741,16 +771,19 @@ private com.squareup.okhttp.Call listJobForAllNamespacesValidateBeforeCall(Strin * @return V1JobList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1JobList listJobForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listJobForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1JobList listJobForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listJobForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind Job + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -758,8 +791,8 @@ public V1JobList listJobForAllNamespaces(String fieldSelector, String labelSelec * @return ApiResponse<V1JobList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listJobForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listJobForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -767,8 +800,11 @@ public ApiResponse listJobForAllNamespacesWithHttpInfo(String fieldSe /** * (asynchronously) * list or watch objects of kind Job + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -777,7 +813,7 @@ public ApiResponse listJobForAllNamespacesWithHttpInfo(String fieldSe * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listJobForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listJobForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -798,7 +834,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -807,8 +843,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -817,7 +856,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -828,10 +867,16 @@ public com.squareup.okhttp.Call listNamespacedJobCall(String namespace, String p List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -872,7 +917,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -880,7 +925,7 @@ private com.squareup.okhttp.Call listNamespacedJobValidateBeforeCall(String name } - com.squareup.okhttp.Call call = listNamespacedJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -894,16 +939,19 @@ private com.squareup.okhttp.Call listNamespacedJobValidateBeforeCall(String name * list or watch objects of kind Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1JobList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1JobList listNamespacedJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1JobList listNamespacedJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -912,16 +960,19 @@ public V1JobList listNamespacedJob(String namespace, String pretty, String field * list or watch objects of kind Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1JobList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -931,8 +982,11 @@ public ApiResponse listNamespacedJobWithHttpInfo(String namespace, St * list or watch objects of kind Job * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -940,7 +994,7 @@ public ApiResponse listNamespacedJobWithHttpInfo(String namespace, St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -961,7 +1015,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1beta1Api.java new file mode 100644 index 0000000000..e72e51af54 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV1beta1Api.java @@ -0,0 +1,1929 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1CronJob; +import io.kubernetes.client.models.V1beta1CronJobList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class BatchV1beta1Api { + private ApiClient apiClient; + + public BatchV1beta1Api() { + this(Configuration.getDefaultApiClient()); + } + + public BatchV1beta1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedCronJobCall(String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedCronJobValidateBeforeCall(String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedCronJob(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedCronJobCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob createNamespacedCronJob(String namespace, V1beta1CronJob body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedCronJobWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedCronJobWithHttpInfo(String namespace, V1beta1CronJob body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedCronJobValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedCronJobAsync(String namespace, V1beta1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedCronJobValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedCronJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedCronJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedCronJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedCronJobValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedCronJob(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedCronJob(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedCronJobCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedCronJob(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedCronJobWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedCronJobWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedCronJobAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listCronJobForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listCronJobForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/cronjobs"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listCronJobForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listCronJobForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1CronJobList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJobList listCronJobForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listCronJobForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1CronJobList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listCronJobForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listCronJobForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedCronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedCronJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedCronJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1beta1CronJobList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJobList listNamespacedCronJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1beta1CronJobList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedCronJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind CronJob + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedCronJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedCronJobValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJob(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJob(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob patchNamespacedCronJob(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedCronJobWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJobStatus(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob patchNamespacedCronJobStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedCronJobStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedCronJobStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedCronJobValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJob(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedCronJobCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob readNamespacedCronJob(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedCronJobWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedCronJobWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJobStatus(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedCronJobStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob readNamespacedCronJobStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedCronJobStatusWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedCronJobStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedCronJobStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedCronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedCronJobValidateBeforeCall(String name, String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJob(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJob(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJob(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob replaceNamespacedCronJob(String name, String namespace, V1beta1CronJob body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedCronJobWithHttpInfo(String name, String namespace, V1beta1CronJob body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobAsync(String name, String namespace, V1beta1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedCronJobStatus + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobStatusCall(String name, String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, V1beta1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJobStatus(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1beta1CronJob + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1beta1CronJob replaceNamespacedCronJobStatus(String name, String namespace, V1beta1CronJob body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1beta1CronJob> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedCronJobStatusWithHttpInfo(String name, String namespace, V1beta1CronJob body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace status of the specified CronJob + * @param name name of the CronJob (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedCronJobStatusAsync(String name, String namespace, V1beta1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java index e94c850d90..7e6d5a5802 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/BatchV2alpha1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -200,154 +200,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for createNamespacedScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call createNamespacedScheduledJobCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedScheduledJobValidateBeforeCall(String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedScheduledJob(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedScheduledJob(Async)"); - } - - - com.squareup.okhttp.Call call = createNamespacedScheduledJobCall(namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * create a ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJob createNamespacedScheduledJob(String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedScheduledJobWithHttpInfo(namespace, body, pretty); - return resp.getData(); - } - - /** - * - * create a ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse createNamespacedScheduledJobWithHttpInfo(String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedScheduledJobValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * create a ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call createNamespacedScheduledJobAsync(String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = createNamespacedScheduledJobValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for deleteCollectionNamespacedCronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -356,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -367,10 +228,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobCall(String nam List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -411,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -419,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobValidateBefore } - com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -433,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedCronJobValidateBefore * delete collection of CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedCronJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedCronJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -451,1591 +321,41 @@ public V1Status deleteCollectionNamespacedCronJob(String namespace, String prett * delete collection of CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteCollectionNamespacedCronJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete collection of CronJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for deleteCollectionNamespacedScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call deleteCollectionNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedScheduledJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedScheduledJob(Async)"); - } - - - com.squareup.okhttp.Call call = deleteCollectionNamespacedScheduledJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * delete collection of ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Status deleteCollectionNamespacedScheduledJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedScheduledJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * delete collection of ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteCollectionNamespacedScheduledJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedScheduledJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete collection of ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteCollectionNamespacedScheduledJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteCollectionNamespacedScheduledJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for deleteNamespacedCronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call deleteNamespacedCronJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (gracePeriodSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - if (orphanDependents != null) - localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); - if (propagationPolicy != null) - localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteNamespacedCronJobValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedCronJob(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedCronJob(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedCronJob(Async)"); - } - - - com.squareup.okhttp.Call call = deleteNamespacedCronJobCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * delete a CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Status deleteNamespacedCronJob(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - ApiResponse resp = deleteNamespacedCronJobWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - return resp.getData(); - } - - /** - * - * delete a CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteNamespacedCronJobWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete a CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteNamespacedCronJobAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for deleteNamespacedScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call deleteNamespacedScheduledJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (gracePeriodSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - if (orphanDependents != null) - localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); - if (propagationPolicy != null) - localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteNamespacedScheduledJobValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedScheduledJob(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedScheduledJob(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedScheduledJob(Async)"); - } - - - com.squareup.okhttp.Call call = deleteNamespacedScheduledJobCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * delete a ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Status deleteNamespacedScheduledJob(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - ApiResponse resp = deleteNamespacedScheduledJobWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - return resp.getData(); - } - - /** - * - * delete a ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteNamespacedScheduledJobWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - com.squareup.okhttp.Call call = deleteNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete a ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteNamespacedScheduledJobAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for getAPIResources - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - - com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * get available resources - * @return V1APIResourceList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1APIResourceList getAPIResources() throws ApiException { - ApiResponse resp = getAPIResourcesWithHttpInfo(); - return resp.getData(); - } - - /** - * - * 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 getAPIResourcesWithHttpInfo() throws ApiException { - com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * get available resources - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for listCronJobForAllNamespaces - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call listCronJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/cronjobs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listCronJobForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - - com.squareup.okhttp.Call call = listCronJobForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * list or watch objects of kind CronJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1CronJobList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJobList listCronJobForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listCronJobForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * list or watch objects of kind CronJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1CronJobList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse listCronJobForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * list or watch objects of kind CronJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call listCronJobForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for listNamespacedCronJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call listNamespacedCronJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedCronJob(Async)"); - } - - - com.squareup.okhttp.Call call = listNamespacedCronJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * list or watch objects of kind CronJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1CronJobList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJobList listNamespacedCronJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedCronJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * list or watch objects of kind CronJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1CronJobList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse listNamespacedCronJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * list or watch objects of kind CronJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call listNamespacedCronJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for listNamespacedScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call listNamespacedScheduledJobCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedScheduledJobValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedScheduledJob(Async)"); - } - - - com.squareup.okhttp.Call call = listNamespacedScheduledJobCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * list or watch objects of kind ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1CronJobList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJobList listNamespacedScheduledJob(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedScheduledJobWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * list or watch objects of kind ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1CronJobList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse listNamespacedScheduledJobWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedScheduledJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * list or watch objects of kind ScheduledJob - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call listNamespacedScheduledJobAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = listNamespacedScheduledJobValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for listScheduledJobForAllNamespaces - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call listScheduledJobForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/scheduledjobs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listScheduledJobForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - - com.squareup.okhttp.Call call = listScheduledJobForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * list or watch objects of kind ScheduledJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V2alpha1CronJobList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJobList listScheduledJobForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listScheduledJobForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * list or watch objects of kind ScheduledJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V2alpha1CronJobList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse listScheduledJobForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listScheduledJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * list or watch objects of kind ScheduledJob - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call listScheduledJobForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = listScheduledJobForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for patchNamespacedCronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call patchNamespacedCronJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedCronJobValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJob(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJob(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJob(Async)"); - } - - - com.squareup.okhttp.Call call = patchNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * partially update the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJob patchNamespacedCronJob(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); - return resp.getData(); - } - - /** - * - * partially update the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse patchNamespacedCronJobWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * partially update the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call patchNamespacedCronJobAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for patchNamespacedCronJobStatus - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call patchNamespacedCronJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJobStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJobStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJobStatus(Async)"); - } - - - com.squareup.okhttp.Call call = patchNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * partially update status of the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V2alpha1CronJob patchNamespacedCronJobStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); - return resp.getData(); - } - - /** - * - * partially update status of the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedCronJobStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deleteCollectionNamespacedCronJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified CronJob - * @param name name of the CronJob (required) + * delete collection of CronJob * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedCronJobStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedCronJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2056,27 +376,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deleteCollectionNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedScheduledJob - * @param name name of the ScheduledJob (required) + * Build call for deleteNamespacedCronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedScheduledJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteNamespacedCronJobCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2084,6 +407,12 @@ public com.squareup.okhttp.Call patchNamespacedScheduledJobCall(String name, Str List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); Map localVarHeaderParams = new HashMap(); @@ -2096,7 +425,7 @@ public com.squareup.okhttp.Call patchNamespacedScheduledJobCall(String name, Str if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "*/*" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2114,29 +443,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedScheduledJobValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteNamespacedCronJobValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedCronJob(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedCronJob(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedCronJob(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedScheduledJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteNamespacedCronJobCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); return call; @@ -2147,47 +476,56 @@ private com.squareup.okhttp.Call patchNamespacedScheduledJobValidateBeforeCall(S /** * - * partially update the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * delete a CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob patchNamespacedScheduledJob(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedScheduledJobWithHttpInfo(name, namespace, body, pretty); + public V1Status deleteNamespacedCronJob(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedCronJobWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); return resp.getData(); } /** * - * partially update the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * delete a CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedScheduledJobWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deleteNamespacedCronJobWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * delete a CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedScheduledJobAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteNamespacedCronJobAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2208,34 +546,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deleteNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedScheduledJobStatus - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) + * Build call for getAPIResources * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedScheduledJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); Map localVarHeaderParams = new HashMap(); @@ -2248,7 +578,7 @@ public com.squareup.okhttp.Call patchNamespacedScheduledJobStatusCall(String nam if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2266,29 +596,14 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedScheduledJobStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedScheduledJobStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedScheduledJobStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedScheduledJobStatus(Async)"); - } + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedScheduledJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); return call; @@ -2299,47 +614,35 @@ private com.squareup.okhttp.Call patchNamespacedScheduledJobStatusValidateBefore /** * - * partially update status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob + * get available resources + * @return V1APIResourceList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob patchNamespacedScheduledJobStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedScheduledJobStatusWithHttpInfo(name, namespace, body, pretty); + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); return resp.getData(); } /** * - * partially update status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> + * 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 patchNamespacedScheduledJobStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) + * get available resources * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedScheduledJobStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2360,46 +663,60 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedCronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * Build call for listCronJobForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedCronJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listCronJobForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/apis/batch/v2alpha1/cronjobs"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (exact != null) - localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); - if (export != null) - localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -2427,20 +744,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedCronJobValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJob(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJob(Async)"); - } + private com.squareup.okhttp.Call listCronJobForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedCronJobCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listCronJobForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2451,50 +758,62 @@ private com.squareup.okhttp.Call readNamespacedCronJobValidateBeforeCall(String /** * - * read the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return V2alpha1CronJob + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V2alpha1CronJobList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob readNamespacedCronJob(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedCronJobWithHttpInfo(name, namespace, pretty, exact, export); + public V2alpha1CronJobList listCronJobForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listCronJobForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * read the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<V2alpha1CronJob> + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V2alpha1CronJobList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedCronJobWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listCronJobForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified CronJob - * @param name name of the CronJob (required) - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedCronJobAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listCronJobForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2515,40 +834,62 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listCronJobForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedCronJobStatus - * @param name name of the CronJob (required) + * Build call for listNamespacedCronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedCronJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedCronJobCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -2576,20 +917,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJobStatus(Async)"); - } + private com.squareup.okhttp.Call listNamespacedCronJobValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedCronJob(Async)"); } - com.squareup.okhttp.Call call = readNamespacedCronJobStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedCronJobCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2600,44 +936,65 @@ private com.squareup.okhttp.Call readNamespacedCronJobStatusValidateBeforeCall(S /** * - * read status of the specified CronJob - * @param name name of the CronJob (required) + * list or watch objects of kind CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V2alpha1CronJob + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V2alpha1CronJobList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob readNamespacedCronJobStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedCronJobStatusWithHttpInfo(name, namespace, pretty); + public V2alpha1CronJobList listNamespacedCronJob(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * read status of the specified CronJob - * @param name name of the CronJob (required) + * list or watch objects of kind CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V2alpha1CronJob> + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V2alpha1CronJobList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedCronJobStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedCronJobWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified CronJob - * @param name name of the CronJob (required) + * list or watch objects of kind CronJob * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedCronJobStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedCronJobAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2658,28 +1015,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedCronJobValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedScheduledJob - * @param name name of the ScheduledJob (required) + * Build call for patchNamespacedCronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedScheduledJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedCronJobCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2687,10 +1043,6 @@ public com.squareup.okhttp.Call readNamespacedScheduledJobCall(String name, Stri List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (exact != null) - localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); - if (export != null) - localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -2703,7 +1055,7 @@ public com.squareup.okhttp.Call readNamespacedScheduledJobCall(String name, Stri if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2721,24 +1073,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedScheduledJobValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedCronJobValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJob(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJob(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJob(Async)"); } - com.squareup.okhttp.Call call = readNamespacedScheduledJobCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -2749,50 +1106,47 @@ private com.squareup.okhttp.Call readNamespacedScheduledJobValidateBeforeCall(St /** * - * read the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob readNamespacedScheduledJob(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedScheduledJobWithHttpInfo(name, namespace, pretty, exact, export); + public V2alpha1CronJob patchNamespacedCronJob(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * read the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedScheduledJobWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedScheduledJobValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + public ApiResponse patchNamespacedCronJobWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedScheduledJobAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedCronJobAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2813,26 +1167,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedScheduledJobValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedScheduledJobStatus - * @param name name of the ScheduledJob (required) + * Build call for patchNamespacedCronJobStatus + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedScheduledJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedCronJobStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -2852,7 +1207,7 @@ public com.squareup.okhttp.Call readNamespacedScheduledJobStatusCall(String name if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -2870,24 +1225,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedScheduledJobStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedScheduledJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedCronJobStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedScheduledJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedCronJobStatus(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedCronJobStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedScheduledJobStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -2898,44 +1258,47 @@ private com.squareup.okhttp.Call readNamespacedScheduledJobStatusValidateBeforeC /** * - * read status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob readNamespacedScheduledJobStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedScheduledJobStatusWithHttpInfo(name, namespace, pretty); + public V2alpha1CronJob patchNamespacedCronJobStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * read status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedScheduledJobStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, pretty, null, null); + public ApiResponse patchNamespacedCronJobStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * partially update status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedScheduledJobStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedCronJobStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2956,24 +1319,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedCronJob + * Build call for readNamespacedCronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedCronJobCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" @@ -2984,6 +1348,10 @@ public com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -3014,29 +1382,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedCronJobValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedCronJobValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJob(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJob(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJob(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJob(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJob(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedCronJobCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); return call; @@ -3047,47 +1410,50 @@ private com.squareup.okhttp.Call replaceNamespacedCronJobValidateBeforeCall(Stri /** * - * replace the specified CronJob + * read the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob replaceNamespacedCronJob(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); + public V2alpha1CronJob readNamespacedCronJob(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedCronJobWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } /** * - * replace the specified CronJob + * read the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedCronJobWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse readNamespacedCronJobWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified CronJob + * read the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedCronJobAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedCronJobAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3108,24 +1474,23 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedCronJobValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedCronJobStatus + * Build call for readNamespacedCronJobStatus * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedCronJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call readNamespacedCronJobStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" @@ -3166,29 +1531,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedCronJobStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJobStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedCronJobStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedCronJobStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -3199,47 +1559,44 @@ private com.squareup.okhttp.Call replaceNamespacedCronJobStatusValidateBeforeCal /** * - * replace status of the specified CronJob + * read status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob replaceNamespacedCronJobStatus(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); + public V2alpha1CronJob readNamespacedCronJobStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedCronJobStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * replace status of the specified CronJob + * read status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedCronJobStatusWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse readNamespacedCronJobStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified CronJob + * read status of the specified CronJob * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedCronJobStatusAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedCronJobStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3260,14 +1617,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedCronJobStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedScheduledJob - * @param name name of the ScheduledJob (required) + * Build call for replaceNamespacedCronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3276,11 +1633,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScheduledJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedCronJobCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}" + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3322,25 +1679,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedScheduledJobValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedCronJobValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJob(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJob(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedScheduledJob(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJob(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedCronJobCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3351,39 +1708,39 @@ private com.squareup.okhttp.Call replaceNamespacedScheduledJobValidateBeforeCall /** * - * replace the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob replaceNamespacedScheduledJob(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedScheduledJobWithHttpInfo(name, namespace, body, pretty); + public V2alpha1CronJob replaceNamespacedCronJob(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedCronJobWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedScheduledJobWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse replaceNamespacedCronJobWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3391,7 +1748,7 @@ public ApiResponse replaceNamespacedScheduledJobWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScheduledJobAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedCronJobAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3412,14 +1769,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedCronJobValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedScheduledJobStatus - * @param name name of the ScheduledJob (required) + * Build call for replaceNamespacedCronJobStatus + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3428,11 +1785,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedCronJobStatusCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status" + String localVarPath = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -3474,25 +1831,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedCronJobStatusValidateBeforeCall(String name, String namespace, V2alpha1CronJob body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedScheduledJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedCronJobStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedScheduledJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedCronJobStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedScheduledJobStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedCronJobStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -3503,39 +1860,39 @@ private com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusValidateBefo /** * - * replace status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V2alpha1CronJob * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V2alpha1CronJob replaceNamespacedScheduledJobStatus(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedScheduledJobStatusWithHttpInfo(name, namespace, body, pretty); + public V2alpha1CronJob replaceNamespacedCronJobStatus(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedCronJobStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V2alpha1CronJob> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedScheduledJobStatusWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse replaceNamespacedCronJobStatusWithHttpInfo(String name, String namespace, V2alpha1CronJob body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified ScheduledJob - * @param name name of the ScheduledJob (required) + * replace status of the specified CronJob + * @param name name of the CronJob (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -3543,7 +1900,7 @@ public ApiResponse replaceNamespacedScheduledJobStatusWithHttpI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedScheduledJobStatusAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedCronJobStatusAsync(String name, String namespace, V2alpha1CronJob body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3564,7 +1921,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedScheduledJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedCronJobStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java index 5f061c0b9a..e577c5c624 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java index 0cc4131057..db2cbbda17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CertificatesV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -353,8 +353,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionCertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -363,7 +366,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -373,10 +376,16 @@ public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestCall(St List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -417,10 +426,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -433,16 +442,19 @@ private com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestValida * * delete collection of CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionCertificateSigningRequest(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionCertificateSigningRequest(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -450,16 +462,19 @@ public V1Status deleteCollectionCertificateSigningRequest(String pretty, String * * delete collection of CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionCertificateSigningRequestWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionCertificateSigningRequestWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -468,8 +483,11 @@ public ApiResponse deleteCollectionCertificateSigningRequestWithHttpIn * (asynchronously) * delete collection of CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -477,7 +495,7 @@ public ApiResponse deleteCollectionCertificateSigningRequestWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionCertificateSigningRequestAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -498,7 +516,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionCertificateSigningRequestValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -623,8 +641,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listCertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -633,7 +654,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listCertificateSigningRequestCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listCertificateSigningRequestCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -643,10 +664,16 @@ public com.squareup.okhttp.Call listCertificateSigningRequestCall(String pretty, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -687,10 +714,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listCertificateSigningRequestValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listCertificateSigningRequestValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listCertificateSigningRequestCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listCertificateSigningRequestCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -703,16 +730,19 @@ private com.squareup.okhttp.Call listCertificateSigningRequestValidateBeforeCall * * list or watch objects of kind CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1CertificateSigningRequestList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1CertificateSigningRequestList listCertificateSigningRequest(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listCertificateSigningRequestWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1CertificateSigningRequestList listCertificateSigningRequest(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listCertificateSigningRequestWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -720,16 +750,19 @@ public V1beta1CertificateSigningRequestList listCertificateSigningRequest(String * * list or watch objects of kind CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1CertificateSigningRequestList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listCertificateSigningRequestWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listCertificateSigningRequestValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listCertificateSigningRequestWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listCertificateSigningRequestValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -738,8 +771,11 @@ public ApiResponse listCertificateSigningR * (asynchronously) * list or watch objects of kind CertificateSigningRequest * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -747,7 +783,7 @@ public ApiResponse listCertificateSigningR * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listCertificateSigningRequestAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listCertificateSigningRequestAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -768,7 +804,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listCertificateSigningRequestValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listCertificateSigningRequestValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java index e53e31536e..e5d417576e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java index b3ab3af5e5..c46f75b4db 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CoreV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -4047,39 +4047,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for connectPostNamespacedPodAttach + * Build call for connectPatchNamespacedPodProxy * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) - * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (container != null) - localVarQueryParams.addAll(apiClient.parameterToPair("container", container)); - if (stderr != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stderr", stderr)); - if (stdin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stdin", stdin)); - if (stdout != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stdout", stdout)); - if (tty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("tty", tty)); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); Map localVarHeaderParams = new HashMap(); @@ -4110,24 +4098,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedPodAttachValidateBeforeCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNamespacedPodProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodAttach(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNamespacedPodProxy(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodAttach(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPatchNamespacedPodProxy(Async)"); } - com.squareup.okhttp.Call call = connectPostNamespacedPodAttachCall(name, namespace, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyCall(name, namespace, path, progressListener, progressRequestListener); return call; @@ -4138,56 +4126,44 @@ private com.squareup.okhttp.Call connectPostNamespacedPodAttachValidateBeforeCal /** * - * connect POST requests to attach of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) - * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedPodAttach(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { - ApiResponse resp = connectPostNamespacedPodAttachWithHttpInfo(name, namespace, container, stderr, stdin, stdout, tty); + public String connectPatchNamespacedPodProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPatchNamespacedPodProxyWithHttpInfo(name, namespace, path); return resp.getData(); } /** * - * connect POST requests to attach of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) - * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedPodAttachWithHttpInfo(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedPodAttachValidateBeforeCall(name, namespace, container, stderr, stdin, stdout, tty, null, null); + public ApiResponse connectPatchNamespacedPodProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyValidateBeforeCall(name, namespace, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to attach of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) - * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodAttachAsync(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedPodProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4208,48 +4184,35 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedPodAttachValidateBeforeCall(name, namespace, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedPodExec + * Build call for connectPatchNamespacedPodProxyWithPath * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) - * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) - * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (command != null) - localVarQueryParams.addAll(apiClient.parameterToPair("command", command)); - if (container != null) - localVarQueryParams.addAll(apiClient.parameterToPair("container", container)); - if (stderr != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stderr", stderr)); - if (stdin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stdin", stdin)); - if (stdout != null) - localVarQueryParams.addAll(apiClient.parameterToPair("stdout", stdout)); - if (tty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("tty", tty)); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); Map localVarHeaderParams = new HashMap(); @@ -4280,24 +4243,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedPodExecValidateBeforeCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNamespacedPodProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodExec(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNamespacedPodProxyWithPath(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodExec(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPatchNamespacedPodProxyWithPath(Async)"); } + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPatchNamespacedPodProxyWithPath(Async)"); + } - com.squareup.okhttp.Call call = connectPostNamespacedPodExecCall(name, namespace, command, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); + + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); return call; @@ -4308,59 +4276,47 @@ private com.squareup.okhttp.Call connectPostNamespacedPodExecValidateBeforeCall( /** * - * connect POST requests to exec of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) - * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) - * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedPodExec(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { - ApiResponse resp = connectPostNamespacedPodExecWithHttpInfo(name, namespace, command, container, stderr, stdin, stdout, tty); + public String connectPatchNamespacedPodProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPatchNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2); return resp.getData(); } /** * - * connect POST requests to exec of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) - * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) - * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedPodExecWithHttpInfo(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedPodExecValidateBeforeCall(name, namespace, command, container, stderr, stdin, stdout, tty, null, null); + public ApiResponse connectPatchNamespacedPodProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to exec of Pod + * connect PATCH requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) - * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) - * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) - * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) - * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) - * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodExecAsync(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedPodProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4381,33 +4337,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedPodExecValidateBeforeCall(name, namespace, command, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedPodPortforward - * @param name name of the Pod (required) + * Build call for connectPatchNamespacedServiceProxy + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param ports List of ports to forward Required when using WebSockets (optional) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward" + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (ports != null) - localVarQueryParams.addAll(apiClient.parameterToPair("ports", ports)); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); Map localVarHeaderParams = new HashMap(); @@ -4438,24 +4394,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedPodPortforwardValidateBeforeCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNamespacedServiceProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodPortforward(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNamespacedServiceProxy(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodPortforward(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPatchNamespacedServiceProxy(Async)"); } - com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardCall(name, namespace, ports, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyCall(name, namespace, path, progressListener, progressRequestListener); return call; @@ -4466,44 +4422,44 @@ private com.squareup.okhttp.Call connectPostNamespacedPodPortforwardValidateBefo /** * - * connect POST requests to portforward of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param ports List of ports to forward Required when using WebSockets (optional) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedPodPortforward(String name, String namespace, Integer ports) throws ApiException { - ApiResponse resp = connectPostNamespacedPodPortforwardWithHttpInfo(name, namespace, ports); + public String connectPatchNamespacedServiceProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPatchNamespacedServiceProxyWithHttpInfo(name, namespace, path); return resp.getData(); } /** * - * connect POST requests to portforward of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param ports List of ports to forward Required when using WebSockets (optional) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedPodPortforwardWithHttpInfo(String name, String namespace, Integer ports) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardValidateBeforeCall(name, namespace, ports, null, null); + public ApiResponse connectPatchNamespacedServiceProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyValidateBeforeCall(name, namespace, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to portforward of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param ports List of ports to forward Required when using WebSockets (optional) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodPortforwardAsync(String name, String namespace, Integer ports, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedServiceProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4524,33 +4480,35 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardValidateBeforeCall(name, namespace, ports, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedPodProxy - * @param name name of the Pod (required) + * Build call for connectPatchNamespacedServiceProxyWithPath + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); Map localVarHeaderParams = new HashMap(); @@ -4581,24 +4539,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedPodProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNamespacedServiceProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNamespacedServiceProxyWithPath(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxy(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPatchNamespacedServiceProxyWithPath(Async)"); } + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPatchNamespacedServiceProxyWithPath(Async)"); + } - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyCall(name, namespace, path, progressListener, progressRequestListener); + + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); return call; @@ -4609,44 +4572,47 @@ private com.squareup.okhttp.Call connectPostNamespacedPodProxyValidateBeforeCall /** * - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedPodProxy(String name, String namespace, String path) throws ApiException { - ApiResponse resp = connectPostNamespacedPodProxyWithHttpInfo(name, namespace, path); + public String connectPatchNamespacedServiceProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPatchNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2); return resp.getData(); } /** * - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedPodProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyValidateBeforeCall(name, namespace, path, null, null); + public ApiResponse connectPatchNamespacedServiceProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) + * connect PATCH requests to proxy of Service + * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNamespacedServiceProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4667,35 +4633,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedPodProxyWithPath - * @param name name of the Pod (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * Build call for connectPatchNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path2 != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); Map localVarHeaderParams = new HashMap(); @@ -4726,29 +4688,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNodeProxyValidateBeforeCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNodeProxy(Async)"); } - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxyWithPath(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPostNamespacedPodProxyWithPath(Async)"); - } - - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNodeProxyCall(name, path, progressListener, progressRequestListener); return call; @@ -4759,47 +4711,41 @@ private com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathValidateBe /** * - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedPodProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { - ApiResponse resp = connectPostNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2); + public String connectPatchNodeProxy(String name, String path) throws ApiException { + ApiResponse resp = connectPatchNodeProxyWithHttpInfo(name, path); return resp.getData(); } /** * - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedPodProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + public ApiResponse connectPatchNodeProxyWithHttpInfo(String name, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNodeProxyValidateBeforeCall(name, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Pod - * @param name name of the Pod (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNodeProxyAsync(String name, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4820,33 +4766,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNodeProxyValidateBeforeCall(name, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedServiceProxy - * @param name name of the Service (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * Build call for connectPatchNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPatchNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); Map localVarHeaderParams = new HashMap(); @@ -4877,24 +4823,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedServiceProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPatchNodeProxyWithPathValidateBeforeCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPatchNodeProxyWithPath(Async)"); } - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxy(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPatchNodeProxyWithPath(Async)"); } - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNodeProxyWithPathCall(name, path, path2, progressListener, progressRequestListener); return call; @@ -4905,44 +4851,44 @@ private com.squareup.okhttp.Call connectPostNamespacedServiceProxyValidateBefore /** * - * connect POST requests to proxy of Service - * @param name name of the Service (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedServiceProxy(String name, String namespace, String path) throws ApiException { - ApiResponse resp = connectPostNamespacedServiceProxyWithHttpInfo(name, namespace, path); + public String connectPatchNodeProxyWithPath(String name, String path, String path2) throws ApiException { + ApiResponse resp = connectPatchNodeProxyWithPathWithHttpInfo(name, path, path2); return resp.getData(); } /** * - * connect POST requests to proxy of Service - * @param name name of the Service (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedServiceProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyValidateBeforeCall(name, namespace, path, null, null); + public ApiResponse connectPatchNodeProxyWithPathWithHttpInfo(String name, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPatchNodeProxyWithPathValidateBeforeCall(name, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Service - * @param name name of the Service (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * connect PATCH requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedServiceProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPatchNodeProxyWithPathAsync(String name, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4963,35 +4909,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPatchNodeProxyWithPathValidateBeforeCall(name, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNamespacedServiceProxyWithPath - * @param name name of the Service (required) + * Build call for connectPostNamespacedPodAttach + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodAttachCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/attach" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path2 != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + if (container != null) + localVarQueryParams.addAll(apiClient.parameterToPair("container", container)); + if (stderr != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stderr", stderr)); + if (stdin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stdin", stdin)); + if (stdout != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stdout", stdout)); + if (tty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("tty", tty)); Map localVarHeaderParams = new HashMap(); @@ -5026,25 +4982,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedPodAttachValidateBeforeCall(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodAttach(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxyWithPath(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPostNamespacedServiceProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodAttach(Async)"); } - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodAttachCall(name, namespace, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); return call; @@ -5055,47 +5006,56 @@ private com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathValida /** * - * connect POST requests to proxy of Service - * @param name name of the Service (required) + * connect POST requests to attach of Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNamespacedServiceProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { - ApiResponse resp = connectPostNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2); + public String connectPostNamespacedPodAttach(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { + ApiResponse resp = connectPostNamespacedPodAttachWithHttpInfo(name, namespace, container, stderr, stdin, stdout, tty); return resp.getData(); } /** * - * connect POST requests to proxy of Service - * @param name name of the Service (required) + * connect POST requests to attach of Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNamespacedServiceProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + public ApiResponse connectPostNamespacedPodAttachWithHttpInfo(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedPodAttachValidateBeforeCall(name, namespace, container, stderr, stdin, stdout, tty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Service - * @param name name of the Service (required) + * connect POST requests to attach of Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) - * @param path path to the resource (required) - * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param container The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) + * @param stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodAttachAsync(String name, String namespace, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5116,31 +5076,48 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodAttachValidateBeforeCall(name, namespace, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNodeProxy - * @param name name of the Node (required) - * @param path Path is the URL path to use for the current proxy request to node. (optional) + * Build call for connectPostNamespacedPodExec + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodExecCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/exec" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + if (command != null) + localVarQueryParams.addAll(apiClient.parameterToPair("command", command)); + if (container != null) + localVarQueryParams.addAll(apiClient.parameterToPair("container", container)); + if (stderr != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stderr", stderr)); + if (stdin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stdin", stdin)); + if (stdout != null) + localVarQueryParams.addAll(apiClient.parameterToPair("stdout", stdout)); + if (tty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("tty", tty)); Map localVarHeaderParams = new HashMap(); @@ -5175,15 +5152,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNodeProxyValidateBeforeCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedPodExecValidateBeforeCall(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNodeProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodExec(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodExec(Async)"); } - com.squareup.okhttp.Call call = connectPostNodeProxyCall(name, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodExecCall(name, namespace, command, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); return call; @@ -5194,41 +5176,59 @@ private com.squareup.okhttp.Call connectPostNodeProxyValidateBeforeCall(String n /** * - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to exec of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNodeProxy(String name, String path) throws ApiException { - ApiResponse resp = connectPostNodeProxyWithHttpInfo(name, path); + public String connectPostNamespacedPodExec(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { + ApiResponse resp = connectPostNamespacedPodExecWithHttpInfo(name, namespace, command, container, stderr, stdin, stdout, tty); return resp.getData(); } /** * - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to exec of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNodeProxyWithHttpInfo(String name, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPostNodeProxyValidateBeforeCall(name, path, null, null); + public ApiResponse connectPostNamespacedPodExecWithHttpInfo(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedPodExecValidateBeforeCall(name, namespace, command, container, stderr, stdin, stdout, tty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to exec of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param command Command is the remote command to execute. argv array. Not executed within a shell. (optional) + * @param container Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) + * @param stderr Redirect the standard error stream of the pod for this call. Defaults to true. (optional) + * @param stdin Redirect the standard input stream of the pod for this call. Defaults to false. (optional) + * @param stdout Redirect the standard output stream of the pod for this call. Defaults to true. (optional) + * @param tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNodeProxyAsync(String name, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodExecAsync(String name, String namespace, String command, String container, Boolean stderr, Boolean stdin, Boolean stdout, Boolean tty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5249,33 +5249,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNodeProxyValidateBeforeCall(name, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodExecValidateBeforeCall(name, namespace, command, container, stderr, stdin, stdout, tty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPostNodeProxyWithPath - * @param name name of the Node (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * Build call for connectPostNamespacedPodPortforward + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPostNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodPortforwardCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/portforward" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path2 != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + if (ports != null) + localVarQueryParams.addAll(apiClient.parameterToPair("ports", ports)); Map localVarHeaderParams = new HashMap(); @@ -5310,20 +5310,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPostNodeProxyWithPathValidateBeforeCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedPodPortforwardValidateBeforeCall(String name, String namespace, Integer ports, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPostNodeProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodPortforward(Async)"); } - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPostNodeProxyWithPath(Async)"); + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodPortforward(Async)"); } - com.squareup.okhttp.Call call = connectPostNodeProxyWithPathCall(name, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardCall(name, namespace, ports, progressListener, progressRequestListener); return call; @@ -5334,44 +5334,44 @@ private com.squareup.okhttp.Call connectPostNodeProxyWithPathValidateBeforeCall( /** * - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to portforward of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPostNodeProxyWithPath(String name, String path, String path2) throws ApiException { - ApiResponse resp = connectPostNodeProxyWithPathWithHttpInfo(name, path, path2); + public String connectPostNamespacedPodPortforward(String name, String namespace, Integer ports) throws ApiException { + ApiResponse resp = connectPostNamespacedPodPortforwardWithHttpInfo(name, namespace, ports); return resp.getData(); } /** * - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to portforward of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPostNodeProxyWithPathWithHttpInfo(String name, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPostNodeProxyWithPathValidateBeforeCall(name, path, path2, null, null); + public ApiResponse connectPostNamespacedPodPortforwardWithHttpInfo(String name, String namespace, Integer ports) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardValidateBeforeCall(name, namespace, ports, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect POST requests to proxy of Node - * @param name name of the Node (required) - * @param path path to the resource (required) - * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * connect POST requests to portforward of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param ports List of ports to forward Required when using WebSockets (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPostNodeProxyWithPathAsync(String name, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodPortforwardAsync(String name, String namespace, Integer ports, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5392,13 +5392,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPostNodeProxyWithPathValidateBeforeCall(name, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodPortforwardValidateBeforeCall(name, namespace, ports, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNamespacedPodProxy + * Build call for connectPostNamespacedPodProxy * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the URL path to use for the current proxy request to pod. (optional) @@ -5407,7 +5407,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5449,24 +5449,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNamespacedPodProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedPodProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedPodProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodProxy(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxy(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxy(Async)"); } - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyCall(name, namespace, path, progressListener, progressRequestListener); return call; @@ -5477,36 +5477,36 @@ private com.squareup.okhttp.Call connectPutNamespacedPodProxyValidateBeforeCall( /** * - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNamespacedPodProxy(String name, String namespace, String path) throws ApiException { - ApiResponse resp = connectPutNamespacedPodProxyWithHttpInfo(name, namespace, path); + public String connectPostNamespacedPodProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPostNamespacedPodProxyWithHttpInfo(name, namespace, path); return resp.getData(); } /** * - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNamespacedPodProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyValidateBeforeCall(name, namespace, path, null, null); + public ApiResponse connectPostNamespacedPodProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyValidateBeforeCall(name, namespace, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the URL path to use for the current proxy request to pod. (optional) @@ -5514,7 +5514,7 @@ public ApiResponse connectPutNamespacedPodProxyWithHttpInfo(String name, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedPodProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5535,13 +5535,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNamespacedPodProxyWithPath + * Build call for connectPostNamespacedPodProxyWithPath * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5551,7 +5551,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5594,29 +5594,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedPodProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedPodProxyWithPath(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedPodProxyWithPath(Async)"); } // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPutNamespacedPodProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling connectPostNamespacedPodProxyWithPath(Async)"); } - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); return call; @@ -5627,7 +5627,7 @@ private com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathValidateBef /** * - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5635,14 +5635,14 @@ private com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathValidateBef * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNamespacedPodProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { - ApiResponse resp = connectPutNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2); + public String connectPostNamespacedPodProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPostNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2); return resp.getData(); } /** * - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5650,15 +5650,15 @@ public String connectPutNamespacedPodProxyWithPath(String name, String namespace * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNamespacedPodProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + public ApiResponse connectPostNamespacedPodProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Pod + * connect POST requests to proxy of Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5667,7 +5667,7 @@ public ApiResponse connectPutNamespacedPodProxyWithPathWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedPodProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5688,13 +5688,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNamespacedServiceProxy + * Build call for connectPostNamespacedServiceProxy * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -5703,7 +5703,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5745,24 +5745,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNamespacedServiceProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedServiceProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxy(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxy(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxy(Async)"); } - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyCall(name, namespace, path, progressListener, progressRequestListener); return call; @@ -5773,36 +5773,36 @@ private com.squareup.okhttp.Call connectPutNamespacedServiceProxyValidateBeforeC /** * - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNamespacedServiceProxy(String name, String namespace, String path) throws ApiException { - ApiResponse resp = connectPutNamespacedServiceProxyWithHttpInfo(name, namespace, path); + public String connectPostNamespacedServiceProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPostNamespacedServiceProxyWithHttpInfo(name, namespace, path); return resp.getData(); } /** * - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNamespacedServiceProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyValidateBeforeCall(name, namespace, path, null, null); + public ApiResponse connectPostNamespacedServiceProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyValidateBeforeCall(name, namespace, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) @@ -5810,7 +5810,7 @@ public ApiResponse connectPutNamespacedServiceProxyWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedServiceProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5831,13 +5831,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNamespacedServiceProxyWithPath + * Build call for connectPostNamespacedServiceProxyWithPath * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5847,7 +5847,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5890,29 +5890,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNamespacedServiceProxyWithPath(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling connectPostNamespacedServiceProxyWithPath(Async)"); } // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling connectPostNamespacedServiceProxyWithPath(Async)"); } - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); return call; @@ -5923,7 +5923,7 @@ private com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathValidat /** * - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5931,14 +5931,14 @@ private com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathValidat * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNamespacedServiceProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { - ApiResponse resp = connectPutNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2); + public String connectPostNamespacedServiceProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPostNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2); return resp.getData(); } /** * - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5946,15 +5946,15 @@ public String connectPutNamespacedServiceProxyWithPath(String name, String names * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNamespacedServiceProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + public ApiResponse connectPostNamespacedServiceProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Service + * connect POST requests to proxy of Service * @param name name of the Service (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param path path to the resource (required) @@ -5963,7 +5963,7 @@ public ApiResponse connectPutNamespacedServiceProxyWithPathWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNamespacedServiceProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5984,13 +5984,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNodeProxy + * Build call for connectPostNodeProxy * @param name name of the Node (required) * @param path Path is the URL path to use for the current proxy request to node. (optional) * @param progressListener Progress listener @@ -5998,7 +5998,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6039,19 +6039,19 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNodeProxyValidateBeforeCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNodeProxyValidateBeforeCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNodeProxy(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNodeProxy(Async)"); } - com.squareup.okhttp.Call call = connectPutNodeProxyCall(name, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNodeProxyCall(name, path, progressListener, progressRequestListener); return call; @@ -6062,41 +6062,41 @@ private com.squareup.okhttp.Call connectPutNodeProxyValidateBeforeCall(String na /** * - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path Path is the URL path to use for the current proxy request to node. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNodeProxy(String name, String path) throws ApiException { - ApiResponse resp = connectPutNodeProxyWithHttpInfo(name, path); + public String connectPostNodeProxy(String name, String path) throws ApiException { + ApiResponse resp = connectPostNodeProxyWithHttpInfo(name, path); return resp.getData(); } /** * - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path Path is the URL path to use for the current proxy request to node. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNodeProxyWithHttpInfo(String name, String path) throws ApiException { - com.squareup.okhttp.Call call = connectPutNodeProxyValidateBeforeCall(name, path, null, null); + public ApiResponse connectPostNodeProxyWithHttpInfo(String name, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPostNodeProxyValidateBeforeCall(name, path, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path Path is the URL path to use for the current proxy request to node. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNodeProxyAsync(String name, String path, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNodeProxyAsync(String name, String path, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6117,13 +6117,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNodeProxyValidateBeforeCall(name, path, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNodeProxyValidateBeforeCall(name, path, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for connectPutNodeProxyWithPath + * Build call for connectPostNodeProxyWithPath * @param name name of the Node (required) * @param path path to the resource (required) * @param path2 Path is the URL path to use for the current proxy request to node. (optional) @@ -6132,7 +6132,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call connectPutNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call connectPostNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -6174,24 +6174,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call connectPutNodeProxyWithPathValidateBeforeCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPostNodeProxyWithPathValidateBeforeCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling connectPutNodeProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling connectPostNodeProxyWithPath(Async)"); } // verify the required parameter 'path' is set if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling connectPutNodeProxyWithPath(Async)"); + throw new ApiException("Missing the required parameter 'path' when calling connectPostNodeProxyWithPath(Async)"); } - com.squareup.okhttp.Call call = connectPutNodeProxyWithPathCall(name, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNodeProxyWithPathCall(name, path, path2, progressListener, progressRequestListener); return call; @@ -6202,36 +6202,36 @@ private com.squareup.okhttp.Call connectPutNodeProxyWithPathValidateBeforeCall(S /** * - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path path to the resource (required) * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public String connectPutNodeProxyWithPath(String name, String path, String path2) throws ApiException { - ApiResponse resp = connectPutNodeProxyWithPathWithHttpInfo(name, path, path2); + public String connectPostNodeProxyWithPath(String name, String path, String path2) throws ApiException { + ApiResponse resp = connectPostNodeProxyWithPathWithHttpInfo(name, path, path2); return resp.getData(); } /** * - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path path to the resource (required) * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse connectPutNodeProxyWithPathWithHttpInfo(String name, String path, String path2) throws ApiException { - com.squareup.okhttp.Call call = connectPutNodeProxyWithPathValidateBeforeCall(name, path, path2, null, null); + public ApiResponse connectPostNodeProxyWithPathWithHttpInfo(String name, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPostNodeProxyWithPathValidateBeforeCall(name, path, path2, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * connect PUT requests to proxy of Node + * connect POST requests to proxy of Node * @param name name of the Node (required) * @param path path to the resource (required) * @param path2 Path is the URL path to use for the current proxy request to node. (optional) @@ -6239,7 +6239,7 @@ public ApiResponse connectPutNodeProxyWithPathWithHttpInfo(String name, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call connectPutNodeProxyWithPathAsync(String name, String path, String path2, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPostNodeProxyWithPathAsync(String name, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6260,37 +6260,765 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = connectPutNodeProxyWithPathValidateBeforeCall(name, path, path2, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = connectPostNodeProxyWithPathValidateBeforeCall(name, path, path2, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespace - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) + * Build call for connectPutNamespacedPodProxy + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespaceCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; + public com.squareup.okhttp.Call connectPutNamespacedPodProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces"; + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + "*/*" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call connectPutNamespacedPodProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedPodProxy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxy(Async)"); + } + + + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyCall(name, namespace, path, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String connectPutNamespacedPodProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPutNamespacedPodProxyWithHttpInfo(name, namespace, path); + return resp.getData(); + } + + /** + * + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse connectPutNamespacedPodProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyValidateBeforeCall(name, namespace, path, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the URL path to use for the current proxy request to pod. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedPodProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for connectPutNamespacedPodProxyWithPath + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedPodProxyWithPath(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedPodProxyWithPath(Async)"); + } + + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPutNamespacedPodProxyWithPath(Async)"); + } + + + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String connectPutNamespacedPodProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPutNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2); + return resp.getData(); + } + + /** + * + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse connectPutNamespacedPodProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * connect PUT requests to proxy of Pod + * @param name name of the Pod (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to pod. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedPodProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = connectPutNamespacedPodProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for connectPutNamespacedServiceProxy + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call connectPutNamespacedServiceProxyValidateBeforeCall(String name, String namespace, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxy(Async)"); + } + + + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyCall(name, namespace, path, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String connectPutNamespacedServiceProxy(String name, String namespace, String path) throws ApiException { + ApiResponse resp = connectPutNamespacedServiceProxyWithHttpInfo(name, namespace, path); + return resp.getData(); + } + + /** + * + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse connectPutNamespacedServiceProxyWithHttpInfo(String name, String namespace, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyValidateBeforeCall(name, namespace, path, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyAsync(String name, String namespace, String path, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyValidateBeforeCall(name, namespace, path, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for connectPutNamespacedServiceProxyWithPath + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathValidateBeforeCall(String name, String namespace, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + } + + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPutNamespacedServiceProxyWithPath(Async)"); + } + + + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathCall(name, namespace, path, path2, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String connectPutNamespacedServiceProxyWithPath(String name, String namespace, String path, String path2) throws ApiException { + ApiResponse resp = connectPutNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2); + return resp.getData(); + } + + /** + * + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse connectPutNamespacedServiceProxyWithPathWithHttpInfo(String name, String namespace, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * connect PUT requests to proxy of Service + * @param name name of the Service (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param path path to the resource (required) + * @param path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call connectPutNamespacedServiceProxyWithPathAsync(String name, String namespace, String path, String path2, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = connectPutNamespacedServiceProxyWithPathValidateBeforeCall(name, namespace, path, path2, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for connectPutNodeProxy + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNodeProxyCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/nodes/{name}/proxy" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (path != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call connectPutNodeProxyValidateBeforeCall(String name, String path, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNodeProxy(Async)"); + } + + + com.squareup.okhttp.Call call = connectPutNodeProxyCall(name, path, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @return String + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public String connectPutNodeProxy(String name, String path) throws ApiException { + ApiResponse resp = connectPutNodeProxyWithHttpInfo(name, path); + return resp.getData(); + } + + /** + * + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @return ApiResponse<String> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse connectPutNodeProxyWithHttpInfo(String name, String path) throws ApiException { + com.squareup.okhttp.Call call = connectPutNodeProxyValidateBeforeCall(name, path, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path Path is the URL path to use for the current proxy request to node. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call connectPutNodeProxyAsync(String name, String path, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = connectPutNodeProxyValidateBeforeCall(name, path, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for connectPutNodeProxyWithPath + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call connectPutNodeProxyWithPathCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/nodes/{name}/proxy/{path}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (path2 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("path", path2)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "*/*" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -6314,19 +7042,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespaceValidateBeforeCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call connectPutNodeProxyWithPathValidateBeforeCall(String name, String path, String path2, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespace(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling connectPutNodeProxyWithPath(Async)"); } + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling connectPutNodeProxyWithPath(Async)"); + } - com.squareup.okhttp.Call call = createNamespaceCall(body, pretty, progressListener, progressRequestListener); + + com.squareup.okhttp.Call call = connectPutNodeProxyWithPathCall(name, path, path2, progressListener, progressRequestListener); return call; @@ -6337,41 +7070,44 @@ private com.squareup.okhttp.Call createNamespaceValidateBeforeCall(V1Namespace b /** * - * create a Namespace - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Namespace + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @return String * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace createNamespace(V1Namespace body, String pretty) throws ApiException { - ApiResponse resp = createNamespaceWithHttpInfo(body, pretty); + public String connectPutNodeProxyWithPath(String name, String path, String path2) throws ApiException { + ApiResponse resp = connectPutNodeProxyWithPathWithHttpInfo(name, path, path2); return resp.getData(); } /** * - * create a Namespace - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Namespace> + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) + * @return ApiResponse<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespaceWithHttpInfo(V1Namespace body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespaceValidateBeforeCall(body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse connectPutNodeProxyWithPathWithHttpInfo(String name, String path, String path2) throws ApiException { + com.squareup.okhttp.Call call = connectPutNodeProxyWithPathValidateBeforeCall(name, path, path2, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create a Namespace - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) + * connect PUT requests to proxy of Node + * @param name name of the Node (required) + * @param path path to the resource (required) + * @param path2 Path is the URL path to use for the current proxy request to node. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespaceAsync(V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call connectPutNodeProxyWithPathAsync(String name, String path, String path2, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6392,14 +7128,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespaceValidateBeforeCall(body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = connectPutNodeProxyWithPathValidateBeforeCall(name, path, path2, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespacedBinding - * @param namespace object name and auth scope, such as for teams and projects (required) + * Build call for createNamespace * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -6407,12 +7142,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedBindingCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespaceCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/bindings" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/namespaces"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -6452,20 +7186,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedBindingValidateBeforeCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedBinding(Async)"); - } + private com.squareup.okhttp.Call createNamespaceValidateBeforeCall(V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedBinding(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespace(Async)"); } - com.squareup.okhttp.Call call = createNamespacedBindingCall(namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespaceCall(body, pretty, progressListener, progressRequestListener); return call; @@ -6476,44 +7205,41 @@ private com.squareup.okhttp.Call createNamespacedBindingValidateBeforeCall(Strin /** * - * create a Binding - * @param namespace object name and auth scope, such as for teams and projects (required) + * create a Namespace * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Binding + * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Binding createNamespacedBinding(String namespace, V1Binding body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedBindingWithHttpInfo(namespace, body, pretty); + public V1Namespace createNamespace(V1Namespace body, String pretty) throws ApiException { + ApiResponse resp = createNamespaceWithHttpInfo(body, pretty); return resp.getData(); } /** * - * create a Binding - * @param namespace object name and auth scope, such as for teams and projects (required) + * create a Namespace * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Binding> + * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedBindingWithHttpInfo(String namespace, V1Binding body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedBindingValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createNamespaceWithHttpInfo(V1Namespace body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespaceValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create a Binding - * @param namespace object name and auth scope, such as for teams and projects (required) + * create a Namespace * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedBindingAsync(String namespace, V1Binding body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespaceAsync(V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6534,14 +7260,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedBindingValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = createNamespaceValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespacedBindingBinding - * @param name name of the Binding (required) + * Build call for createNamespacedBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6550,12 +7275,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedBindingBindingCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedBindingCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/binding" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + String localVarPath = "/api/v1/namespaces/{namespace}/bindings" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -6596,25 +7320,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedBindingBindingValidateBeforeCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling createNamespacedBindingBinding(Async)"); - } + private com.squareup.okhttp.Call createNamespacedBindingValidateBeforeCall(String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedBindingBinding(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedBinding(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedBindingBinding(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedBinding(Async)"); } - com.squareup.okhttp.Call call = createNamespacedBindingBindingCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedBindingCall(namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -6625,39 +7344,36 @@ private com.squareup.okhttp.Call createNamespacedBindingBindingValidateBeforeCal /** * - * create binding of a Binding - * @param name name of the Binding (required) + * create a Binding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V1Binding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Binding createNamespacedBindingBinding(String name, String namespace, V1Binding body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedBindingBindingWithHttpInfo(name, namespace, body, pretty); + public V1Binding createNamespacedBinding(String namespace, V1Binding body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedBindingWithHttpInfo(namespace, body, pretty); return resp.getData(); } /** * - * create binding of a Binding - * @param name name of the Binding (required) + * create a Binding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V1Binding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedBindingBindingWithHttpInfo(String name, String namespace, V1Binding body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedBindingBindingValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse createNamespacedBindingWithHttpInfo(String namespace, V1Binding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedBindingValidateBeforeCall(namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create binding of a Binding - * @param name name of the Binding (required) + * create a Binding * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6665,7 +7381,7 @@ public ApiResponse createNamespacedBindingBindingWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedBindingBindingAsync(String name, String namespace, V1Binding body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedBindingAsync(String namespace, V1Binding body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6686,7 +7402,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedBindingBindingValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedBindingValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -7118,8 +7834,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for createNamespacedEvictionEviction - * @param name name of the Eviction (required) + * Build call for createNamespacedLimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7128,12 +7843,153 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedEvictionEvictionCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedLimitRangeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/eviction" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedLimitRangeValidateBeforeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedLimitRange(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedLimitRange(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedLimitRangeCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a LimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1LimitRange + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1LimitRange createNamespacedLimitRange(String namespace, V1LimitRange body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedLimitRangeWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a LimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1LimitRange> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedLimitRangeWithHttpInfo(String namespace, V1LimitRange body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedLimitRangeValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a LimitRange + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedLimitRangeAsync(String namespace, V1LimitRange body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedLimitRangeValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedPersistentVolumeClaim + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -7174,25 +8030,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedEvictionEvictionValidateBeforeCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling createNamespacedEvictionEviction(Async)"); - } + private com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedEvictionEviction(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPersistentVolumeClaim(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedEvictionEviction(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPersistentVolumeClaim(Async)"); } - com.squareup.okhttp.Call call = createNamespacedEvictionEvictionCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimCall(namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7203,39 +8054,36 @@ private com.squareup.okhttp.Call createNamespacedEvictionEvictionValidateBeforeC /** * - * create eviction of an Eviction - * @param name name of the Eviction (required) + * create a PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1Eviction + * @return V1PersistentVolumeClaim * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1Eviction createNamespacedEvictionEviction(String name, String namespace, V1beta1Eviction body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedEvictionEvictionWithHttpInfo(name, namespace, body, pretty); + public V1PersistentVolumeClaim createNamespacedPersistentVolumeClaim(String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedPersistentVolumeClaimWithHttpInfo(namespace, body, pretty); return resp.getData(); } /** * - * create eviction of an Eviction - * @param name name of the Eviction (required) + * create a PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1Eviction> + * @return ApiResponse<V1PersistentVolumeClaim> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedEvictionEvictionWithHttpInfo(String name, String namespace, V1beta1Eviction body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedEvictionEvictionValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create eviction of an Eviction - * @param name name of the Eviction (required) + * create a PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7243,7 +8091,7 @@ public ApiResponse createNamespacedEvictionEvictionWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedEvictionEvictionAsync(String name, String namespace, V1beta1Eviction body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimAsync(String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7264,13 +8112,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedEvictionEvictionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespacedLimitRange + * Build call for createNamespacedPod * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7279,11 +8127,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedLimitRangeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + String localVarPath = "/api/v1/namespaces/{namespace}/pods" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -7324,20 +8172,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedLimitRangeValidateBeforeCall(String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedPodValidateBeforeCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPod(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPod(Async)"); } - com.squareup.okhttp.Call call = createNamespacedLimitRangeCall(namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedPodCall(namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7348,36 +8196,36 @@ private com.squareup.okhttp.Call createNamespacedLimitRangeValidateBeforeCall(St /** * - * create a LimitRange + * create a Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1LimitRange + * @return V1Pod * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1LimitRange createNamespacedLimitRange(String namespace, V1LimitRange body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedLimitRangeWithHttpInfo(namespace, body, pretty); + public V1Pod createNamespacedPod(String namespace, V1Pod body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedPodWithHttpInfo(namespace, body, pretty); return resp.getData(); } /** * - * create a LimitRange + * create a Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1LimitRange> + * @return ApiResponse<V1Pod> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedLimitRangeWithHttpInfo(String namespace, V1LimitRange body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedLimitRangeValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createNamespacedPodWithHttpInfo(String namespace, V1Pod body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedPodValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create a LimitRange + * create a Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7385,7 +8233,7 @@ public ApiResponse createNamespacedLimitRangeWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedLimitRangeAsync(String namespace, V1LimitRange body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodAsync(String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7406,13 +8254,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedLimitRangeValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = createNamespacedPodValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespacedPersistentVolumeClaim + * Build call for createNamespacedPodBinding + * @param name name of the Binding (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7421,11 +8270,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodBindingCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/binding" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -7466,20 +8316,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedPodBindingValidateBeforeCall(String name, String namespace, V1Binding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling createNamespacedPodBinding(Async)"); + } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPodBinding(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPodBinding(Async)"); } - com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimCall(namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedPodBindingCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7490,36 +8345,39 @@ private com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimValidateBe /** * - * create a PersistentVolumeClaim + * create binding of a Pod + * @param name name of the Binding (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PersistentVolumeClaim + * @return V1Binding * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaim createNamespacedPersistentVolumeClaim(String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedPersistentVolumeClaimWithHttpInfo(namespace, body, pretty); + public V1Binding createNamespacedPodBinding(String name, String namespace, V1Binding body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedPodBindingWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * create a PersistentVolumeClaim + * create binding of a Pod + * @param name name of the Binding (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PersistentVolumeClaim> + * @return ApiResponse<V1Binding> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createNamespacedPodBindingWithHttpInfo(String name, String namespace, V1Binding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedPodBindingValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create a PersistentVolumeClaim + * create binding of a Pod + * @param name name of the Binding (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7527,7 +8385,7 @@ public ApiResponse createNamespacedPersistentVolumeClai * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedPersistentVolumeClaimAsync(String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodBindingAsync(String name, String namespace, V1Binding body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7548,13 +8406,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = createNamespacedPodBindingValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for createNamespacedPod + * Build call for createNamespacedPodEviction + * @param name name of the Eviction (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7563,11 +8422,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedPodCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodEvictionCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/eviction" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); @@ -7608,20 +8468,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedPodValidateBeforeCall(String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedPodEvictionValidateBeforeCall(String name, String namespace, V1beta1Eviction body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling createNamespacedPodEviction(Async)"); + } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedPodEviction(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedPodEviction(Async)"); } - com.squareup.okhttp.Call call = createNamespacedPodCall(namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedPodEvictionCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7632,36 +8497,39 @@ private com.squareup.okhttp.Call createNamespacedPodValidateBeforeCall(String na /** * - * create a Pod + * create eviction of a Pod + * @param name name of the Eviction (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Pod + * @return V1beta1Eviction * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Pod createNamespacedPod(String namespace, V1Pod body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedPodWithHttpInfo(namespace, body, pretty); + public V1beta1Eviction createNamespacedPodEviction(String name, String namespace, V1beta1Eviction body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedPodEvictionWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * create a Pod + * create eviction of a Pod + * @param name name of the Eviction (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Pod> + * @return ApiResponse<V1beta1Eviction> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedPodWithHttpInfo(String namespace, V1Pod body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedPodValidateBeforeCall(namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createNamespacedPodEvictionWithHttpInfo(String name, String namespace, V1beta1Eviction body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedPodEvictionValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create a Pod + * create eviction of a Pod + * @param name name of the Eviction (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7669,7 +8537,7 @@ public ApiResponse createNamespacedPodWithHttpInfo(String namespace, V1Po * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedPodAsync(String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedPodEvictionAsync(String name, String namespace, V1beta1Eviction body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7690,8 +8558,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedPodValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = createNamespacedPodEvictionValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -8815,8 +9683,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -8825,7 +9696,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8836,10 +9707,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapCall(String n List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -8880,7 +9757,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -8888,7 +9765,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapValidateBefo } - com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -8902,16 +9779,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapValidateBefo * delete collection of ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedConfigMap(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedConfigMap(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -8920,16 +9800,19 @@ public V1Status deleteCollectionNamespacedConfigMap(String namespace, String pre * delete collection of ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedConfigMapWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedConfigMapWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -8939,8 +9822,11 @@ public ApiResponse deleteCollectionNamespacedConfigMapWithHttpInfo(Str * delete collection of ConfigMap * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -8948,7 +9834,7 @@ public ApiResponse deleteCollectionNamespacedConfigMapWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedConfigMapAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8969,7 +9855,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedConfigMapValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -8978,8 +9864,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedEndpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -8988,7 +9877,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -8999,10 +9888,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsCall(String n List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9043,7 +9938,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9051,7 +9946,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsValidateBefo } - com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9065,16 +9960,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsValidateBefo * delete collection of Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedEndpoints(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedEndpoints(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9083,16 +9981,19 @@ public V1Status deleteCollectionNamespacedEndpoints(String namespace, String pre * delete collection of Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedEndpointsWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedEndpointsWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9102,8 +10003,11 @@ public ApiResponse deleteCollectionNamespacedEndpointsWithHttpInfo(Str * delete collection of Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9111,7 +10015,7 @@ public ApiResponse deleteCollectionNamespacedEndpointsWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedEndpointsAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9132,7 +10036,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedEndpointsValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9141,8 +10045,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedEvent * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9151,7 +10058,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedEventCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9162,10 +10069,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedEventCall(String names List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9206,7 +10119,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedEventValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedEventValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9214,7 +10127,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedEventValidateBeforeCa } - com.squareup.okhttp.Call call = deleteCollectionNamespacedEventCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedEventCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9228,16 +10141,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedEventValidateBeforeCa * delete collection of Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedEvent(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedEvent(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9246,16 +10162,19 @@ public V1Status deleteCollectionNamespacedEvent(String namespace, String pretty, * delete collection of Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedEventWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedEventValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedEventWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedEventValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9265,8 +10184,11 @@ public ApiResponse deleteCollectionNamespacedEventWithHttpInfo(String * delete collection of Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9274,7 +10196,7 @@ public ApiResponse deleteCollectionNamespacedEventWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedEventAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedEventAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9295,7 +10217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedEventValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedEventValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9304,8 +10226,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedLimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9314,7 +10239,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9325,10 +10250,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9369,7 +10300,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9377,7 +10308,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeValidateBef } - com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9391,16 +10322,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeValidateBef * delete collection of LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedLimitRange(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedLimitRange(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9409,16 +10343,19 @@ public V1Status deleteCollectionNamespacedLimitRange(String namespace, String pr * delete collection of LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedLimitRangeWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedLimitRangeWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9428,8 +10365,11 @@ public ApiResponse deleteCollectionNamespacedLimitRangeWithHttpInfo(St * delete collection of LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9437,7 +10377,7 @@ public ApiResponse deleteCollectionNamespacedLimitRangeWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedLimitRangeAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9458,7 +10398,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedLimitRangeValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9467,8 +10407,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedPersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9477,7 +10420,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9488,10 +10431,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimC List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9532,7 +10481,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9540,7 +10489,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaim } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9554,16 +10503,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaim * delete collection of PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedPersistentVolumeClaim(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedPersistentVolumeClaim(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9572,16 +10524,19 @@ public V1Status deleteCollectionNamespacedPersistentVolumeClaim(String namespace * delete collection of PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9591,8 +10546,11 @@ public ApiResponse deleteCollectionNamespacedPersistentVolumeClaimWith * delete collection of PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9600,7 +10558,7 @@ public ApiResponse deleteCollectionNamespacedPersistentVolumeClaimWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPersistentVolumeClaimAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9621,7 +10579,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9630,8 +10588,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedPod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9640,7 +10601,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9651,10 +10612,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedPodCall(String namespa List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9695,7 +10662,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedPodValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedPodValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9703,7 +10670,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodValidateBeforeCall } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9717,16 +10684,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodValidateBeforeCall * delete collection of Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedPod(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedPod(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9735,16 +10705,19 @@ public V1Status deleteCollectionNamespacedPod(String namespace, String pretty, S * delete collection of Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedPodWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedPodWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9754,8 +10727,11 @@ public ApiResponse deleteCollectionNamespacedPodWithHttpInfo(String na * delete collection of Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9763,7 +10739,7 @@ public ApiResponse deleteCollectionNamespacedPodWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9784,7 +10760,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9793,8 +10769,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedPodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9803,7 +10782,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9814,10 +10793,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -9858,7 +10843,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -9866,7 +10851,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateValidateBe } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -9880,16 +10865,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateValidateBe * delete collection of PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedPodTemplate(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedPodTemplate(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -9898,16 +10886,19 @@ public V1Status deleteCollectionNamespacedPodTemplate(String namespace, String p * delete collection of PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedPodTemplateWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedPodTemplateWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -9917,8 +10908,11 @@ public ApiResponse deleteCollectionNamespacedPodTemplateWithHttpInfo(S * delete collection of PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9926,7 +10920,7 @@ public ApiResponse deleteCollectionNamespacedPodTemplateWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodTemplateAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9947,7 +10941,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodTemplateValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9956,8 +10950,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -9966,7 +10963,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9977,10 +10974,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerC List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10021,7 +11024,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -10029,7 +11032,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedReplicationController } - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10043,16 +11046,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedReplicationController * delete collection of ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedReplicationController(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedReplicationController(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10061,16 +11067,19 @@ public V1Status deleteCollectionNamespacedReplicationController(String namespace * delete collection of ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedReplicationControllerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedReplicationControllerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10080,8 +11089,11 @@ public ApiResponse deleteCollectionNamespacedReplicationControllerWith * delete collection of ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10089,7 +11101,7 @@ public ApiResponse deleteCollectionNamespacedReplicationControllerWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicationControllerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10110,7 +11122,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -10119,8 +11131,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10129,7 +11144,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10140,10 +11155,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaCall(Stri List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10184,7 +11205,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -10192,7 +11213,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaValidate } - com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10206,16 +11227,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaValidate * delete collection of ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedResourceQuota(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedResourceQuota(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10224,16 +11248,19 @@ public V1Status deleteCollectionNamespacedResourceQuota(String namespace, String * delete collection of ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedResourceQuotaWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedResourceQuotaWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10243,8 +11270,11 @@ public ApiResponse deleteCollectionNamespacedResourceQuotaWithHttpInfo * delete collection of ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10252,7 +11282,7 @@ public ApiResponse deleteCollectionNamespacedResourceQuotaWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedResourceQuotaAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10273,7 +11303,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -10282,8 +11312,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedSecret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10292,7 +11325,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedSecretCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10303,10 +11336,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedSecretCall(String name List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10347,7 +11386,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedSecretValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedSecretValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -10355,7 +11394,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedSecretValidateBeforeC } - com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10369,16 +11408,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedSecretValidateBeforeC * delete collection of Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedSecret(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedSecret(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10387,16 +11429,19 @@ public V1Status deleteCollectionNamespacedSecret(String namespace, String pretty * delete collection of Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedSecretWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedSecretWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10406,8 +11451,11 @@ public ApiResponse deleteCollectionNamespacedSecretWithHttpInfo(String * delete collection of Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10415,7 +11463,7 @@ public ApiResponse deleteCollectionNamespacedSecretWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedSecretAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedSecretAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10436,7 +11484,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedSecretValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -10445,8 +11493,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10455,7 +11506,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10466,10 +11517,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountCall(Str List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10510,7 +11567,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -10518,7 +11575,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountValidat } - com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10532,16 +11589,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountValidat * delete collection of ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedServiceAccount(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedServiceAccount(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10550,16 +11610,19 @@ public V1Status deleteCollectionNamespacedServiceAccount(String namespace, Strin * delete collection of ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedServiceAccountWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedServiceAccountWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10569,8 +11632,11 @@ public ApiResponse deleteCollectionNamespacedServiceAccountWithHttpInf * delete collection of ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10578,7 +11644,7 @@ public ApiResponse deleteCollectionNamespacedServiceAccountWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedServiceAccountAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10599,7 +11665,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedServiceAccountValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -10607,8 +11673,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionNode * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10617,7 +11686,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNodeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10627,10 +11696,16 @@ public com.squareup.okhttp.Call deleteCollectionNodeCall(String pretty, String f List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10671,10 +11746,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNodeValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNodeValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNodeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNodeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10687,16 +11762,19 @@ private com.squareup.okhttp.Call deleteCollectionNodeValidateBeforeCall(String p * * delete collection of Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNode(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNodeWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNode(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNodeWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10704,16 +11782,19 @@ public V1Status deleteCollectionNode(String pretty, String fieldSelector, String * * delete collection of Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNodeWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNodeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNodeWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNodeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10722,8 +11803,11 @@ public ApiResponse deleteCollectionNodeWithHttpInfo(String pretty, Str * (asynchronously) * delete collection of Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10731,7 +11815,7 @@ public ApiResponse deleteCollectionNodeWithHttpInfo(String pretty, Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNodeAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNodeAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10752,7 +11836,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNodeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNodeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -10760,8 +11844,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionPersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10770,7 +11857,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionPersistentVolumeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -10780,10 +11867,16 @@ public com.squareup.okhttp.Call deleteCollectionPersistentVolumeCall(String pret List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -10824,10 +11917,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionPersistentVolumeValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionPersistentVolumeValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -10840,16 +11933,19 @@ private com.squareup.okhttp.Call deleteCollectionPersistentVolumeValidateBeforeC * * delete collection of PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionPersistentVolume(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionPersistentVolumeWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionPersistentVolume(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionPersistentVolumeWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -10857,16 +11953,19 @@ public V1Status deleteCollectionPersistentVolume(String pretty, String fieldSele * * delete collection of PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionPersistentVolumeWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionPersistentVolumeWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -10875,8 +11974,11 @@ public ApiResponse deleteCollectionPersistentVolumeWithHttpInfo(String * (asynchronously) * delete collection of PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -10884,7 +11986,7 @@ public ApiResponse deleteCollectionPersistentVolumeWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionPersistentVolumeAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionPersistentVolumeAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10905,7 +12007,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionPersistentVolumeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -13522,8 +14624,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } /** * Build call for listComponentStatus + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13533,7 +14638,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listComponentStatusCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listComponentStatusCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13541,10 +14646,16 @@ public com.squareup.okhttp.Call listComponentStatusCall(String fieldSelector, St List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -13587,10 +14698,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listComponentStatusValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listComponentStatusValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listComponentStatusCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listComponentStatusCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -13602,8 +14713,11 @@ private com.squareup.okhttp.Call listComponentStatusValidateBeforeCall(String fi /** * * list objects of kind ComponentStatus + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13611,16 +14725,19 @@ private com.squareup.okhttp.Call listComponentStatusValidateBeforeCall(String fi * @return V1ComponentStatusList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ComponentStatusList listComponentStatus(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listComponentStatusWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1ComponentStatusList listComponentStatus(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listComponentStatusWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list objects of kind ComponentStatus + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13628,8 +14745,8 @@ public V1ComponentStatusList listComponentStatus(String fieldSelector, String la * @return ApiResponse<V1ComponentStatusList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listComponentStatusWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listComponentStatusValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listComponentStatusWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listComponentStatusValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -13637,8 +14754,11 @@ public ApiResponse listComponentStatusWithHttpInfo(String /** * (asynchronously) * list objects of kind ComponentStatus + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13647,7 +14767,7 @@ public ApiResponse listComponentStatusWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listComponentStatusAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listComponentStatusAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13668,15 +14788,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listComponentStatusValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listComponentStatusValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listConfigMapForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13686,7 +14809,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listConfigMapForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listConfigMapForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -13694,10 +14817,187 @@ public com.squareup.okhttp.Call listConfigMapForAllNamespacesCall(String fieldSe List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listConfigMapForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listConfigMapForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ConfigMap + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1ConfigMapList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ConfigMapList listConfigMapForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listConfigMapForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ConfigMap + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1ConfigMapList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listConfigMapForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listConfigMapForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ConfigMap + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listConfigMapForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listConfigMapForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listEndpointsForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listEndpointsForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/endpoints"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -13740,10 +15040,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listConfigMapForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listEndpointsForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listConfigMapForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listEndpointsForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -13754,44 +15054,53 @@ private com.squareup.okhttp.Call listConfigMapForAllNamespacesValidateBeforeCall /** * - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ConfigMapList + * @return V1EndpointsList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ConfigMapList listConfigMapForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listConfigMapForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1EndpointsList listEndpointsForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listEndpointsForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ConfigMapList> + * @return ApiResponse<V1EndpointsList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listConfigMapForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listConfigMapForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listEndpointsForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listEndpointsForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13800,7 +15109,7 @@ public ApiResponse listConfigMapForAllNamespacesWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listConfigMapForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listEndpointsForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13821,15 +15130,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listConfigMapForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listEndpointsForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listEndpointsForAllNamespaces + * Build call for listEventForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13839,18 +15151,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listEndpointsForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listEventForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/endpoints"; + String localVarPath = "/api/v1/events"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -13893,10 +15211,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listEndpointsForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listEventForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listEndpointsForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listEventForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -13907,44 +15225,53 @@ private com.squareup.okhttp.Call listEndpointsForAllNamespacesValidateBeforeCall /** * - * list or watch objects of kind Endpoints + * list or watch objects of kind Event + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1EndpointsList + * @return V1EventList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1EndpointsList listEndpointsForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listEndpointsForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1EventList listEventForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listEventForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Endpoints + * list or watch objects of kind Event + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1EndpointsList> + * @return ApiResponse<V1EventList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listEndpointsForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listEndpointsForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listEventForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listEventForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Endpoints + * list or watch objects of kind Event + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13953,7 +15280,7 @@ public ApiResponse listEndpointsForAllNamespacesWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listEndpointsForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listEventForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13974,15 +15301,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listEndpointsForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listEventForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listEventForAllNamespaces + * Build call for listLimitRangeForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -13992,18 +15322,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listEventForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listLimitRangeForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/events"; + String localVarPath = "/api/v1/limitranges"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -14046,10 +15382,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listEventForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listLimitRangeForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listEventForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14060,44 +15396,53 @@ private com.squareup.okhttp.Call listEventForAllNamespacesValidateBeforeCall(Str /** * - * list or watch objects of kind Event + * list or watch objects of kind LimitRange + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1EventList + * @return V1LimitRangeList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1EventList listEventForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listEventForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1LimitRangeList listLimitRangeForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listLimitRangeForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Event + * list or watch objects of kind LimitRange + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1EventList> + * @return ApiResponse<V1LimitRangeList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listEventForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listEventForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listLimitRangeForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Event + * list or watch objects of kind LimitRange + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -14106,7 +15451,7 @@ public ApiResponse listEventForAllNamespacesWithHttpInfo(String fie * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listEventForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listLimitRangeForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14127,16 +15472,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listEventForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listLimitRangeForAllNamespaces + * Build call for listNamespace + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14145,20 +15493,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listLimitRangeForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespaceCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/limitranges"; + String localVarPath = "/api/v1/namespaces"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14199,10 +15553,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listLimitRangeForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespaceValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespaceCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14213,45 +15567,54 @@ private com.squareup.okhttp.Call listLimitRangeForAllNamespacesValidateBeforeCal /** * - * list or watch objects of kind LimitRange + * list or watch objects of kind Namespace + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1LimitRangeList + * @return V1NamespaceList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1LimitRangeList listLimitRangeForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listLimitRangeForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1NamespaceList listNamespace(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespaceWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind LimitRange + * list or watch objects of kind Namespace + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1LimitRangeList> + * @return ApiResponse<V1NamespaceList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listLimitRangeForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespaceWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespaceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind LimitRange + * list or watch objects of kind Namespace + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param pretty If 'true', then the output is pretty printed. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14259,7 +15622,7 @@ public ApiResponse listLimitRangeForAllNamespacesWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listLimitRangeForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespaceAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14280,16 +15643,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listLimitRangeForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespaceValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespace + * Build call for listNamespacedConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14298,20 +15665,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespaceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedConfigMapCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces"; + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14352,10 +15726,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespaceValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedConfigMapValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedConfigMap(Async)"); + } - com.squareup.okhttp.Call call = listNamespaceCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedConfigMapCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14366,45 +15745,57 @@ private com.squareup.okhttp.Call listNamespaceValidateBeforeCall(String pretty, /** * - * list or watch objects of kind Namespace + * list or watch objects of kind ConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1NamespaceList + * @return V1ConfigMapList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1NamespaceList listNamespace(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespaceWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1ConfigMapList listNamespacedConfigMap(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Namespace + * list or watch objects of kind ConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1NamespaceList> + * @return ApiResponse<V1ConfigMapList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespaceWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespaceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedConfigMapWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedConfigMapValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Namespace + * list or watch objects of kind ConfigMap + * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14412,7 +15803,7 @@ public ApiResponse listNamespaceWithHttpInfo(String pretty, Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespaceAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedConfigMapAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14433,17 +15824,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespaceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedConfigMapValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedConfigMap + * Build call for listNamespacedEndpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14452,21 +15846,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedConfigMapCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedEndpointsCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps" + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14507,15 +15907,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedConfigMapValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedEndpointsValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedEndpoints(Async)"); } - com.squareup.okhttp.Call call = listNamespacedConfigMapCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedEndpointsCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14526,48 +15926,57 @@ private com.squareup.okhttp.Call listNamespacedConfigMapValidateBeforeCall(Strin /** * - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ConfigMapList + * @return V1EndpointsList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ConfigMapList listNamespacedConfigMap(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedConfigMapWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1EndpointsList listNamespacedEndpoints(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ConfigMapList> + * @return ApiResponse<V1EndpointsList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedConfigMapWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedConfigMapValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedEndpointsWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedEndpointsValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ConfigMap + * list or watch objects of kind Endpoints * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14575,7 +15984,7 @@ public ApiResponse listNamespacedConfigMapWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedConfigMapAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedEndpointsAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14596,17 +16005,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedConfigMapValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedEndpointsValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedEndpoints + * Build call for listNamespacedEvent * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14615,21 +16027,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedEndpointsCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedEventCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints" + String localVarPath = "/api/v1/namespaces/{namespace}/events" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14670,15 +16088,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedEndpointsValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedEventValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedEvent(Async)"); } - com.squareup.okhttp.Call call = listNamespacedEndpointsCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedEventCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14689,48 +16107,57 @@ private com.squareup.okhttp.Call listNamespacedEndpointsValidateBeforeCall(Strin /** * - * list or watch objects of kind Endpoints + * list or watch objects of kind Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1EndpointsList + * @return V1EventList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1EndpointsList listNamespacedEndpoints(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedEndpointsWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1EventList listNamespacedEvent(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedEventWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Endpoints + * list or watch objects of kind Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1EndpointsList> + * @return ApiResponse<V1EventList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedEndpointsWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedEndpointsValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedEventWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedEventValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Endpoints + * list or watch objects of kind Event * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14738,7 +16165,7 @@ public ApiResponse listNamespacedEndpointsWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedEndpointsAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedEventAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14759,17 +16186,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedEndpointsValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedEventValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedEvent + * Build call for listNamespacedLimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14778,21 +16208,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedEventCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedLimitRangeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events" + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14833,15 +16269,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedEventValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedLimitRangeValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedLimitRange(Async)"); } - com.squareup.okhttp.Call call = listNamespacedEventCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedLimitRangeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -14852,48 +16288,57 @@ private com.squareup.okhttp.Call listNamespacedEventValidateBeforeCall(String na /** * - * list or watch objects of kind Event + * list or watch objects of kind LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1EventList + * @return V1LimitRangeList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1EventList listNamespacedEvent(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedEventWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1LimitRangeList listNamespacedLimitRange(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Event + * list or watch objects of kind LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1EventList> + * @return ApiResponse<V1LimitRangeList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedEventWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedEventValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedLimitRangeWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedLimitRangeValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Event + * list or watch objects of kind LimitRange * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14901,7 +16346,7 @@ public ApiResponse listNamespacedEventWithHttpInfo(String namespace * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedEventAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedLimitRangeAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14922,17 +16367,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedEventValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedLimitRangeValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedLimitRange + * Build call for listNamespacedPersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -14941,21 +16389,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedLimitRangeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges" + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -14996,15 +16450,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedLimitRangeValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPersistentVolumeClaim(Async)"); } - com.squareup.okhttp.Call call = listNamespacedLimitRangeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15015,48 +16469,57 @@ private com.squareup.okhttp.Call listNamespacedLimitRangeValidateBeforeCall(Stri /** * - * list or watch objects of kind LimitRange + * list or watch objects of kind PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1LimitRangeList + * @return V1PersistentVolumeClaimList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1LimitRangeList listNamespacedLimitRange(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedLimitRangeWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1PersistentVolumeClaimList listNamespacedPersistentVolumeClaim(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind LimitRange + * list or watch objects of kind PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1LimitRangeList> + * @return ApiResponse<V1PersistentVolumeClaimList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedLimitRangeWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedLimitRangeValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind LimitRange + * list or watch objects of kind PersistentVolumeClaim * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15064,7 +16527,7 @@ public ApiResponse listNamespacedLimitRangeWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedLimitRangeAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15085,17 +16548,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedLimitRangeValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedPersistentVolumeClaim + * Build call for listNamespacedPod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15104,21 +16570,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims" + String localVarPath = "/api/v1/namespaces/{namespace}/pods" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15159,15 +16631,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedPodValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPod(Async)"); } - com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15178,48 +16650,57 @@ private com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimValidateBefo /** * - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PersistentVolumeClaimList + * @return V1PodList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaimList listNamespacedPersistentVolumeClaim(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1PodList listNamespacedPod(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedPodWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PersistentVolumeClaimList> + * @return ApiResponse<V1PodList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedPersistentVolumeClaimWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedPodWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedPodValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15227,7 +16708,7 @@ public ApiResponse listNamespacedPersistentVolumeCl * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedPersistentVolumeClaimAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15248,17 +16729,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedPersistentVolumeClaimValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedPodValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedPod + * Build call for listNamespacedPodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15267,21 +16751,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedPodCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodTemplateCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods" + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15322,15 +16812,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedPodValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedPodTemplateValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPodTemplate(Async)"); } - com.squareup.okhttp.Call call = listNamespacedPodCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodTemplateCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15341,48 +16831,57 @@ private com.squareup.okhttp.Call listNamespacedPodValidateBeforeCall(String name /** * - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PodList + * @return V1PodTemplateList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodList listNamespacedPod(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedPodWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1PodTemplateList listNamespacedPodTemplate(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PodList> + * @return ApiResponse<V1PodTemplateList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedPodWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedPodValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedPodTemplateWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedPodTemplateValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15390,7 +16889,7 @@ public ApiResponse listNamespacedPodWithHttpInfo(String namespace, St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedPodAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodTemplateAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15411,17 +16910,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedPodValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedPodTemplateValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedPodTemplate + * Build call for listNamespacedReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15430,21 +16932,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedPodTemplateCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedReplicationControllerCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15485,15 +16993,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedPodTemplateValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedReplicationControllerValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedReplicationController(Async)"); } - com.squareup.okhttp.Call call = listNamespacedPodTemplateCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedReplicationControllerCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15504,48 +17012,57 @@ private com.squareup.okhttp.Call listNamespacedPodTemplateValidateBeforeCall(Str /** * - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PodTemplateList + * @return V1ReplicationControllerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodTemplateList listNamespacedPodTemplate(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedPodTemplateWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1ReplicationControllerList listNamespacedReplicationController(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PodTemplateList> + * @return ApiResponse<V1ReplicationControllerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedPodTemplateWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedPodTemplateValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedReplicationControllerWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15553,7 +17070,7 @@ public ApiResponse listNamespacedPodTemplateWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedPodTemplateAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedReplicationControllerAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15574,17 +17091,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedPodTemplateValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedReplicationController + * Build call for listNamespacedResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15593,21 +17113,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedReplicationControllerCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedResourceQuotaCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers" + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15648,15 +17174,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedReplicationControllerValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedResourceQuotaValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceQuota(Async)"); } - com.squareup.okhttp.Call call = listNamespacedReplicationControllerCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedResourceQuotaCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15667,48 +17193,57 @@ private com.squareup.okhttp.Call listNamespacedReplicationControllerValidateBefo /** * - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ReplicationControllerList + * @return V1ResourceQuotaList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ReplicationControllerList listNamespacedReplicationController(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedReplicationControllerWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1ResourceQuotaList listNamespacedResourceQuota(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ReplicationControllerList> + * @return ApiResponse<V1ResourceQuotaList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedReplicationControllerWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedResourceQuotaWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15716,7 +17251,7 @@ public ApiResponse listNamespacedReplicationControl * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedReplicationControllerAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedResourceQuotaAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15737,17 +17272,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedReplicationControllerValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedResourceQuota + * Build call for listNamespacedSecret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15756,21 +17294,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedResourceQuotaCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedSecretCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas" + String localVarPath = "/api/v1/namespaces/{namespace}/secrets" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15811,15 +17355,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedResourceQuotaValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedSecretValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedResourceQuota(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedSecret(Async)"); } - com.squareup.okhttp.Call call = listNamespacedResourceQuotaCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedSecretCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15830,48 +17374,57 @@ private com.squareup.okhttp.Call listNamespacedResourceQuotaValidateBeforeCall(S /** * - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ResourceQuotaList + * @return V1SecretList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ResourceQuotaList listNamespacedResourceQuota(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedResourceQuotaWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1SecretList listNamespacedSecret(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedSecretWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ResourceQuotaList> + * @return ApiResponse<V1SecretList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedResourceQuotaWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedSecretWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedSecretValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15879,7 +17432,7 @@ public ApiResponse listNamespacedResourceQuotaWithHttpInfo( * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedResourceQuotaAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedSecretAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15900,17 +17453,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedResourceQuotaValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedSecretValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedSecret + * Build call for listNamespacedService * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -15919,21 +17475,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedSecretCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedServiceCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/secrets" + String localVarPath = "/api/v1/namespaces/{namespace}/services" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -15974,15 +17536,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedSecretValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedServiceValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedSecret(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedService(Async)"); } - com.squareup.okhttp.Call call = listNamespacedSecretCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedServiceCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -15993,48 +17555,57 @@ private com.squareup.okhttp.Call listNamespacedSecretValidateBeforeCall(String n /** * - * list or watch objects of kind Secret + * list or watch objects of kind Service * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1SecretList + * @return V1ServiceList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1SecretList listNamespacedSecret(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedSecretWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1ServiceList listNamespacedService(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedServiceWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Secret + * list or watch objects of kind Service * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1SecretList> + * @return ApiResponse<V1ServiceList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedSecretWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedSecretValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedServiceWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedServiceValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Secret + * list or watch objects of kind Service * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16042,7 +17613,7 @@ public ApiResponse listNamespacedSecretWithHttpInfo(String namespa * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedSecretAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedServiceAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16063,17 +17634,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedSecretValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedServiceValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedService + * Build call for listNamespacedServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16082,21 +17656,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedServiceCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedServiceAccountCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/services" + String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts" .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -16137,15 +17717,15 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedServiceValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedServiceAccountValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedService(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedServiceAccount(Async)"); } - com.squareup.okhttp.Call call = listNamespacedServiceCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedServiceAccountCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16156,48 +17736,57 @@ private com.squareup.okhttp.Call listNamespacedServiceValidateBeforeCall(String /** * - * list or watch objects of kind Service + * list or watch objects of kind ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ServiceList + * @return V1ServiceAccountList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ServiceList listNamespacedService(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedServiceWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1ServiceAccountList listNamespacedServiceAccount(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Service + * list or watch objects of kind ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ServiceList> + * @return ApiResponse<V1ServiceAccountList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedServiceWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedServiceValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNamespacedServiceAccountWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedServiceAccountValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Service + * list or watch objects of kind ServiceAccount * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16205,7 +17794,7 @@ public ApiResponse listNamespacedServiceWithHttpInfo(String names * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedServiceAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedServiceAccountAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16226,17 +17815,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedServiceValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNamespacedServiceAccountValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNamespacedServiceAccount - * @param namespace object name and auth scope, such as for teams and projects (required) + * Build call for listNode * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16245,21 +17836,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedServiceAccountCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNodeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/serviceaccounts" - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + String localVarPath = "/api/v1/nodes"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -16300,15 +17896,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedServiceAccountValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedServiceAccount(Async)"); - } + private com.squareup.okhttp.Call listNodeValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedServiceAccountCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNodeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16319,48 +17910,54 @@ private com.squareup.okhttp.Call listNamespacedServiceAccountValidateBeforeCall( /** * - * list or watch objects of kind ServiceAccount - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ServiceAccountList + * @return V1NodeList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ServiceAccountList listNamespacedServiceAccount(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedServiceAccountWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1NodeList listNode(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNodeWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ServiceAccount - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ServiceAccountList> + * @return ApiResponse<V1NodeList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedServiceAccountWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedServiceAccountValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listNodeWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNodeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ServiceAccount - * @param namespace object name and auth scope, such as for teams and projects (required) + * list or watch objects of kind Node * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16368,7 +17965,7 @@ public ApiResponse listNamespacedServiceAccountWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedServiceAccountAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNodeAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16389,16 +17986,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedServiceAccountValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listNodeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listNode + * Build call for listPersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16407,20 +18007,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNodeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPersistentVolumeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/nodes"; + String localVarPath = "/api/v1/persistentvolumes"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -16461,10 +18067,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNodeValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPersistentVolumeValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listNodeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPersistentVolumeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16475,45 +18081,54 @@ private com.squareup.okhttp.Call listNodeValidateBeforeCall(String pretty, Strin /** * - * list or watch objects of kind Node + * list or watch objects of kind PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1NodeList + * @return V1PersistentVolumeList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1NodeList listNode(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNodeWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1PersistentVolumeList listPersistentVolume(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPersistentVolumeWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Node + * list or watch objects of kind PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1NodeList> + * @return ApiResponse<V1PersistentVolumeList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNodeWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNodeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listPersistentVolumeWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPersistentVolumeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Node + * list or watch objects of kind PersistentVolume * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16521,7 +18136,7 @@ public ApiResponse listNodeWithHttpInfo(String pretty, String fieldS * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNodeAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPersistentVolumeAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16542,16 +18157,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNodeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listPersistentVolumeValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listPersistentVolume - * @param pretty If 'true', then the output is pretty printed. (optional) + * Build call for listPersistentVolumeClaimForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16560,20 +18178,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPersistentVolumeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes"; + String localVarPath = "/api/v1/persistentvolumeclaims"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -16614,10 +18238,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPersistentVolumeValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPersistentVolumeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16628,45 +18252,54 @@ private com.squareup.okhttp.Call listPersistentVolumeValidateBeforeCall(String p /** * - * list or watch objects of kind PersistentVolume - * @param pretty If 'true', then the output is pretty printed. (optional) + * list or watch objects of kind PersistentVolumeClaim + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PersistentVolumeList + * @return V1PersistentVolumeClaimList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeList listPersistentVolume(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPersistentVolumeWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1PersistentVolumeClaimList listPersistentVolumeClaimForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPersistentVolumeClaimForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind PersistentVolume - * @param pretty If 'true', then the output is pretty printed. (optional) + * list or watch objects of kind PersistentVolumeClaim + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PersistentVolumeList> + * @return ApiResponse<V1PersistentVolumeClaimList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPersistentVolumeWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPersistentVolumeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listPersistentVolumeClaimForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind PersistentVolume - * @param pretty If 'true', then the output is pretty printed. (optional) + * list or watch objects of kind PersistentVolumeClaim + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -16674,7 +18307,7 @@ public ApiResponse listPersistentVolumeWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPersistentVolumeAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16695,15 +18328,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPersistentVolumeValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listPersistentVolumeClaimForAllNamespaces + * Build call for listPodForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -16713,18 +18349,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPodForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/persistentvolumeclaims"; + String localVarPath = "/api/v1/pods"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -16767,10 +18409,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPodForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16781,44 +18423,53 @@ private com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesValida /** * - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PersistentVolumeClaimList + * @return V1PodList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaimList listPersistentVolumeClaimForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPersistentVolumeClaimForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1PodList listPodForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPodForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PersistentVolumeClaimList> + * @return ApiResponse<V1PodList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPersistentVolumeClaimForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listPodForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPodForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind PersistentVolumeClaim + * list or watch objects of kind Pod + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -16827,7 +18478,7 @@ public ApiResponse listPersistentVolumeClaimForAllN * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPersistentVolumeClaimForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPodForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16848,15 +18499,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPersistentVolumeClaimForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listPodForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listPodForAllNamespaces + * Build call for listPodTemplateForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -16866,18 +18520,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPodForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPodTemplateForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/pods"; + String localVarPath = "/api/v1/podtemplates"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -16920,10 +18580,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPodForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPodTemplateForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPodForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -16934,44 +18594,53 @@ private com.squareup.okhttp.Call listPodForAllNamespacesValidateBeforeCall(Strin /** * - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PodList + * @return V1PodTemplateList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodList listPodForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPodForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1PodTemplateList listPodTemplateForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPodTemplateForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PodList> + * @return ApiResponse<V1PodTemplateList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPodForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPodForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listPodTemplateForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Pod + * list or watch objects of kind PodTemplate + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -16980,7 +18649,7 @@ public ApiResponse listPodForAllNamespacesWithHttpInfo(String fieldSe * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPodForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPodTemplateForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17001,15 +18670,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPodForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listPodTemplateForAllNamespaces + * Build call for listReplicationControllerForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17019,18 +18691,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPodTemplateForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listReplicationControllerForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/podtemplates"; + String localVarPath = "/api/v1/replicationcontrollers"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -17073,10 +18751,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPodTemplateForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listReplicationControllerForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -17087,44 +18765,53 @@ private com.squareup.okhttp.Call listPodTemplateForAllNamespacesValidateBeforeCa /** * - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1PodTemplateList + * @return V1ReplicationControllerList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodTemplateList listPodTemplateForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPodTemplateForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1ReplicationControllerList listReplicationControllerForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listReplicationControllerForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1PodTemplateList> + * @return ApiResponse<V1ReplicationControllerList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPodTemplateForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listReplicationControllerForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind PodTemplate + * list or watch objects of kind ReplicationController + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17133,7 +18820,7 @@ public ApiResponse listPodTemplateForAllNamespacesWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPodTemplateForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listReplicationControllerForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17154,15 +18841,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPodTemplateForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listReplicationControllerForAllNamespaces + * Build call for listResourceQuotaForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17172,18 +18862,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listReplicationControllerForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listResourceQuotaForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/replicationcontrollers"; + String localVarPath = "/api/v1/resourcequotas"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -17226,10 +18922,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listReplicationControllerForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listResourceQuotaForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -17240,44 +18936,53 @@ private com.squareup.okhttp.Call listReplicationControllerForAllNamespacesValida /** * - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ReplicationControllerList + * @return V1ResourceQuotaList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ReplicationControllerList listReplicationControllerForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listReplicationControllerForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1ResourceQuotaList listResourceQuotaForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listResourceQuotaForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ReplicationControllerList> + * @return ApiResponse<V1ResourceQuotaList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listReplicationControllerForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listResourceQuotaForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ReplicationController + * list or watch objects of kind ResourceQuota + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17286,7 +18991,7 @@ public ApiResponse listReplicationControllerForAllN * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listReplicationControllerForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listResourceQuotaForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17307,15 +19012,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listReplicationControllerForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listResourceQuotaForAllNamespaces + * Build call for listSecretForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17325,18 +19033,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listResourceQuotaForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listSecretForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/resourcequotas"; + String localVarPath = "/api/v1/secrets"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -17379,10 +19093,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listResourceQuotaForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listSecretForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listSecretForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -17393,44 +19107,53 @@ private com.squareup.okhttp.Call listResourceQuotaForAllNamespacesValidateBefore /** * - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ResourceQuotaList + * @return V1SecretList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ResourceQuotaList listResourceQuotaForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listResourceQuotaForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1SecretList listSecretForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listSecretForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ResourceQuotaList> + * @return ApiResponse<V1SecretList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listResourceQuotaForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listSecretForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listSecretForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ResourceQuota + * list or watch objects of kind Secret + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17439,7 +19162,7 @@ public ApiResponse listResourceQuotaForAllNamespacesWithHtt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listResourceQuotaForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listSecretForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17460,15 +19183,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listResourceQuotaForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listSecretForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listSecretForAllNamespaces + * Build call for listServiceAccountForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17478,18 +19204,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listSecretForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listServiceAccountForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/secrets"; + String localVarPath = "/api/v1/serviceaccounts"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -17532,10 +19264,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listSecretForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listServiceAccountForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listSecretForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -17546,44 +19278,53 @@ private com.squareup.okhttp.Call listSecretForAllNamespacesValidateBeforeCall(St /** * - * list or watch objects of kind Secret + * list or watch objects of kind ServiceAccount + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1SecretList + * @return V1ServiceAccountList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1SecretList listSecretForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listSecretForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1ServiceAccountList listServiceAccountForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listServiceAccountForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind Secret + * list or watch objects of kind ServiceAccount + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1SecretList> + * @return ApiResponse<V1ServiceAccountList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listSecretForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listSecretForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listServiceAccountForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Secret + * list or watch objects of kind ServiceAccount + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17592,7 +19333,7 @@ public ApiResponse listSecretForAllNamespacesWithHttpInfo(String f * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listSecretForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listServiceAccountForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17613,15 +19354,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listSecretForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listServiceAccountForAllNamespaces + * Build call for listServiceForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17631,18 +19375,24 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listServiceAccountForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listServiceForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/serviceaccounts"; + String localVarPath = "/api/v1/services"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -17685,10 +19435,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listServiceAccountForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listServiceForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listServiceForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -17699,44 +19449,53 @@ private com.squareup.okhttp.Call listServiceAccountForAllNamespacesValidateBefor /** * - * list or watch objects of kind ServiceAccount + * list or watch objects of kind Service + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ServiceAccountList + * @return V1ServiceList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ServiceAccountList listServiceAccountForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listServiceAccountForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1ServiceList listServiceForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listServiceForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * - * list or watch objects of kind ServiceAccount + * list or watch objects of kind Service + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ServiceAccountList> + * @return ApiResponse<V1ServiceList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listServiceAccountForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse listServiceForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listServiceForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ServiceAccount + * list or watch objects of kind Service + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -17745,7 +19504,7 @@ public ApiResponse listServiceAccountForAllNamespacesWithH * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listServiceAccountForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listServiceForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17766,57 +19525,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listServiceAccountForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = listServiceForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listServiceForAllNamespaces - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * Build call for patchNamespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listServiceForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespaceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/services"; + String localVarPath = "/api/v1/namespaces/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -17834,14 +19581,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listServiceForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespaceValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespace(Async)"); + } + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespace(Async)"); + } - com.squareup.okhttp.Call call = listServiceForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + + com.squareup.okhttp.Call call = patchNamespaceCall(name, body, pretty, progressListener, progressRequestListener); return call; @@ -17852,53 +19609,44 @@ private com.squareup.okhttp.Call listServiceForAllNamespacesValidateBeforeCall(S /** * - * list or watch objects of kind Service - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1ServiceList + * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ServiceList listServiceForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listServiceForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1Namespace patchNamespace(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespaceWithHttpInfo(name, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind Service - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1ServiceList> + * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listServiceForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listServiceForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespaceWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespaceValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind Service - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * partially update the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listServiceForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespaceAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17919,13 +19667,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listServiceForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespaceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespace + * Build call for patchNamespaceStatus * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -17934,11 +19682,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespaceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespaceStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}" + String localVarPath = "/api/v1/namespaces/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -17979,20 +19727,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespaceValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespaceStatusValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespace(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespaceStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespace(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespaceStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespaceCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespaceStatusCall(name, body, pretty, progressListener, progressRequestListener); return call; @@ -18003,36 +19751,36 @@ private com.squareup.okhttp.Call patchNamespaceValidateBeforeCall(String name, O /** * - * partially update the specified Namespace + * partially update status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace patchNamespace(String name, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespaceWithHttpInfo(name, body, pretty); + public V1Namespace patchNamespaceStatus(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespaceStatusWithHttpInfo(name, body, pretty); return resp.getData(); } /** * - * partially update the specified Namespace + * partially update status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespaceWithHttpInfo(String name, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespaceValidateBeforeCall(name, body, pretty, null, null); + public ApiResponse patchNamespaceStatusWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespaceStatusValidateBeforeCall(name, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified Namespace + * partially update status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18040,7 +19788,7 @@ public ApiResponse patchNamespaceWithHttpInfo(String name, Object b * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespaceAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespaceStatusAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18061,14 +19809,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespaceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespaceStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespaceStatus - * @param name name of the Namespace (required) + * Build call for patchNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -18076,12 +19825,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespaceStatusCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedConfigMapCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -18121,20 +19871,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespaceStatusValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedConfigMapValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespaceStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedConfigMap(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedConfigMap(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespaceStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedConfigMap(Async)"); } - com.squareup.okhttp.Call call = patchNamespaceStatusCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedConfigMapCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18145,44 +19900,47 @@ private com.squareup.okhttp.Call patchNamespaceStatusValidateBeforeCall(String n /** * - * partially update status of the specified Namespace - * @param name name of the Namespace (required) + * partially update the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Namespace + * @return V1ConfigMap * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace patchNamespaceStatus(String name, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespaceStatusWithHttpInfo(name, body, pretty); + public V1ConfigMap patchNamespacedConfigMap(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedConfigMapWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update status of the specified Namespace - * @param name name of the Namespace (required) + * partially update the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Namespace> + * @return ApiResponse<V1ConfigMap> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespaceStatusWithHttpInfo(String name, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespaceStatusValidateBeforeCall(name, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedConfigMapWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified Namespace - * @param name name of the Namespace (required) + * partially update the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespaceStatusAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedConfigMapAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18203,14 +19961,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespaceStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedConfigMap - * @param name name of the ConfigMap (required) + * Build call for patchNamespacedEndpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18219,11 +19977,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedConfigMapCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedEndpointsCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -18265,25 +20023,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedConfigMapValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedEndpointsValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedEndpoints(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedEndpoints(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedEndpoints(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedConfigMapCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedEndpointsCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18294,39 +20052,39 @@ private com.squareup.okhttp.Call patchNamespacedConfigMapValidateBeforeCall(Stri /** * - * partially update the specified ConfigMap - * @param name name of the ConfigMap (required) + * partially update the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1ConfigMap + * @return V1Endpoints * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ConfigMap patchNamespacedConfigMap(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedConfigMapWithHttpInfo(name, namespace, body, pretty); + public V1Endpoints patchNamespacedEndpoints(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedEndpointsWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified ConfigMap - * @param name name of the ConfigMap (required) + * partially update the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1ConfigMap> + * @return ApiResponse<V1Endpoints> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedConfigMapWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedEndpointsWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified ConfigMap - * @param name name of the ConfigMap (required) + * partially update the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18334,7 +20092,7 @@ public ApiResponse patchNamespacedConfigMapWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedConfigMapAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedEndpointsAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18355,14 +20113,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedEndpoints - * @param name name of the Endpoints (required) + * Build call for patchNamespacedEvent + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18371,11 +20129,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedEndpointsCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedEventCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -18417,25 +20175,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedEndpointsValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedEventValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedEvent(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedEvent(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedEvent(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedEndpointsCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedEventCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18446,39 +20204,39 @@ private com.squareup.okhttp.Call patchNamespacedEndpointsValidateBeforeCall(Stri /** * - * partially update the specified Endpoints - * @param name name of the Endpoints (required) + * partially update the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Endpoints + * @return V1Event * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Endpoints patchNamespacedEndpoints(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedEndpointsWithHttpInfo(name, namespace, body, pretty); + public V1Event patchNamespacedEvent(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedEventWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified Endpoints - * @param name name of the Endpoints (required) + * partially update the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Endpoints> + * @return ApiResponse<V1Event> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedEndpointsWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedEventWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedEventValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified Endpoints - * @param name name of the Endpoints (required) + * partially update the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18486,7 +20244,7 @@ public ApiResponse patchNamespacedEndpointsWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedEndpointsAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedEventAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18507,14 +20265,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedEventValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedEvent - * @param name name of the Event (required) + * Build call for patchNamespacedLimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18523,11 +20281,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedEventCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedLimitRangeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -18569,25 +20327,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedEventValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedLimitRangeValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedLimitRange(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedLimitRange(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedLimitRange(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedEventCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedLimitRangeCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18598,39 +20356,39 @@ private com.squareup.okhttp.Call patchNamespacedEventValidateBeforeCall(String n /** * - * partially update the specified Event - * @param name name of the Event (required) + * partially update the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Event + * @return V1LimitRange * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Event patchNamespacedEvent(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedEventWithHttpInfo(name, namespace, body, pretty); + public V1LimitRange patchNamespacedLimitRange(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedLimitRangeWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified Event - * @param name name of the Event (required) + * partially update the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Event> + * @return ApiResponse<V1LimitRange> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedEventWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedEventValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedLimitRangeWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified Event - * @param name name of the Event (required) + * partially update the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18638,7 +20396,7 @@ public ApiResponse patchNamespacedEventWithHttpInfo(String name, String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedEventAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedLimitRangeAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18659,14 +20417,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedEventValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedLimitRange - * @param name name of the LimitRange (required) + * Build call for patchNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18675,11 +20433,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedLimitRangeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -18721,25 +20479,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedLimitRangeValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaim(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaim(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaim(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedLimitRangeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18750,39 +20508,39 @@ private com.squareup.okhttp.Call patchNamespacedLimitRangeValidateBeforeCall(Str /** * - * partially update the specified LimitRange - * @param name name of the LimitRange (required) + * partially update the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1LimitRange + * @return V1PersistentVolumeClaim * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1LimitRange patchNamespacedLimitRange(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedLimitRangeWithHttpInfo(name, namespace, body, pretty); + public V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaim(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified LimitRange - * @param name name of the LimitRange (required) + * partially update the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1LimitRange> + * @return ApiResponse<V1PersistentVolumeClaim> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedLimitRangeWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedPersistentVolumeClaimWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified LimitRange - * @param name name of the LimitRange (required) + * partially update the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18790,7 +20548,7 @@ public ApiResponse patchNamespacedLimitRangeWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedLimitRangeAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18811,13 +20569,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedPersistentVolumeClaim + * Build call for patchNamespacedPersistentVolumeClaimStatus * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -18827,11 +20585,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -18873,25 +20631,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -18902,7 +20660,7 @@ private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimValidateBef /** * - * partially update the specified PersistentVolumeClaim + * partially update status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -18910,14 +20668,14 @@ private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimValidateBef * @return V1PersistentVolumeClaim * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaim(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, body, pretty); + public V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaimStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedPersistentVolumeClaimStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified PersistentVolumeClaim + * partially update status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -18925,15 +20683,15 @@ public V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaim(String name, * @return ApiResponse<V1PersistentVolumeClaim> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedPersistentVolumeClaimWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse patchNamespacedPersistentVolumeClaimStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified PersistentVolumeClaim + * partially update status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -18942,7 +20700,7 @@ public ApiResponse patchNamespacedPersistentVolumeClaim * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18963,14 +20721,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedPersistentVolumeClaimStatus - * @param name name of the PersistentVolumeClaim (required) + * Build call for patchNamespacedPod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -18979,11 +20737,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -19025,25 +20783,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedPodValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPod(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPod(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPod(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPodCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -19054,39 +20812,39 @@ private com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusValid /** * - * partially update status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * partially update the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PersistentVolumeClaim + * @return V1Pod * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaim patchNamespacedPersistentVolumeClaimStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedPersistentVolumeClaimStatusWithHttpInfo(name, namespace, body, pretty); + public V1Pod patchNamespacedPod(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedPodWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * partially update the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PersistentVolumeClaim> + * @return ApiResponse<V1Pod> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedPersistentVolumeClaimStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedPodWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedPodValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * partially update the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19094,7 +20852,7 @@ public ApiResponse patchNamespacedPersistentVolumeClaim * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedPersistentVolumeClaimStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19115,13 +20873,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedPodValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedPod + * Build call for patchNamespacedPodStatus * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -19131,11 +20889,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -19177,25 +20935,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedPodValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedPodStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedPodCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPodStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -19206,7 +20964,7 @@ private com.squareup.okhttp.Call patchNamespacedPodValidateBeforeCall(String nam /** * - * partially update the specified Pod + * partially update status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -19214,14 +20972,14 @@ private com.squareup.okhttp.Call patchNamespacedPodValidateBeforeCall(String nam * @return V1Pod * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Pod patchNamespacedPod(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedPodWithHttpInfo(name, namespace, body, pretty); + public V1Pod patchNamespacedPodStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedPodStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified Pod + * partially update status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -19229,15 +20987,15 @@ public V1Pod patchNamespacedPod(String name, String namespace, Object body, Stri * @return ApiResponse<V1Pod> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedPodWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedPodValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse patchNamespacedPodStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified Pod + * partially update status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -19246,7 +21004,7 @@ public ApiResponse patchNamespacedPodWithHttpInfo(String name, String nam * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19267,14 +21025,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedPodValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedPodStatus - * @param name name of the Pod (required) + * Build call for patchNamespacedPodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19283,11 +21041,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodTemplateCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -19329,25 +21087,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedPodStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedPodTemplateValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodTemplate(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodTemplate(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodTemplate(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedPodStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedPodTemplateCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -19358,39 +21116,39 @@ private com.squareup.okhttp.Call patchNamespacedPodStatusValidateBeforeCall(Stri /** * - * partially update status of the specified Pod - * @param name name of the Pod (required) + * partially update the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Pod + * @return V1PodTemplate * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Pod patchNamespacedPodStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedPodStatusWithHttpInfo(name, namespace, body, pretty); + public V1PodTemplate patchNamespacedPodTemplate(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedPodTemplateWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update status of the specified Pod - * @param name name of the Pod (required) + * partially update the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Pod> + * @return ApiResponse<V1PodTemplate> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedPodStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedPodTemplateWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified Pod - * @param name name of the Pod (required) + * partially update the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19398,7 +21156,7 @@ public ApiResponse patchNamespacedPodStatusWithHttpInfo(String name, Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedPodTemplateAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19419,14 +21177,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedPodTemplate - * @param name name of the PodTemplate (required) + * Build call for patchNamespacedReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19435,11 +21193,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodTemplateCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -19481,25 +21239,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedPodTemplateValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedReplicationControllerValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicationController(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicationController(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicationController(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedPodTemplateCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -19510,39 +21268,39 @@ private com.squareup.okhttp.Call patchNamespacedPodTemplateValidateBeforeCall(St /** * - * partially update the specified PodTemplate - * @param name name of the PodTemplate (required) + * partially update the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PodTemplate + * @return V1ReplicationController * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodTemplate patchNamespacedPodTemplate(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedPodTemplateWithHttpInfo(name, namespace, body, pretty); + public V1ReplicationController patchNamespacedReplicationController(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicationControllerWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified PodTemplate - * @param name name of the PodTemplate (required) + * partially update the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PodTemplate> + * @return ApiResponse<V1ReplicationController> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedPodTemplateWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedReplicationControllerWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified PodTemplate - * @param name name of the PodTemplate (required) + * partially update the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19550,7 +21308,7 @@ public ApiResponse patchNamespacedPodTemplateWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedPodTemplateAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19571,14 +21329,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedReplicationController - * @param name name of the ReplicationController (required) + * Build call for patchNamespacedReplicationControllerScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19587,11 +21345,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicationControllerCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -19633,25 +21391,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedReplicationControllerValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedReplicationControllerScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicationControllerScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicationControllerScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicationControllerScale(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedReplicationControllerCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -19662,39 +21420,39 @@ private com.squareup.okhttp.Call patchNamespacedReplicationControllerValidateBef /** * - * partially update the specified ReplicationController - * @param name name of the ReplicationController (required) + * partially update scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1ReplicationController + * @return V1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ReplicationController patchNamespacedReplicationController(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedReplicationControllerWithHttpInfo(name, namespace, body, pretty); + public V1Scale patchNamespacedReplicationControllerScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicationControllerScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified ReplicationController - * @param name name of the ReplicationController (required) + * partially update scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1ReplicationController> + * @return ApiResponse<V1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedReplicationControllerWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedReplicationControllerScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified ReplicationController - * @param name name of the ReplicationController (required) + * partially update scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -19702,7 +21460,7 @@ public ApiResponse patchNamespacedReplicationController * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicationControllerAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19723,8 +21481,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -20184,158 +21942,6 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for patchNamespacedScaleScale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call patchNamespacedScaleScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedScaleScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedScaleScale(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedScaleScale(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedScaleScale(Async)"); - } - - - com.squareup.okhttp.Call call = patchNamespacedScaleScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * partially update scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Scale - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Scale patchNamespacedScaleScale(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedScaleScaleWithHttpInfo(name, namespace, body, pretty); - return resp.getData(); - } - - /** - * - * partially update scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Scale> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse patchNamespacedScaleScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * partially update scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call patchNamespacedScaleScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = patchNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for patchNamespacedSecret * @param name name of the Secret (required) @@ -29459,8 +31065,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for readNamespacedReplicationControllerStatus - * @param name name of the ReplicationController (required) + * Build call for readNamespacedReplicationControllerScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -29468,11 +31074,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicationControllerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -29514,20 +31120,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedReplicationControllerStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedReplicationControllerScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicationControllerStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicationControllerScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicationControllerStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicationControllerScale(Async)"); } - com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -29538,44 +31144,44 @@ private com.squareup.okhttp.Call readNamespacedReplicationControllerStatusValida /** * - * read status of the specified ReplicationController - * @param name name of the ReplicationController (required) + * read scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1ReplicationController + * @return V1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ReplicationController readNamespacedReplicationControllerStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedReplicationControllerStatusWithHttpInfo(name, namespace, pretty); + public V1Scale readNamespacedReplicationControllerScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicationControllerScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read status of the specified ReplicationController - * @param name name of the ReplicationController (required) + * read scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1ReplicationController> + * @return ApiResponse<V1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedReplicationControllerStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedReplicationControllerScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified ReplicationController - * @param name name of the ReplicationController (required) + * read scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicationControllerStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29596,28 +31202,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedResourceQuota - * @param name name of the ResourceQuota (required) + * Build call for readNamespacedReplicationControllerStatus + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedResourceQuotaCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -29625,10 +31229,6 @@ public com.squareup.okhttp.Call readNamespacedResourceQuotaCall(String name, Str List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (exact != null) - localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); - if (export != null) - localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -29663,20 +31263,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedResourceQuotaValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedReplicationControllerStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceQuota(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicationControllerStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceQuota(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicationControllerStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedResourceQuotaCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -29687,50 +31287,44 @@ private com.squareup.okhttp.Call readNamespacedResourceQuotaValidateBeforeCall(S /** * - * read the specified ResourceQuota - * @param name name of the ResourceQuota (required) + * read status of the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return V1ResourceQuota + * @return V1ReplicationController * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ResourceQuota readNamespacedResourceQuota(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, exact, export); + public V1ReplicationController readNamespacedReplicationControllerStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicationControllerStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read the specified ResourceQuota - * @param name name of the ResourceQuota (required) + * read status of the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<V1ResourceQuota> + * @return ApiResponse<V1ReplicationController> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedResourceQuotaWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedResourceQuotaValidateBeforeCall(name, namespace, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedReplicationControllerStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified ResourceQuota - * @param name name of the ResourceQuota (required) + * read status of the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedResourceQuotaAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29751,26 +31345,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedResourceQuotaValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedResourceQuotaStatus + * Build call for readNamespacedResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedResourceQuotaCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -29778,6 +31374,10 @@ public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusCall(String nam List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); Map localVarHeaderParams = new HashMap(); @@ -29812,20 +31412,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedResourceQuotaStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedResourceQuotaValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceQuotaStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceQuota(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceQuotaStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceQuota(Async)"); } - com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedResourceQuotaCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); return call; @@ -29836,44 +31436,50 @@ private com.squareup.okhttp.Call readNamespacedResourceQuotaStatusValidateBefore /** * - * read status of the specified ResourceQuota + * read the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return V1ResourceQuota * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ResourceQuota readNamespacedResourceQuotaStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedResourceQuotaStatusWithHttpInfo(name, namespace, pretty); + public V1ResourceQuota readNamespacedResourceQuota(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); } /** * - * read status of the specified ResourceQuota + * read the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return ApiResponse<V1ResourceQuota> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedResourceQuotaStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusValidateBeforeCall(name, namespace, pretty, null, null); + public ApiResponse readNamespacedResourceQuotaWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedResourceQuotaValidateBeforeCall(name, namespace, pretty, exact, export, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified ResourceQuota + * read the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedResourceQuotaAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29894,14 +31500,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedResourceQuotaValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedScaleScale - * @param name name of the Scale (required) + * Build call for readNamespacedResourceQuotaStatus + * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -29909,11 +31515,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedScaleScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" + String localVarPath = "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -29955,20 +31561,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedScaleScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedResourceQuotaStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedResourceQuotaStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedScaleScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedResourceQuotaStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedScaleScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -29979,44 +31585,44 @@ private com.squareup.okhttp.Call readNamespacedScaleScaleValidateBeforeCall(Stri /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ResourceQuota + * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Scale + * @return V1ResourceQuota * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Scale readNamespacedScaleScale(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedScaleScaleWithHttpInfo(name, namespace, pretty); + public V1ResourceQuota readNamespacedResourceQuotaStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedResourceQuotaStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ResourceQuota + * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Scale> + * @return ApiResponse<V1ResourceQuota> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedScaleScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedScaleScaleValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedResourceQuotaStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ResourceQuota + * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedScaleScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedResourceQuotaStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30037,8 +31643,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedScaleScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedResourceQuotaStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -30988,15 +32594,154 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readPersistentVolumeValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readPersistentVolumeValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readPersistentVolume(Async)"); + } + + + com.squareup.okhttp.Call call = readPersistentVolumeCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified PersistentVolume + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1PersistentVolume + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1PersistentVolume readPersistentVolume(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readPersistentVolumeWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified PersistentVolume + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1PersistentVolume> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readPersistentVolumeWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readPersistentVolumeValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified PersistentVolume + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readPersistentVolumeAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readPersistentVolumeValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readPersistentVolumeStatus + * @param name name of the PersistentVolume (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readPersistentVolumeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/api/v1/persistentvolumes/{name}/status" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readPersistentVolumeStatusValidateBeforeCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readPersistentVolume(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readPersistentVolumeStatus(Async)"); } - com.squareup.okhttp.Call call = readPersistentVolumeCall(name, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readPersistentVolumeStatusCall(name, pretty, progressListener, progressRequestListener); return call; @@ -31007,47 +32752,41 @@ private com.squareup.okhttp.Call readPersistentVolumeValidateBeforeCall(String n /** * - * read the specified PersistentVolume + * read status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return V1PersistentVolume * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolume readPersistentVolume(String name, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readPersistentVolumeWithHttpInfo(name, pretty, exact, export); + public V1PersistentVolume readPersistentVolumeStatus(String name, String pretty) throws ApiException { + ApiResponse resp = readPersistentVolumeStatusWithHttpInfo(name, pretty); return resp.getData(); } /** * - * read the specified PersistentVolume + * read status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return ApiResponse<V1PersistentVolume> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readPersistentVolumeWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readPersistentVolumeValidateBeforeCall(name, pretty, exact, export, null, null); + public ApiResponse readPersistentVolumeStatusWithHttpInfo(String name, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readPersistentVolumeStatusValidateBeforeCall(name, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read the specified PersistentVolume + * read status of the specified PersistentVolume * @param name name of the PersistentVolume (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readPersistentVolumeAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readPersistentVolumeStatusAsync(String name, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31068,25 +32807,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readPersistentVolumeValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readPersistentVolumeStatusValidateBeforeCall(name, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readPersistentVolumeStatus - * @param name name of the PersistentVolume (required) + * Build call for replaceNamespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readPersistentVolumeStatusCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call replaceNamespaceCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/persistentvolumes/{name}/status" + String localVarPath = "/api/v1/namespaces/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -31123,19 +32863,24 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readPersistentVolumeStatusValidateBeforeCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespaceValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readPersistentVolumeStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespace(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespace(Async)"); } - com.squareup.okhttp.Call call = readPersistentVolumeStatusCall(name, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespaceCall(name, body, pretty, progressListener, progressRequestListener); return call; @@ -31146,41 +32891,44 @@ private com.squareup.okhttp.Call readPersistentVolumeStatusValidateBeforeCall(St /** * - * read status of the specified PersistentVolume - * @param name name of the PersistentVolume (required) + * replace the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PersistentVolume + * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolume readPersistentVolumeStatus(String name, String pretty) throws ApiException { - ApiResponse resp = readPersistentVolumeStatusWithHttpInfo(name, pretty); + public V1Namespace replaceNamespace(String name, V1Namespace body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespaceWithHttpInfo(name, body, pretty); return resp.getData(); } /** * - * read status of the specified PersistentVolume - * @param name name of the PersistentVolume (required) + * replace the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PersistentVolume> + * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readPersistentVolumeStatusWithHttpInfo(String name, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readPersistentVolumeStatusValidateBeforeCall(name, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespaceWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespaceValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified PersistentVolume - * @param name name of the PersistentVolume (required) + * replace the specified Namespace + * @param name name of the Namespace (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readPersistentVolumeStatusAsync(String name, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespaceAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31201,13 +32949,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readPersistentVolumeStatusValidateBeforeCall(name, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespaceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespace + * Build call for replaceNamespaceFinalize * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31216,11 +32964,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespaceCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespaceFinalizeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}" + String localVarPath = "/api/v1/namespaces/{name}/finalize" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -31261,20 +33009,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespaceValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespaceFinalizeValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespace(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespaceFinalize(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespace(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespaceFinalize(Async)"); } - com.squareup.okhttp.Call call = replaceNamespaceCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespaceFinalizeCall(name, body, pretty, progressListener, progressRequestListener); return call; @@ -31285,36 +33033,36 @@ private com.squareup.okhttp.Call replaceNamespaceValidateBeforeCall(String name, /** * - * replace the specified Namespace + * replace finalize of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace replaceNamespace(String name, V1Namespace body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespaceWithHttpInfo(name, body, pretty); + public V1Namespace replaceNamespaceFinalize(String name, V1Namespace body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespaceFinalizeWithHttpInfo(name, body, pretty); return resp.getData(); } /** * - * replace the specified Namespace + * replace finalize of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespaceWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespaceValidateBeforeCall(name, body, pretty, null, null); + public ApiResponse replaceNamespaceFinalizeWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespaceFinalizeValidateBeforeCall(name, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified Namespace + * replace finalize of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31322,7 +33070,7 @@ public ApiResponse replaceNamespaceWithHttpInfo(String name, V1Name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespaceAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespaceFinalizeAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31343,13 +33091,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespaceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespaceFinalizeValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespaceFinalize + * Build call for replaceNamespaceStatus * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31358,11 +33106,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespaceFinalizeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespaceStatusCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/finalize" + String localVarPath = "/api/v1/namespaces/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -31403,20 +33151,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespaceFinalizeValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespaceStatusValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespaceFinalize(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespaceStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespaceFinalize(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespaceStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespaceFinalizeCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespaceStatusCall(name, body, pretty, progressListener, progressRequestListener); return call; @@ -31427,36 +33175,36 @@ private com.squareup.okhttp.Call replaceNamespaceFinalizeValidateBeforeCall(Stri /** * - * replace finalize of the specified Namespace + * replace status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return V1Namespace * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace replaceNamespaceFinalize(String name, V1Namespace body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespaceFinalizeWithHttpInfo(name, body, pretty); + public V1Namespace replaceNamespaceStatus(String name, V1Namespace body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespaceStatusWithHttpInfo(name, body, pretty); return resp.getData(); } /** * - * replace finalize of the specified Namespace + * replace status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<V1Namespace> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespaceFinalizeWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespaceFinalizeValidateBeforeCall(name, body, pretty, null, null); + public ApiResponse replaceNamespaceStatusWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespaceStatusValidateBeforeCall(name, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace finalize of the specified Namespace + * replace status of the specified Namespace * @param name name of the Namespace (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31464,7 +33212,7 @@ public ApiResponse replaceNamespaceFinalizeWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespaceFinalizeAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespaceStatusAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31485,14 +33233,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespaceFinalizeValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespaceStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespaceStatus - * @param name name of the Namespace (required) + * Build call for replaceNamespacedConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -31500,12 +33249,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespaceStatusCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedConfigMapCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -31545,20 +33295,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespaceStatusValidateBeforeCall(String name, V1Namespace body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedConfigMapValidateBeforeCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespaceStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedConfigMap(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedConfigMap(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespaceStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedConfigMap(Async)"); } - com.squareup.okhttp.Call call = replaceNamespaceStatusCall(name, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedConfigMapCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -31569,44 +33324,47 @@ private com.squareup.okhttp.Call replaceNamespaceStatusValidateBeforeCall(String /** * - * replace status of the specified Namespace - * @param name name of the Namespace (required) + * replace the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Namespace + * @return V1ConfigMap * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Namespace replaceNamespaceStatus(String name, V1Namespace body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespaceStatusWithHttpInfo(name, body, pretty); + public V1ConfigMap replaceNamespacedConfigMap(String name, String namespace, V1ConfigMap body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedConfigMapWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified Namespace - * @param name name of the Namespace (required) + * replace the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Namespace> + * @return ApiResponse<V1ConfigMap> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespaceStatusWithHttpInfo(String name, V1Namespace body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespaceStatusValidateBeforeCall(name, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedConfigMapWithHttpInfo(String name, String namespace, V1ConfigMap body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified Namespace - * @param name name of the Namespace (required) + * replace the specified ConfigMap + * @param name name of the ConfigMap (required) + * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespaceStatusAsync(String name, V1Namespace body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedConfigMapAsync(String name, String namespace, V1ConfigMap body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31627,14 +33385,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespaceStatusValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedConfigMap - * @param name name of the ConfigMap (required) + * Build call for replaceNamespacedEndpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31643,11 +33401,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedConfigMapCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedEndpointsCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/configmaps/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -31689,25 +33447,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedConfigMapValidateBeforeCall(String name, String namespace, V1ConfigMap body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedEndpointsValidateBeforeCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedEndpoints(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedEndpoints(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedConfigMap(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedEndpoints(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedConfigMapCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedEndpointsCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -31718,39 +33476,39 @@ private com.squareup.okhttp.Call replaceNamespacedConfigMapValidateBeforeCall(St /** * - * replace the specified ConfigMap - * @param name name of the ConfigMap (required) + * replace the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1ConfigMap + * @return V1Endpoints * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ConfigMap replaceNamespacedConfigMap(String name, String namespace, V1ConfigMap body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedConfigMapWithHttpInfo(name, namespace, body, pretty); + public V1Endpoints replaceNamespacedEndpoints(String name, String namespace, V1Endpoints body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedEndpointsWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified ConfigMap - * @param name name of the ConfigMap (required) + * replace the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1ConfigMap> + * @return ApiResponse<V1Endpoints> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedConfigMapWithHttpInfo(String name, String namespace, V1ConfigMap body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedEndpointsWithHttpInfo(String name, String namespace, V1Endpoints body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified ConfigMap - * @param name name of the ConfigMap (required) + * replace the specified Endpoints + * @param name name of the Endpoints (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31758,7 +33516,7 @@ public ApiResponse replaceNamespacedConfigMapWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedConfigMapAsync(String name, String namespace, V1ConfigMap body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedEndpointsAsync(String name, String namespace, V1Endpoints body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31779,14 +33537,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedConfigMapValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedEndpoints - * @param name name of the Endpoints (required) + * Build call for replaceNamespacedEvent + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31795,11 +33553,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedEndpointsCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedEventCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/endpoints/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -31841,25 +33599,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedEndpointsValidateBeforeCall(String name, String namespace, V1Endpoints body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedEventValidateBeforeCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedEvent(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedEvent(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedEndpoints(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedEvent(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedEndpointsCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedEventCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -31870,39 +33628,39 @@ private com.squareup.okhttp.Call replaceNamespacedEndpointsValidateBeforeCall(St /** * - * replace the specified Endpoints - * @param name name of the Endpoints (required) + * replace the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Endpoints + * @return V1Event * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Endpoints replaceNamespacedEndpoints(String name, String namespace, V1Endpoints body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedEndpointsWithHttpInfo(name, namespace, body, pretty); + public V1Event replaceNamespacedEvent(String name, String namespace, V1Event body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedEventWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified Endpoints - * @param name name of the Endpoints (required) + * replace the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Endpoints> + * @return ApiResponse<V1Event> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedEndpointsWithHttpInfo(String name, String namespace, V1Endpoints body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedEventWithHttpInfo(String name, String namespace, V1Event body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedEventValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified Endpoints - * @param name name of the Endpoints (required) + * replace the specified Event + * @param name name of the Event (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31910,7 +33668,7 @@ public ApiResponse replaceNamespacedEndpointsWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedEndpointsAsync(String name, String namespace, V1Endpoints body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedEventAsync(String name, String namespace, V1Event body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31931,14 +33689,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedEndpointsValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedEventValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedEvent - * @param name name of the Event (required) + * Build call for replaceNamespacedLimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -31947,11 +33705,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedEventCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedLimitRangeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/events/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -31993,25 +33751,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedEventValidateBeforeCall(String name, String namespace, V1Event body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedLimitRangeValidateBeforeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedLimitRange(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedLimitRange(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedEvent(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedLimitRange(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedEventCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedLimitRangeCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32022,39 +33780,39 @@ private com.squareup.okhttp.Call replaceNamespacedEventValidateBeforeCall(String /** * - * replace the specified Event - * @param name name of the Event (required) + * replace the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Event + * @return V1LimitRange * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Event replaceNamespacedEvent(String name, String namespace, V1Event body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedEventWithHttpInfo(name, namespace, body, pretty); + public V1LimitRange replaceNamespacedLimitRange(String name, String namespace, V1LimitRange body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedLimitRangeWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified Event - * @param name name of the Event (required) + * replace the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Event> + * @return ApiResponse<V1LimitRange> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedEventWithHttpInfo(String name, String namespace, V1Event body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedEventValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedLimitRangeWithHttpInfo(String name, String namespace, V1LimitRange body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified Event - * @param name name of the Event (required) + * replace the specified LimitRange + * @param name name of the LimitRange (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32062,7 +33820,7 @@ public ApiResponse replaceNamespacedEventWithHttpInfo(String name, Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedEventAsync(String name, String namespace, V1Event body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedLimitRangeAsync(String name, String namespace, V1LimitRange body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32083,14 +33841,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedEventValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedLimitRange - * @param name name of the LimitRange (required) + * Build call for replaceNamespacedPersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32099,11 +33857,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedLimitRangeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/limitranges/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32145,25 +33903,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedLimitRangeValidateBeforeCall(String name, String namespace, V1LimitRange body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimValidateBeforeCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaim(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaim(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedLimitRange(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaim(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedLimitRangeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32174,39 +33932,39 @@ private com.squareup.okhttp.Call replaceNamespacedLimitRangeValidateBeforeCall(S /** * - * replace the specified LimitRange - * @param name name of the LimitRange (required) + * replace the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1LimitRange + * @return V1PersistentVolumeClaim * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1LimitRange replaceNamespacedLimitRange(String name, String namespace, V1LimitRange body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedLimitRangeWithHttpInfo(name, namespace, body, pretty); + public V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaim(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified LimitRange - * @param name name of the LimitRange (required) + * replace the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1LimitRange> + * @return ApiResponse<V1PersistentVolumeClaim> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedLimitRangeWithHttpInfo(String name, String namespace, V1LimitRange body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedPersistentVolumeClaimWithHttpInfo(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified LimitRange - * @param name name of the LimitRange (required) + * replace the specified PersistentVolumeClaim + * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32214,7 +33972,7 @@ public ApiResponse replaceNamespacedLimitRangeWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedLimitRangeAsync(String name, String namespace, V1LimitRange body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimAsync(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32235,13 +33993,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedLimitRangeValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedPersistentVolumeClaim + * Build call for replaceNamespacedPersistentVolumeClaimStatus * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32251,11 +34009,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32297,25 +34055,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimValidateBeforeCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaim(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32326,7 +34084,7 @@ private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimValidateB /** * - * replace the specified PersistentVolumeClaim + * replace status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32334,14 +34092,14 @@ private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimValidateB * @return V1PersistentVolumeClaim * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaim(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, body, pretty); + public V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaimStatus(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedPersistentVolumeClaimStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified PersistentVolumeClaim + * replace status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32349,15 +34107,15 @@ public V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaim(String nam * @return ApiResponse<V1PersistentVolumeClaim> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedPersistentVolumeClaimWithHttpInfo(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse replaceNamespacedPersistentVolumeClaimStatusWithHttpInfo(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified PersistentVolumeClaim + * replace status of the specified PersistentVolumeClaim * @param name name of the PersistentVolumeClaim (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32366,7 +34124,7 @@ public ApiResponse replaceNamespacedPersistentVolumeCla * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimAsync(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusAsync(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32387,14 +34145,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedPersistentVolumeClaimStatus - * @param name name of the PersistentVolumeClaim (required) + * Build call for replaceNamespacedPod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32403,11 +34161,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32449,25 +34207,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedPodValidateBeforeCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPod(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPod(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPersistentVolumeClaimStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPod(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPodCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32478,39 +34236,39 @@ private com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusVal /** * - * replace status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * replace the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PersistentVolumeClaim + * @return V1Pod * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PersistentVolumeClaim replaceNamespacedPersistentVolumeClaimStatus(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedPersistentVolumeClaimStatusWithHttpInfo(name, namespace, body, pretty); + public V1Pod replaceNamespacedPod(String name, String namespace, V1Pod body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedPodWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * replace the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PersistentVolumeClaim> + * @return ApiResponse<V1Pod> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedPersistentVolumeClaimStatusWithHttpInfo(String name, String namespace, V1PersistentVolumeClaim body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedPodWithHttpInfo(String name, String namespace, V1Pod body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedPodValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified PersistentVolumeClaim - * @param name name of the PersistentVolumeClaim (required) + * replace the specified Pod + * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32518,7 +34276,7 @@ public ApiResponse replaceNamespacedPersistentVolumeCla * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPersistentVolumeClaimStatusAsync(String name, String namespace, V1PersistentVolumeClaim body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodAsync(String name, String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32539,13 +34297,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedPersistentVolumeClaimStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedPodValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedPod + * Build call for replaceNamespacedPodStatus * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32555,11 +34313,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodStatusCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32601,25 +34359,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedPodValidateBeforeCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedPodStatusValidateBeforeCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPod(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedPodCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPodStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32630,7 +34388,7 @@ private com.squareup.okhttp.Call replaceNamespacedPodValidateBeforeCall(String n /** * - * replace the specified Pod + * replace status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32638,14 +34396,14 @@ private com.squareup.okhttp.Call replaceNamespacedPodValidateBeforeCall(String n * @return V1Pod * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Pod replaceNamespacedPod(String name, String namespace, V1Pod body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedPodWithHttpInfo(name, namespace, body, pretty); + public V1Pod replaceNamespacedPodStatus(String name, String namespace, V1Pod body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedPodStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified Pod + * replace status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32653,15 +34411,15 @@ public V1Pod replaceNamespacedPod(String name, String namespace, V1Pod body, Str * @return ApiResponse<V1Pod> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedPodWithHttpInfo(String name, String namespace, V1Pod body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedPodValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse replaceNamespacedPodStatusWithHttpInfo(String name, String namespace, V1Pod body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified Pod + * replace status of the specified Pod * @param name name of the Pod (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -32670,7 +34428,7 @@ public ApiResponse replaceNamespacedPodWithHttpInfo(String name, String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodAsync(String name, String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodStatusAsync(String name, String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32691,14 +34449,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedPodValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedPodStatus - * @param name name of the Pod (required) + * Build call for replaceNamespacedPodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32707,11 +34465,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodStatusCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodTemplateCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/pods/{name}/status" + String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32753,25 +34511,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedPodStatusValidateBeforeCall(String name, String namespace, V1Pod body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedPodTemplateValidateBeforeCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodTemplate(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodTemplate(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodTemplate(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedPodStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedPodTemplateCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32782,39 +34540,39 @@ private com.squareup.okhttp.Call replaceNamespacedPodStatusValidateBeforeCall(St /** * - * replace status of the specified Pod - * @param name name of the Pod (required) + * replace the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Pod + * @return V1PodTemplate * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Pod replaceNamespacedPodStatus(String name, String namespace, V1Pod body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedPodStatusWithHttpInfo(name, namespace, body, pretty); + public V1PodTemplate replaceNamespacedPodTemplate(String name, String namespace, V1PodTemplate body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedPodTemplateWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified Pod - * @param name name of the Pod (required) + * replace the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Pod> + * @return ApiResponse<V1PodTemplate> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedPodStatusWithHttpInfo(String name, String namespace, V1Pod body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedPodTemplateWithHttpInfo(String name, String namespace, V1PodTemplate body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified Pod - * @param name name of the Pod (required) + * replace the specified PodTemplate + * @param name name of the PodTemplate (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32822,7 +34580,7 @@ public ApiResponse replaceNamespacedPodStatusWithHttpInfo(String name, St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodStatusAsync(String name, String namespace, V1Pod body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedPodTemplateAsync(String name, String namespace, V1PodTemplate body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32843,14 +34601,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedPodStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedPodTemplate - * @param name name of the PodTemplate (required) + * Build call for replaceNamespacedReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32859,11 +34617,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodTemplateCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/podtemplates/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -32905,25 +34663,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedPodTemplateValidateBeforeCall(String name, String namespace, V1PodTemplate body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedReplicationControllerValidateBeforeCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicationController(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationController(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedPodTemplate(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicationController(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedPodTemplateCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -32934,39 +34692,39 @@ private com.squareup.okhttp.Call replaceNamespacedPodTemplateValidateBeforeCall( /** * - * replace the specified PodTemplate - * @param name name of the PodTemplate (required) + * replace the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1PodTemplate + * @return V1ReplicationController * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1PodTemplate replaceNamespacedPodTemplate(String name, String namespace, V1PodTemplate body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedPodTemplateWithHttpInfo(name, namespace, body, pretty); + public V1ReplicationController replaceNamespacedReplicationController(String name, String namespace, V1ReplicationController body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicationControllerWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified PodTemplate - * @param name name of the PodTemplate (required) + * replace the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1PodTemplate> + * @return ApiResponse<V1ReplicationController> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedPodTemplateWithHttpInfo(String name, String namespace, V1PodTemplate body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedReplicationControllerWithHttpInfo(String name, String namespace, V1ReplicationController body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified PodTemplate - * @param name name of the PodTemplate (required) + * replace the specified ReplicationController + * @param name name of the ReplicationController (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -32974,7 +34732,7 @@ public ApiResponse replaceNamespacedPodTemplateWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedPodTemplateAsync(String name, String namespace, V1PodTemplate body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerAsync(String name, String namespace, V1ReplicationController body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32995,14 +34753,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedPodTemplateValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedReplicationController - * @param name name of the ReplicationController (required) + * Build call for replaceNamespacedReplicationControllerScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -33011,11 +34769,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicationControllerCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerScaleCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}" + String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -33057,25 +34815,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedReplicationControllerValidateBeforeCall(String name, String namespace, V1ReplicationController body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedReplicationControllerScaleValidateBeforeCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicationControllerScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationControllerScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicationController(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicationControllerScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -33086,39 +34844,39 @@ private com.squareup.okhttp.Call replaceNamespacedReplicationControllerValidateB /** * - * replace the specified ReplicationController - * @param name name of the ReplicationController (required) + * replace scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1ReplicationController + * @return V1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1ReplicationController replaceNamespacedReplicationController(String name, String namespace, V1ReplicationController body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedReplicationControllerWithHttpInfo(name, namespace, body, pretty); + public V1Scale replaceNamespacedReplicationControllerScale(String name, String namespace, V1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicationControllerScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace the specified ReplicationController - * @param name name of the ReplicationController (required) + * replace scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1ReplicationController> + * @return ApiResponse<V1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedReplicationControllerWithHttpInfo(String name, String namespace, V1ReplicationController body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedReplicationControllerScaleWithHttpInfo(String name, String namespace, V1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace the specified ReplicationController - * @param name name of the ReplicationController (required) + * replace scale of the specified ReplicationController + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -33126,7 +34884,7 @@ public ApiResponse replaceNamespacedReplicationControll * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicationControllerAsync(String name, String namespace, V1ReplicationController body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerScaleAsync(String name, String namespace, V1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33147,8 +34905,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -33608,158 +35366,6 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for replaceNamespacedScaleScale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call replaceNamespacedScaleScaleCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedScaleScaleValidateBeforeCall(String name, String namespace, V1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedScaleScale(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedScaleScale(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedScaleScale(Async)"); - } - - - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * replace scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1Scale - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Scale replaceNamespacedScaleScale(String name, String namespace, V1Scale body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedScaleScaleWithHttpInfo(name, namespace, body, pretty); - return resp.getData(); - } - - /** - * - * replace scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1Scale> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse replaceNamespacedScaleScaleWithHttpInfo(String name, String namespace, V1Scale body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * replace scale of the specified Scale - * @param name name of the Scale (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call replaceNamespacedScaleScaleAsync(String name, String namespace, V1Scale body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = replaceNamespacedScaleScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for replaceNamespacedSecret * @param name name of the Secret (required) diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/CustomObjectsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/CustomObjectsApi.java index 9e5cc38675..5ea19162f8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/CustomObjectsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/CustomObjectsApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java index 6d91071136..bfc7e85e02 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java index 2961d48dee..a0ae74cd6e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/ExtensionsV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -44,8 +44,6 @@ import io.kubernetes.client.models.V1beta1PodSecurityPolicyList; import io.kubernetes.client.models.V1beta1ReplicaSet; import io.kubernetes.client.models.V1beta1ReplicaSetList; -import io.kubernetes.client.models.V1beta1ThirdPartyResource; -import io.kubernetes.client.models.V1beta1ThirdPartyResourceList; import java.lang.reflect.Type; import java.util.ArrayList; @@ -357,7 +355,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for createNamespacedDeploymentRollbackRollback + * Build call for createNamespacedDeploymentRollback * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -367,7 +365,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -413,25 +411,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValidateBeforeCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createNamespacedDeploymentRollbackValidateBeforeCall(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling createNamespacedDeploymentRollback(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedDeploymentRollback(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDeploymentRollbackRollback(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedDeploymentRollback(Async)"); } - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -442,7 +440,7 @@ private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValid /** * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -450,14 +448,14 @@ private com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackValid * @return ExtensionsV1beta1DeploymentRollback * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRollback(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty) throws ApiException { - ApiResponse resp = createNamespacedDeploymentRollbackRollbackWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollback(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedDeploymentRollbackWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -465,15 +463,15 @@ public ExtensionsV1beta1DeploymentRollback createNamespacedDeploymentRollbackRol * @return ApiResponse<ExtensionsV1beta1DeploymentRollback> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse createNamespacedDeploymentRollbackRollbackWithHttpInfo(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse createNamespacedDeploymentRollbackWithHttpInfo(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * create rollback of a DeploymentRollback + * create rollback of a Deployment * @param name name of the DeploymentRollback (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -482,7 +480,7 @@ public ApiResponse createNamespacedDeployme * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call createNamespacedDeploymentRollbackRollbackAsync(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createNamespacedDeploymentRollbackAsync(String name, String namespace, ExtensionsV1beta1DeploymentRollback body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -503,7 +501,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackRollbackValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createNamespacedDeploymentRollbackValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1066,144 +1064,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for createThirdPartyResource - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call createThirdPartyResourceCall(V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call createThirdPartyResourceValidateBeforeCall(V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling createThirdPartyResource(Async)"); - } - - - com.squareup.okhttp.Call call = createThirdPartyResourceCall(body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * create a ThirdPartyResource - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ThirdPartyResource - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1beta1ThirdPartyResource createThirdPartyResource(V1beta1ThirdPartyResource body, String pretty) throws ApiException { - ApiResponse resp = createThirdPartyResourceWithHttpInfo(body, pretty); - return resp.getData(); - } - - /** - * - * create a ThirdPartyResource - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ThirdPartyResource> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse createThirdPartyResourceWithHttpInfo(V1beta1ThirdPartyResource body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = createThirdPartyResourceValidateBeforeCall(body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * create a ThirdPartyResource - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call createThirdPartyResourceAsync(V1beta1ThirdPartyResource body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = createThirdPartyResourceValidateBeforeCall(body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for deleteCollectionNamespacedDaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1212,7 +1081,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1223,10 +1092,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetCall(String n List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1267,7 +1142,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1275,7 +1150,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetValidateBefo } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1289,16 +1164,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetValidateBefo * delete collection of DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedDaemonSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedDaemonSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1307,16 +1185,19 @@ public V1Status deleteCollectionNamespacedDaemonSet(String namespace, String pre * delete collection of DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1326,8 +1207,11 @@ public ApiResponse deleteCollectionNamespacedDaemonSetWithHttpInfo(Str * delete collection of DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1335,7 +1219,7 @@ public ApiResponse deleteCollectionNamespacedDaemonSetWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDaemonSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1356,7 +1240,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1365,8 +1249,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedDeployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1375,7 +1262,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1386,10 +1273,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1430,7 +1323,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1438,7 +1331,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBef } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1452,16 +1345,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentValidateBef * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedDeployment(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1470,16 +1366,19 @@ public V1Status deleteCollectionNamespacedDeployment(String namespace, String pr * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1489,8 +1388,11 @@ public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(St * delete collection of Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1498,7 +1400,7 @@ public ApiResponse deleteCollectionNamespacedDeploymentWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1519,7 +1421,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1528,8 +1430,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedIngress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1538,7 +1443,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedIngressCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1549,10 +1454,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedIngressCall(String nam List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1593,7 +1504,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedIngressValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedIngressValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1601,7 +1512,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedIngressValidateBefore } - com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1615,16 +1526,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedIngressValidateBefore * delete collection of Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedIngress(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedIngress(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1633,16 +1547,19 @@ public V1Status deleteCollectionNamespacedIngress(String namespace, String prett * delete collection of Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedIngressWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedIngressWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1652,8 +1569,11 @@ public ApiResponse deleteCollectionNamespacedIngressWithHttpInfo(Strin * delete collection of Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1661,7 +1581,7 @@ public ApiResponse deleteCollectionNamespacedIngressWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedIngressAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedIngressAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1682,7 +1602,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedIngressValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1691,8 +1611,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedNetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1701,7 +1624,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1712,10 +1635,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(Stri List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1756,7 +1685,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1764,7 +1693,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyValidate } - com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1778,16 +1707,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyValidate * delete collection of NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedNetworkPolicy(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedNetworkPolicy(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1796,16 +1728,19 @@ public V1Status deleteCollectionNamespacedNetworkPolicy(String namespace, String * delete collection of NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1815,8 +1750,11 @@ public ApiResponse deleteCollectionNamespacedNetworkPolicyWithHttpInfo * delete collection of NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1824,7 +1762,7 @@ public ApiResponse deleteCollectionNamespacedNetworkPolicyWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1845,7 +1783,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1854,8 +1792,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1864,7 +1805,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1875,10 +1816,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1919,7 +1866,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1927,7 +1874,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetValidateBef } - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1941,16 +1888,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetValidateBef * delete collection of ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedReplicaSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedReplicaSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1959,16 +1909,19 @@ public V1Status deleteCollectionNamespacedReplicaSet(String namespace, String pr * delete collection of ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1978,8 +1931,11 @@ public ApiResponse deleteCollectionNamespacedReplicaSetWithHttpInfo(St * delete collection of ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1987,7 +1943,7 @@ public ApiResponse deleteCollectionNamespacedReplicaSetWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedReplicaSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2008,7 +1964,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2016,8 +1972,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionPodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2026,7 +1985,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2036,10 +1995,16 @@ public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyCall(String pre List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2080,10 +2045,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2096,16 +2061,19 @@ private com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyValidateBefore * * delete collection of PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionPodSecurityPolicy(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionPodSecurityPolicyWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionPodSecurityPolicy(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionPodSecurityPolicyWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2113,16 +2081,19 @@ public V1Status deleteCollectionPodSecurityPolicy(String pretty, String fieldSel * * delete collection of PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionPodSecurityPolicyWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionPodSecurityPolicyWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2131,8 +2102,11 @@ public ApiResponse deleteCollectionPodSecurityPolicyWithHttpInfo(Strin * (asynchronously) * delete collection of PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2140,160 +2114,7 @@ public ApiResponse deleteCollectionPodSecurityPolicyWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for deleteCollectionThirdPartyResource - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call deleteCollectionThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionThirdPartyResourceValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - - com.squareup.okhttp.Call call = deleteCollectionThirdPartyResourceCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * delete collection of ThirdPartyResource - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Status deleteCollectionThirdPartyResource(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionThirdPartyResourceWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - return resp.getData(); - } - - /** - * - * delete collection of ThirdPartyResource - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteCollectionThirdPartyResourceWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionThirdPartyResourceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete collection of ThirdPartyResource - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteCollectionThirdPartyResourceAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionPodSecurityPolicyAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2314,7 +2135,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionThirdPartyResourceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionPodSecurityPolicyValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -3329,166 +3150,6 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for deleteThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call deleteThirdPartyResourceCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (gracePeriodSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); - if (orphanDependents != null) - localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); - if (propagationPolicy != null) - localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteThirdPartyResourceValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteThirdPartyResource(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling deleteThirdPartyResource(Async)"); - } - - - com.squareup.okhttp.Call call = deleteThirdPartyResourceCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * delete a ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return V1Status - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1Status deleteThirdPartyResource(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - ApiResponse resp = deleteThirdPartyResourceWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - return resp.getData(); - } - - /** - * - * delete a ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @return ApiResponse<V1Status> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse deleteThirdPartyResourceWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { - com.squareup.okhttp.Call call = deleteThirdPartyResourceValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * delete a ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) - * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) - * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call deleteThirdPartyResourceAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = deleteThirdPartyResourceValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for getAPIResources * @param progressListener Progress listener @@ -3608,8 +3269,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don } /** * Build call for listDaemonSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3619,7 +3283,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3627,10 +3291,16 @@ public com.squareup.okhttp.Call listDaemonSetForAllNamespacesCall(String fieldSe List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -3673,10 +3343,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listDaemonSetForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listDaemonSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -3688,8 +3358,11 @@ private com.squareup.okhttp.Call listDaemonSetForAllNamespacesValidateBeforeCall /** * * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3697,16 +3370,19 @@ private com.squareup.okhttp.Call listDaemonSetForAllNamespacesValidateBeforeCall * @return V1beta1DaemonSetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1DaemonSetList listDaemonSetForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listDaemonSetForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1DaemonSetList listDaemonSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listDaemonSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3714,8 +3390,8 @@ public V1beta1DaemonSetList listDaemonSetForAllNamespaces(String fieldSelector, * @return ApiResponse<V1beta1DaemonSetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listDaemonSetForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listDaemonSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -3723,8 +3399,11 @@ public ApiResponse listDaemonSetForAllNamespacesWithHttpIn /** * (asynchronously) * list or watch objects of kind DaemonSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3733,7 +3412,7 @@ public ApiResponse listDaemonSetForAllNamespacesWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listDaemonSetForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listDaemonSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3754,15 +3433,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listDaemonSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listDeploymentForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3772,7 +3454,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3780,10 +3462,16 @@ public com.squareup.okhttp.Call listDeploymentForAllNamespacesCall(String fieldS List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -3826,10 +3514,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -3841,8 +3529,11 @@ private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCal /** * * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3850,16 +3541,19 @@ private com.squareup.okhttp.Call listDeploymentForAllNamespacesValidateBeforeCal * @return ExtensionsV1beta1DeploymentList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listDeploymentForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listDeploymentForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3867,8 +3561,8 @@ public ExtensionsV1beta1DeploymentList listDeploymentForAllNamespaces(String fie * @return ApiResponse<ExtensionsV1beta1DeploymentList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listDeploymentForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listDeploymentForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -3876,8 +3570,11 @@ public ApiResponse listDeploymentForAllNamespac /** * (asynchronously) * list or watch objects of kind Deployment + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3886,7 +3583,7 @@ public ApiResponse listDeploymentForAllNamespac * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listDeploymentForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listDeploymentForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3907,15 +3604,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listDeploymentForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listIngressForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -3925,7 +3625,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listIngressForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listIngressForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -3933,10 +3633,16 @@ public com.squareup.okhttp.Call listIngressForAllNamespacesCall(String fieldSele List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -3979,10 +3685,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listIngressForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listIngressForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listIngressForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listIngressForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -3994,8 +3700,11 @@ private com.squareup.okhttp.Call listIngressForAllNamespacesValidateBeforeCall(S /** * * list or watch objects of kind Ingress + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4003,16 +3712,19 @@ private com.squareup.okhttp.Call listIngressForAllNamespacesValidateBeforeCall(S * @return V1beta1IngressList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1IngressList listIngressForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listIngressForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1IngressList listIngressForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listIngressForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind Ingress + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4020,8 +3732,8 @@ public V1beta1IngressList listIngressForAllNamespaces(String fieldSelector, Stri * @return ApiResponse<V1beta1IngressList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listIngressForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listIngressForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listIngressForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listIngressForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4029,8 +3741,11 @@ public ApiResponse listIngressForAllNamespacesWithHttpInfo(S /** * (asynchronously) * list or watch objects of kind Ingress + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4039,7 +3754,7 @@ public ApiResponse listIngressForAllNamespacesWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listIngressForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listIngressForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4060,7 +3775,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listIngressForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listIngressForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -4069,8 +3784,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedDaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4079,7 +3797,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4090,10 +3808,16 @@ public com.squareup.okhttp.Call listNamespacedDaemonSetCall(String namespace, St List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -4134,7 +3858,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedDaemonSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -4142,7 +3866,7 @@ private com.squareup.okhttp.Call listNamespacedDaemonSetValidateBeforeCall(Strin } - com.squareup.okhttp.Call call = listNamespacedDaemonSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedDaemonSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4156,16 +3880,19 @@ private com.squareup.okhttp.Call listNamespacedDaemonSetValidateBeforeCall(Strin * list or watch objects of kind DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1DaemonSetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1DaemonSetList listNamespacedDaemonSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedDaemonSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1DaemonSetList listNamespacedDaemonSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -4174,16 +3901,19 @@ public V1beta1DaemonSetList listNamespacedDaemonSet(String namespace, String pre * list or watch objects of kind DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1DaemonSetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedDaemonSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4193,8 +3923,11 @@ public ApiResponse listNamespacedDaemonSetWithHttpInfo(Str * list or watch objects of kind DaemonSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4202,7 +3935,7 @@ public ApiResponse listNamespacedDaemonSetWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedDaemonSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedDaemonSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4223,7 +3956,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedDaemonSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -4232,8 +3965,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedDeployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4242,7 +3978,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4253,10 +3989,16 @@ public com.squareup.okhttp.Call listNamespacedDeploymentCall(String namespace, S List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -4297,7 +4039,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -4305,7 +4047,7 @@ private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(Stri } - com.squareup.okhttp.Call call = listNamespacedDeploymentCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedDeploymentCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4319,16 +4061,19 @@ private com.squareup.okhttp.Call listNamespacedDeploymentValidateBeforeCall(Stri * list or watch objects of kind Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ExtensionsV1beta1DeploymentList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1DeploymentList listNamespacedDeployment(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedDeploymentWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public ExtensionsV1beta1DeploymentList listNamespacedDeployment(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -4337,16 +4082,19 @@ public ExtensionsV1beta1DeploymentList listNamespacedDeployment(String namespace * list or watch objects of kind Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<ExtensionsV1beta1DeploymentList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedDeploymentWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4356,8 +4104,11 @@ public ApiResponse listNamespacedDeploymentWith * list or watch objects of kind Deployment * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4365,7 +4116,7 @@ public ApiResponse listNamespacedDeploymentWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedDeploymentAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedDeploymentAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4386,7 +4137,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedDeploymentValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -4395,8 +4146,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedIngress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4405,7 +4159,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedIngressCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedIngressCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4416,10 +4170,16 @@ public com.squareup.okhttp.Call listNamespacedIngressCall(String namespace, Stri List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -4460,7 +4220,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedIngressValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedIngressValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -4468,7 +4228,7 @@ private com.squareup.okhttp.Call listNamespacedIngressValidateBeforeCall(String } - com.squareup.okhttp.Call call = listNamespacedIngressCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedIngressCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4482,16 +4242,19 @@ private com.squareup.okhttp.Call listNamespacedIngressValidateBeforeCall(String * list or watch objects of kind Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1IngressList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1IngressList listNamespacedIngress(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedIngressWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1IngressList listNamespacedIngress(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedIngressWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -4500,16 +4263,19 @@ public V1beta1IngressList listNamespacedIngress(String namespace, String pretty, * list or watch objects of kind Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1IngressList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedIngressWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedIngressValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedIngressWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedIngressValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4519,8 +4285,11 @@ public ApiResponse listNamespacedIngressWithHttpInfo(String * list or watch objects of kind Ingress * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4528,7 +4297,7 @@ public ApiResponse listNamespacedIngressWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedIngressAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedIngressAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4549,7 +4318,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedIngressValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedIngressValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -4558,8 +4327,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedNetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4568,7 +4340,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4579,10 +4351,16 @@ public com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -4623,7 +4401,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -4631,7 +4409,7 @@ private com.squareup.okhttp.Call listNamespacedNetworkPolicyValidateBeforeCall(S } - com.squareup.okhttp.Call call = listNamespacedNetworkPolicyCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4645,16 +4423,19 @@ private com.squareup.okhttp.Call listNamespacedNetworkPolicyValidateBeforeCall(S * list or watch objects of kind NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1NetworkPolicyList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1NetworkPolicyList listNamespacedNetworkPolicy(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1NetworkPolicyList listNamespacedNetworkPolicy(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -4663,16 +4444,19 @@ public V1beta1NetworkPolicyList listNamespacedNetworkPolicy(String namespace, St * list or watch objects of kind NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1NetworkPolicyList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4682,8 +4466,11 @@ public ApiResponse listNamespacedNetworkPolicyWithHttp * list or watch objects of kind NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4691,7 +4478,7 @@ public ApiResponse listNamespacedNetworkPolicyWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedNetworkPolicyAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedNetworkPolicyAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4712,7 +4499,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -4721,8 +4508,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4731,7 +4521,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4742,10 +4532,16 @@ public com.squareup.okhttp.Call listNamespacedReplicaSetCall(String namespace, S List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -4786,7 +4582,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedReplicaSetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -4794,7 +4590,7 @@ private com.squareup.okhttp.Call listNamespacedReplicaSetValidateBeforeCall(Stri } - com.squareup.okhttp.Call call = listNamespacedReplicaSetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedReplicaSetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4808,16 +4604,19 @@ private com.squareup.okhttp.Call listNamespacedReplicaSetValidateBeforeCall(Stri * list or watch objects of kind ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1ReplicaSetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ReplicaSetList listNamespacedReplicaSet(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedReplicaSetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1ReplicaSetList listNamespacedReplicaSet(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -4826,16 +4625,19 @@ public V1beta1ReplicaSetList listNamespacedReplicaSet(String namespace, String p * list or watch objects of kind ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1ReplicaSetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedReplicaSetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4845,8 +4647,11 @@ public ApiResponse listNamespacedReplicaSetWithHttpInfo(S * list or watch objects of kind ReplicaSet * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -4854,7 +4659,7 @@ public ApiResponse listNamespacedReplicaSetWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedReplicaSetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedReplicaSetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4875,15 +4680,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedReplicaSetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listNetworkPolicyForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4893,7 +4701,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -4901,10 +4709,16 @@ public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String fie List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -4947,10 +4761,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -4962,8 +4776,11 @@ private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesValidateBefore /** * * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4971,16 +4788,19 @@ private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesValidateBefore * @return V1beta1NetworkPolicyList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNetworkPolicyForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNetworkPolicyForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -4988,8 +4808,8 @@ public V1beta1NetworkPolicyList listNetworkPolicyForAllNamespaces(String fieldSe * @return ApiResponse<V1beta1NetworkPolicyList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNetworkPolicyForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNetworkPolicyForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -4997,8 +4817,11 @@ public ApiResponse listNetworkPolicyForAllNamespacesWi /** * (asynchronously) * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -5007,7 +4830,7 @@ public ApiResponse listNetworkPolicyForAllNamespacesWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5028,7 +4851,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -5036,8 +4859,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listPodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -5046,7 +4872,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPodSecurityPolicyCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPodSecurityPolicyCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5056,10 +4882,16 @@ public com.squareup.okhttp.Call listPodSecurityPolicyCall(String pretty, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -5100,10 +4932,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPodSecurityPolicyValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPodSecurityPolicyValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPodSecurityPolicyCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodSecurityPolicyCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -5116,16 +4948,19 @@ private com.squareup.okhttp.Call listPodSecurityPolicyValidateBeforeCall(String * * list or watch objects of kind PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1PodSecurityPolicyList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1PodSecurityPolicyList listPodSecurityPolicy(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPodSecurityPolicyWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1PodSecurityPolicyList listPodSecurityPolicy(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPodSecurityPolicyWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -5133,16 +4968,19 @@ public V1beta1PodSecurityPolicyList listPodSecurityPolicy(String pretty, String * * list or watch objects of kind PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1PodSecurityPolicyList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPodSecurityPolicyWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPodSecurityPolicyValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listPodSecurityPolicyWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPodSecurityPolicyValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -5151,8 +4989,11 @@ public ApiResponse listPodSecurityPolicyWithHttpIn * (asynchronously) * list or watch objects of kind PodSecurityPolicy * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -5160,7 +5001,7 @@ public ApiResponse listPodSecurityPolicyWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPodSecurityPolicyAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPodSecurityPolicyAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5181,15 +5022,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPodSecurityPolicyValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodSecurityPolicyValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listReplicaSetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -5199,7 +5043,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -5207,10 +5051,16 @@ public com.squareup.okhttp.Call listReplicaSetForAllNamespacesCall(String fieldS List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -5253,10 +5103,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listReplicaSetForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listReplicaSetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -5268,8 +5118,11 @@ private com.squareup.okhttp.Call listReplicaSetForAllNamespacesValidateBeforeCal /** * * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -5277,16 +5130,19 @@ private com.squareup.okhttp.Call listReplicaSetForAllNamespacesValidateBeforeCal * @return V1beta1ReplicaSetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ReplicaSetList listReplicaSetForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listReplicaSetForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1ReplicaSetList listReplicaSetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listReplicaSetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -5294,8 +5150,8 @@ public V1beta1ReplicaSetList listReplicaSetForAllNamespaces(String fieldSelector * @return ApiResponse<V1beta1ReplicaSetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listReplicaSetForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listReplicaSetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -5303,8 +5159,11 @@ public ApiResponse listReplicaSetForAllNamespacesWithHttp /** * (asynchronously) * list or watch objects of kind ReplicaSet + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -5313,7 +5172,7 @@ public ApiResponse listReplicaSetForAllNamespacesWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listReplicaSetForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listReplicaSetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5334,57 +5193,47 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listReplicaSetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for listThirdPartyResource + * Build call for patchNamespacedDaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listThirdPartyResourceCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call patchNamespacedDaemonSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources"; + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (fieldSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); - if (labelSelector != null) - localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); - if (resourceVersion != null) - localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); - if (timeoutSeconds != null) - localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); - if (watch != null) - localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); final String[] localVarContentTypes = { - "*/*" + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" }; final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); localVarHeaderParams.put("Content-Type", localVarContentType); @@ -5402,14 +5251,29 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listThirdPartyResourceValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDaemonSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSet(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSet(Async)"); + } - com.squareup.okhttp.Call call = listThirdPartyResourceCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDaemonSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -5420,53 +5284,47 @@ private com.squareup.okhttp.Call listThirdPartyResourceValidateBeforeCall(String /** * - * list or watch objects of kind ThirdPartyResource + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return V1beta1ThirdPartyResourceList + * @return V1beta1DaemonSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ThirdPartyResourceList listThirdPartyResource(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listThirdPartyResourceWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1DaemonSet patchNamespacedDaemonSet(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDaemonSetWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * list or watch objects of kind ThirdPartyResource + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - * @return ApiResponse<V1beta1ThirdPartyResourceList> + * @return ApiResponse<V1beta1DaemonSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listThirdPartyResourceWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listThirdPartyResourceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDaemonSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * list or watch objects of kind ThirdPartyResource + * partially update the specified DaemonSet + * @param name name of the DaemonSet (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) - * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) - * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) - * @param timeoutSeconds Timeout for the list/watch call. (optional) - * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listThirdPartyResourceAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDaemonSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5487,13 +5345,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listThirdPartyResourceValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedDaemonSet + * Build call for patchNamespacedDaemonSetStatus * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -5503,11 +5361,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedDaemonSetCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -5549,25 +5407,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDaemonSetValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDaemonSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSet(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSet(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSetStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSet(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSetStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedDaemonSetCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -5578,7 +5436,7 @@ private com.squareup.okhttp.Call patchNamespacedDaemonSetValidateBeforeCall(Stri /** * - * partially update the specified DaemonSet + * partially update status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -5586,14 +5444,14 @@ private com.squareup.okhttp.Call patchNamespacedDaemonSetValidateBeforeCall(Stri * @return V1beta1DaemonSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1DaemonSet patchNamespacedDaemonSet(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDaemonSetWithHttpInfo(name, namespace, body, pretty); + public V1beta1DaemonSet patchNamespacedDaemonSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDaemonSetStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update the specified DaemonSet + * partially update status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -5601,15 +5459,15 @@ public V1beta1DaemonSet patchNamespacedDaemonSet(String name, String namespace, * @return ApiResponse<V1beta1DaemonSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedDaemonSetWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse patchNamespacedDaemonSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update the specified DaemonSet + * partially update status of the specified DaemonSet * @param name name of the DaemonSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -5618,7 +5476,7 @@ public ApiResponse patchNamespacedDaemonSetWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedDaemonSetAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5639,159 +5497,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedDaemonSetValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for patchNamespacedDaemonSetStatus - * @param name name of the DaemonSet (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDaemonSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDaemonSetStatus(Async)"); - } - - // verify the required parameter 'namespace' is set - if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDaemonSetStatus(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDaemonSetStatus(Async)"); - } - - - com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * partially update status of the specified DaemonSet - * @param name name of the DaemonSet (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1DaemonSet - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1beta1DaemonSet patchNamespacedDaemonSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDaemonSetStatusWithHttpInfo(name, namespace, body, pretty); - return resp.getData(); - } - - /** - * - * partially update status of the specified DaemonSet - * @param name name of the DaemonSet (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1DaemonSet> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse patchNamespacedDaemonSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * partially update status of the specified DaemonSet - * @param name name of the DaemonSet (required) - * @param namespace object name and auth scope, such as for teams and projects (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call patchNamespacedDaemonSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDaemonSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -5949,8 +5655,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for patchNamespacedDeploymentStatus - * @param name name of the Deployment (required) + * Build call for patchNamespacedDeploymentScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -5959,11 +5665,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -6005,25 +5711,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentScale(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -6034,39 +5740,39 @@ private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCa /** * - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Deployment + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Deployment patchNamespacedDeploymentStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale patchNamespacedDeploymentScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Deployment> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified Deployment - * @param name name of the Deployment (required) + * partially update scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6074,7 +5780,7 @@ public ApiResponse patchNamespacedDeploymentStatusW * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6095,14 +5801,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedDeploymentsScale - * @param name name of the Scale (required) + * Build call for patchNamespacedDeploymentStatus + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6111,11 +5817,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -6157,25 +5863,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedDeploymentsScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedDeploymentStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedDeploymentsScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -6186,39 +5892,39 @@ private com.squareup.okhttp.Call patchNamespacedDeploymentsScaleValidateBeforeCa /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return ExtensionsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale patchNamespacedDeploymentsScale(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedDeploymentsScaleWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Deployment patchNamespacedDeploymentStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<ExtensionsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedDeploymentsScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6226,7 +5932,7 @@ public ApiResponse patchNamespacedDeploymentsScaleWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedDeploymentsScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedDeploymentStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6247,8 +5953,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -6861,8 +6567,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for patchNamespacedReplicaSetStatus - * @param name name of the ReplicaSet (required) + * Build call for patchNamespacedReplicaSetScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6871,11 +6577,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicaSetScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -6917,25 +6623,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSetScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSetScale(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -6946,39 +6652,39 @@ private com.squareup.okhttp.Call patchNamespacedReplicaSetStatusValidateBeforeCa /** * - * partially update status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ReplicaSet + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ReplicaSet patchNamespacedReplicaSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale patchNamespacedReplicaSetScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicaSetScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ReplicaSet> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * partially update scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -6986,7 +6692,7 @@ public ApiResponse patchNamespacedReplicaSetStatusWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicaSetScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7007,14 +6713,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedReplicasetsScale - * @param name name of the Scale (required) + * Build call for patchNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7023,11 +6729,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicasetsScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -7069,25 +6775,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedReplicasetsScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicaSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicaSetStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicaSetStatus(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedReplicasetsScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7098,39 +6804,39 @@ private com.squareup.okhttp.Call patchNamespacedReplicasetsScaleValidateBeforeCa /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return V1beta1ReplicaSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale patchNamespacedReplicasetsScale(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedReplicasetsScaleWithHttpInfo(name, namespace, body, pretty); + public V1beta1ReplicaSet patchNamespacedReplicaSetStatus(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<V1beta1ReplicaSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedReplicasetsScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse patchNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update scale of the specified Scale - * @param name name of the Scale (required) + * partially update status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -7138,7 +6844,7 @@ public ApiResponse patchNamespacedReplicasetsScaleWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicasetsScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicaSetStatusAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7159,13 +6865,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = patchNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for patchNamespacedReplicationcontrollersScale + * Build call for patchNamespacedReplicationControllerDummyScale * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -7175,7 +6881,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerDummyScaleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -7221,25 +6927,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call patchNamespacedReplicationControllerDummyScaleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedReplicationControllerDummyScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedReplicationControllerDummyScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedReplicationControllerDummyScale(Async)"); } - com.squareup.okhttp.Call call = patchNamespacedReplicationcontrollersScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerDummyScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -7250,7 +6956,7 @@ private com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleValid /** * - * partially update scale of the specified Scale + * partially update scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -7258,14 +6964,14 @@ private com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleValid * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale patchNamespacedReplicationcontrollersScale(String name, String namespace, Object body, String pretty) throws ApiException { - ApiResponse resp = patchNamespacedReplicationcontrollersScaleWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale patchNamespacedReplicationControllerDummyScale(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedReplicationControllerDummyScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * partially update scale of the specified Scale + * partially update scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -7273,15 +6979,15 @@ public ExtensionsV1beta1Scale patchNamespacedReplicationcontrollersScale(String * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse patchNamespacedReplicationcontrollersScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse patchNamespacedReplicationControllerDummyScaleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * partially update scale of the specified Scale + * partially update scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -7290,7 +6996,7 @@ public ApiResponse patchNamespacedReplicationcontrollers * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call patchNamespacedReplicationcontrollersScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call patchNamespacedReplicationControllerDummyScaleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7311,7 +7017,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = patchNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = patchNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -7458,148 +7164,6 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for patchThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call patchThirdPartyResourceCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call patchThirdPartyResourceValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling patchThirdPartyResource(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling patchThirdPartyResource(Async)"); - } - - - com.squareup.okhttp.Call call = patchThirdPartyResourceCall(name, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * partially update the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ThirdPartyResource - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1beta1ThirdPartyResource patchThirdPartyResource(String name, Object body, String pretty) throws ApiException { - ApiResponse resp = patchThirdPartyResourceWithHttpInfo(name, body, pretty); - return resp.getData(); - } - - /** - * - * partially update the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ThirdPartyResource> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse patchThirdPartyResourceWithHttpInfo(String name, Object body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = patchThirdPartyResourceValidateBeforeCall(name, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * partially update the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call patchThirdPartyResourceAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = patchThirdPartyResourceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } /** * Build call for readNamespacedDaemonSet * @param name name of the DaemonSet (required) @@ -8054,8 +7618,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for readNamespacedDeploymentStatus - * @param name name of the Deployment (required) + * Build call for readNamespacedDeploymentScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -8063,11 +7627,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -8109,20 +7673,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentScale(Async)"); } - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -8133,44 +7697,44 @@ private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCal /** * - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Deployment + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Deployment readNamespacedDeploymentStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedDeploymentStatusWithHttpInfo(name, namespace, pretty); + public ExtensionsV1beta1Scale readNamespacedDeploymentScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Deployment> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified Deployment - * @param name name of the Deployment (required) + * read scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8191,14 +7755,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedDeploymentScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedDeploymentsScale - * @param name name of the Scale (required) + * Build call for readNamespacedDeploymentStatus + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -8206,11 +7770,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -8252,20 +7816,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedDeploymentsScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedDeploymentStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedDeploymentsScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -8276,44 +7840,44 @@ private com.squareup.okhttp.Call readNamespacedDeploymentsScaleValidateBeforeCal /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return ExtensionsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale readNamespacedDeploymentsScale(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedDeploymentsScaleWithHttpInfo(name, namespace, pretty); + public ExtensionsV1beta1Deployment readNamespacedDeploymentStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedDeploymentStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<ExtensionsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedDeploymentsScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedDeploymentsScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedDeploymentStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8334,8 +7898,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedDeploymentStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -8948,8 +8512,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for readNamespacedReplicaSetStatus - * @param name name of the ReplicaSet (required) + * Build call for readNamespacedReplicaSetScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -8957,11 +8521,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicaSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicaSetScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -9003,20 +8567,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSetScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetScale(Async)"); } - com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -9027,44 +8591,44 @@ private com.squareup.okhttp.Call readNamespacedReplicaSetStatusValidateBeforeCal /** * - * read status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ReplicaSet + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ReplicaSet readNamespacedReplicaSetStatus(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedReplicaSetStatusWithHttpInfo(name, namespace, pretty); + public ExtensionsV1beta1Scale readNamespacedReplicaSetScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicaSetScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ReplicaSet> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * read scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicaSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicaSetScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9085,14 +8649,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedReplicasetsScale - * @param name name of the Scale (required) + * Build call for readNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param progressListener Progress listener @@ -9100,11 +8664,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicasetsScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicaSetStatusCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -9146,20 +8710,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedReplicasetsScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicaSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicaSetStatus(Async)"); } - com.squareup.okhttp.Call call = readNamespacedReplicasetsScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -9170,44 +8734,44 @@ private com.squareup.okhttp.Call readNamespacedReplicasetsScaleValidateBeforeCal /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return V1beta1ReplicaSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale readNamespacedReplicasetsScale(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedReplicasetsScaleWithHttpInfo(name, namespace, pretty); + public V1beta1ReplicaSet readNamespacedReplicaSetStatus(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicaSetStatusWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<V1beta1ReplicaSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedReplicasetsScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse readNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read scale of the specified Scale - * @param name name of the Scale (required) + * read status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicasetsScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicaSetStatusAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9228,13 +8792,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for readNamespacedReplicationcontrollersScale + * Build call for readNamespacedReplicationControllerDummyScale * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -9243,7 +8807,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerDummyScaleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -9289,20 +8853,20 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call readNamespacedReplicationControllerDummyScaleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedReplicationControllerDummyScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedReplicationControllerDummyScale(Async)"); } - com.squareup.okhttp.Call call = readNamespacedReplicationcontrollersScaleCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerDummyScaleCall(name, namespace, pretty, progressListener, progressRequestListener); return call; @@ -9313,36 +8877,36 @@ private com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleValida /** * - * read scale of the specified Scale + * read scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale readNamespacedReplicationcontrollersScale(String name, String namespace, String pretty) throws ApiException { - ApiResponse resp = readNamespacedReplicationcontrollersScaleWithHttpInfo(name, namespace, pretty); + public ExtensionsV1beta1Scale readNamespacedReplicationControllerDummyScale(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedReplicationControllerDummyScaleWithHttpInfo(name, namespace, pretty); return resp.getData(); } /** * - * read scale of the specified Scale + * read scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse readNamespacedReplicationcontrollersScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { - com.squareup.okhttp.Call call = readNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, pretty, null, null); + public ApiResponse readNamespacedReplicationControllerDummyScaleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * read scale of the specified Scale + * read scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -9350,7 +8914,7 @@ public ApiResponse readNamespacedReplicationcontrollersS * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call readNamespacedReplicationcontrollersScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call readNamespacedReplicationControllerDummyScaleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9371,7 +8935,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = readNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -9516,153 +9080,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = readPodSecurityPolicyValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } - /** - * Build call for readThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call readThirdPartyResourceCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - if (exact != null) - localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); - if (export != null) - localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call readThirdPartyResourceValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling readThirdPartyResource(Async)"); - } - - - com.squareup.okhttp.Call call = readThirdPartyResourceCall(name, pretty, exact, export, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * read the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return V1beta1ThirdPartyResource - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1beta1ThirdPartyResource readThirdPartyResource(String name, String pretty, Boolean exact, Boolean export) throws ApiException { - ApiResponse resp = readThirdPartyResourceWithHttpInfo(name, pretty, exact, export); - return resp.getData(); - } - - /** - * - * read the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @return ApiResponse<V1beta1ThirdPartyResource> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse readThirdPartyResourceWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { - com.squareup.okhttp.Call call = readThirdPartyResourceValidateBeforeCall(name, pretty, exact, export, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * read the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) - * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call readThirdPartyResourceAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = readThirdPartyResourceValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = readPodSecurityPolicyValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -10123,8 +9542,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for replaceNamespacedDeploymentStatus - * @param name name of the Deployment (required) + * Build call for replaceNamespacedDeploymentScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -10133,11 +9552,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -10179,25 +9598,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedDeploymentScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -10208,39 +9627,39 @@ private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusValidateBefore /** * - * replace status of the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Deployment + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Deployment replaceNamespacedDeploymentStatus(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale replaceNamespacedDeploymentScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Deployment> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedDeploymentScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified Deployment - * @param name name of the Deployment (required) + * replace scale of the specified Deployment + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -10248,7 +9667,7 @@ public ApiResponse replaceNamespacedDeploymentStatu * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusAsync(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10269,14 +9688,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedDeploymentsScale - * @param name name of the Scale (required) + * Build call for replaceNamespacedDeploymentStatus + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -10285,11 +9704,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -10331,25 +9750,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedDeploymentStatusValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedDeploymentStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentsScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedDeploymentStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentsScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -10360,39 +9779,39 @@ private com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleValidateBefore /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return ExtensionsV1beta1Deployment * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale replaceNamespacedDeploymentsScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedDeploymentsScaleWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Deployment replaceNamespacedDeploymentStatus(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedDeploymentStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<ExtensionsV1beta1Deployment> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedDeploymentsScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedDeploymentStatusWithHttpInfo(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified Deployment + * @param name name of the Deployment (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -10400,7 +9819,7 @@ public ApiResponse replaceNamespacedDeploymentsScaleWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedDeploymentsScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedDeploymentStatusAsync(String name, String namespace, ExtensionsV1beta1Deployment body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10421,8 +9840,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedDeploymentsScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedDeploymentStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } @@ -11035,8 +10454,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don return call; } /** - * Build call for replaceNamespacedReplicaSetStatus - * @param name name of the ReplicaSet (required) + * Build call for replaceNamespacedReplicaSetScale + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -11045,11 +10464,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -11091,25 +10510,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetStatus(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -11120,39 +10539,39 @@ private com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusValidateBefore /** * - * replace status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ReplicaSet + * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ReplicaSet replaceNamespacedReplicaSetStatus(String name, String namespace, V1beta1ReplicaSet body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale replaceNamespacedReplicaSetScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicaSetScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ReplicaSet> + * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, V1beta1ReplicaSet body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedReplicaSetScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace status of the specified ReplicaSet - * @param name name of the ReplicaSet (required) + * replace scale of the specified ReplicaSet + * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -11160,7 +10579,7 @@ public ApiResponse replaceNamespacedReplicaSetStatusWithHttpI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusAsync(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicaSetScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11181,14 +10600,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedReplicasetsScale - * @param name name of the Scale (required) + * Build call for replaceNamespacedReplicaSetStatus + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -11197,11 +10616,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale" + String localVarPath = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); @@ -11243,25 +10662,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusValidateBeforeCall(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicaSetStatus(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicaSetStatus(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicasetsScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicaSetStatus(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedReplicasetsScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -11272,39 +10691,39 @@ private com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleValidateBefore /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ExtensionsV1beta1Scale + * @return V1beta1ReplicaSet * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale replaceNamespacedReplicasetsScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedReplicasetsScaleWithHttpInfo(name, namespace, body, pretty); + public V1beta1ReplicaSet replaceNamespacedReplicaSetStatus(String name, String namespace, V1beta1ReplicaSet body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicaSetStatusWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<ExtensionsV1beta1Scale> + * @return ApiResponse<V1beta1ReplicaSet> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedReplicasetsScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse replaceNamespacedReplicaSetStatusWithHttpInfo(String name, String namespace, V1beta1ReplicaSet body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace scale of the specified Scale - * @param name name of the Scale (required) + * replace status of the specified ReplicaSet + * @param name name of the ReplicaSet (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) * @param pretty If 'true', then the output is pretty printed. (optional) @@ -11312,7 +10731,7 @@ public ApiResponse replaceNamespacedReplicasetsScaleWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicasetsScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicaSetStatusAsync(String name, String namespace, V1beta1ReplicaSet body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11333,13 +10752,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedReplicasetsScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = replaceNamespacedReplicaSetStatusValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for replaceNamespacedReplicationcontrollersScale + * Build call for replaceNamespacedReplicationControllerDummyScale * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11349,7 +10768,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerDummyScaleCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = body; // create path and map variables @@ -11395,25 +10814,25 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call replaceNamespacedReplicationControllerDummyScaleValidateBeforeCall(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedReplicationControllerDummyScale(Async)"); } // verify the required parameter 'namespace' is set if (namespace == null) { - throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedReplicationControllerDummyScale(Async)"); } // verify the required parameter 'body' is set if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicationcontrollersScale(Async)"); + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedReplicationControllerDummyScale(Async)"); } - com.squareup.okhttp.Call call = replaceNamespacedReplicationcontrollersScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerDummyScaleCall(name, namespace, body, pretty, progressListener, progressRequestListener); return call; @@ -11424,7 +10843,7 @@ private com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleVal /** * - * replace scale of the specified Scale + * replace scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11432,14 +10851,14 @@ private com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleVal * @return ExtensionsV1beta1Scale * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ExtensionsV1beta1Scale replaceNamespacedReplicationcontrollersScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - ApiResponse resp = replaceNamespacedReplicationcontrollersScaleWithHttpInfo(name, namespace, body, pretty); + public ExtensionsV1beta1Scale replaceNamespacedReplicationControllerDummyScale(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedReplicationControllerDummyScaleWithHttpInfo(name, namespace, body, pretty); return resp.getData(); } /** * - * replace scale of the specified Scale + * replace scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11447,15 +10866,15 @@ public ExtensionsV1beta1Scale replaceNamespacedReplicationcontrollersScale(Strin * @return ApiResponse<ExtensionsV1beta1Scale> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse replaceNamespacedReplicationcontrollersScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, body, pretty, null, null); + public ApiResponse replaceNamespacedReplicationControllerDummyScaleWithHttpInfo(String name, String namespace, ExtensionsV1beta1Scale body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, body, pretty, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** * (asynchronously) - * replace scale of the specified Scale + * replace scale of the specified ReplicationControllerDummy * @param name name of the Scale (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param body (required) @@ -11464,7 +10883,7 @@ public ApiResponse replaceNamespacedReplicationcontrolle * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call replaceNamespacedReplicationcontrollersScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call replaceNamespacedReplicationControllerDummyScaleAsync(String name, String namespace, ExtensionsV1beta1Scale body, String pretty, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11485,7 +10904,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = replaceNamespacedReplicationcontrollersScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = replaceNamespacedReplicationControllerDummyScaleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -11632,146 +11051,4 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } - /** - * Build call for replaceThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param progressListener Progress listener - * @param progressRequestListener Progress request listener - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - */ - public com.squareup.okhttp.Call replaceThirdPartyResourceCall(String name, V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/apis/extensions/v1beta1/thirdpartyresources/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (pretty != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); - - Map localVarHeaderParams = new HashMap(); - - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" - }; - final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); - - final String[] localVarContentTypes = { - "*/*" - }; - final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - if(progressListener != null) { - apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { - @Override - public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { - com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), progressListener)) - .build(); - } - }); - } - - String[] localVarAuthNames = new String[] { "BearerToken" }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); - } - - @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call replaceThirdPartyResourceValidateBeforeCall(String name, V1beta1ThirdPartyResource body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling replaceThirdPartyResource(Async)"); - } - - // verify the required parameter 'body' is set - if (body == null) { - throw new ApiException("Missing the required parameter 'body' when calling replaceThirdPartyResource(Async)"); - } - - - com.squareup.okhttp.Call call = replaceThirdPartyResourceCall(name, body, pretty, progressListener, progressRequestListener); - return call; - - - - - - } - - /** - * - * replace the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return V1beta1ThirdPartyResource - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public V1beta1ThirdPartyResource replaceThirdPartyResource(String name, V1beta1ThirdPartyResource body, String pretty) throws ApiException { - ApiResponse resp = replaceThirdPartyResourceWithHttpInfo(name, body, pretty); - return resp.getData(); - } - - /** - * - * replace the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @return ApiResponse<V1beta1ThirdPartyResource> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - */ - public ApiResponse replaceThirdPartyResourceWithHttpInfo(String name, V1beta1ThirdPartyResource body, String pretty) throws ApiException { - com.squareup.okhttp.Call call = replaceThirdPartyResourceValidateBeforeCall(name, body, pretty, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); - } - - /** - * (asynchronously) - * replace the specified ThirdPartyResource - * @param name name of the ThirdPartyResource (required) - * @param body (required) - * @param pretty If 'true', then the output is pretty printed. (optional) - * @param callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - */ - public com.squareup.okhttp.Call replaceThirdPartyResourceAsync(String name, V1beta1ThirdPartyResource body, String pretty, final ApiCallback callback) throws ApiException { - - ProgressResponseBody.ProgressListener progressListener = null; - ProgressRequestBody.ProgressRequestListener progressRequestListener = null; - - if (callback != null) { - progressListener = new ProgressResponseBody.ProgressListener() { - @Override - public void update(long bytesRead, long contentLength, boolean done) { - callback.onDownloadProgress(bytesRead, contentLength, done); - } - }; - - progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { - @Override - public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { - callback.onUploadProgress(bytesWritten, contentLength, done); - } - }; - } - - com.squareup.okhttp.Call call = replaceThirdPartyResourceValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); - return call; - } } diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java index b4d4ce2bae..b8c3ddd717 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/LogsApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingApi.java new file mode 100644 index 0000000000..22b87db65d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingApi.java @@ -0,0 +1,174 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIGroup; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class NetworkingApi { + private ApiClient apiClient; + + public NetworkingApi() { + this(Configuration.getDefaultApiClient()); + } + + public NetworkingApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get information of a group + * @return V1APIGroup + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIGroup getAPIGroup() throws ApiException { + ApiResponse resp = getAPIGroupWithHttpInfo(); + return resp.getData(); + } + + /** + * + * get information of a group + * @return ApiResponse<V1APIGroup> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getAPIGroupWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get information of a group + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIGroupAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingV1Api.java new file mode 100644 index 0000000000..bb5dec0c89 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/NetworkingV1Api.java @@ -0,0 +1,1482 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1NetworkPolicy; +import io.kubernetes.client.models.V1NetworkPolicyList; +import io.kubernetes.client.models.V1Status; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class NetworkingV1Api { + private ApiClient apiClient; + + public NetworkingV1Api() { + this(Configuration.getDefaultApiClient()); + } + + public NetworkingV1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedNetworkPolicyCall(String namespace, V1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedNetworkPolicyValidateBeforeCall(String namespace, V1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedNetworkPolicyCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1NetworkPolicy + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicy createNamespacedNetworkPolicy(String namespace, V1NetworkPolicy body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedNetworkPolicyWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1NetworkPolicy> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedNetworkPolicyWithHttpInfo(String namespace, V1NetworkPolicy body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedNetworkPolicyValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedNetworkPolicyAsync(String namespace, V1NetworkPolicy body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedNetworkPolicyValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedNetworkPolicy(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedNetworkPolicyAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedNetworkPolicyCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedNetworkPolicyValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedNetworkPolicyCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedNetworkPolicy(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedNetworkPolicyWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedNetworkPolicyAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedNetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedNetworkPolicyCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedNetworkPolicyValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1NetworkPolicyList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicyList listNamespacedNetworkPolicy(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1NetworkPolicyList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedNetworkPolicyWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedNetworkPolicyAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedNetworkPolicyValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNetworkPolicyForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/networkpolicies"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1NetworkPolicyList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicyList listNetworkPolicyForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNetworkPolicyForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1NetworkPolicyList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNetworkPolicyForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind NetworkPolicy + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNetworkPolicyForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNetworkPolicyForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedNetworkPolicyCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedNetworkPolicyValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedNetworkPolicyCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1NetworkPolicy + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicy patchNamespacedNetworkPolicy(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1NetworkPolicy> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedNetworkPolicyWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedNetworkPolicyAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedNetworkPolicyCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedNetworkPolicyValidateBeforeCall(String name, String namespace, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedNetworkPolicyCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1NetworkPolicy + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicy readNamespacedNetworkPolicy(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1NetworkPolicy> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedNetworkPolicyWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedNetworkPolicyValidateBeforeCall(name, namespace, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedNetworkPolicyAsync(String name, String namespace, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedNetworkPolicyValidateBeforeCall(name, namespace, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedNetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedNetworkPolicyCall(String name, String namespace, V1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedNetworkPolicyValidateBeforeCall(String name, String namespace, V1NetworkPolicy body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedNetworkPolicy(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedNetworkPolicy(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedNetworkPolicyCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1NetworkPolicy + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1NetworkPolicy replaceNamespacedNetworkPolicy(String name, String namespace, V1NetworkPolicy body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1NetworkPolicy> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedNetworkPolicyWithHttpInfo(String name, String namespace, V1NetworkPolicy body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedNetworkPolicyAsync(String name, String namespace, V1NetworkPolicy body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedNetworkPolicyValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java index 77ce23b25c..7615addbfe 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java index 3c7932dc92..19eb5079a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/PolicyV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -204,8 +204,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedPodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -214,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -225,10 +228,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetCal List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -269,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -277,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetVa } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -291,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetVa * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedPodDisruptionBudget(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedPodDisruptionBudget(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -309,16 +321,19 @@ public V1Status deleteCollectionNamespacedPodDisruptionBudget(String namespace, * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -328,8 +343,11 @@ public ApiResponse deleteCollectionNamespacedPodDisruptionBudgetWithHt * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -337,7 +355,7 @@ public ApiResponse deleteCollectionNamespacedPodDisruptionBudgetWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodDisruptionBudgetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -358,7 +376,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -654,8 +672,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedPodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -664,7 +685,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -675,10 +696,16 @@ public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetCall(String nam List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -719,7 +746,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -727,7 +754,7 @@ private com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetValidateBefore } - com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -741,16 +768,19 @@ private com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetValidateBefore * list or watch objects of kind PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1PodDisruptionBudgetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -759,16 +789,19 @@ public V1beta1PodDisruptionBudgetList listNamespacedPodDisruptionBudget(String n * list or watch objects of kind PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1PodDisruptionBudgetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedPodDisruptionBudgetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedPodDisruptionBudgetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -778,8 +811,11 @@ public ApiResponse listNamespacedPodDisruptionBu * list or watch objects of kind PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -787,7 +823,7 @@ public ApiResponse listNamespacedPodDisruptionBu * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodDisruptionBudgetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -808,15 +844,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodDisruptionBudgetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listPodDisruptionBudgetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -826,7 +865,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -834,10 +873,16 @@ public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesCall(Stri List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -880,10 +925,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -895,8 +940,11 @@ private com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesValidate /** * * list or watch objects of kind PodDisruptionBudget + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -904,16 +952,19 @@ private com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesValidate * @return V1beta1PodDisruptionBudgetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPodDisruptionBudgetForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPodDisruptionBudgetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind PodDisruptionBudget + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -921,8 +972,8 @@ public V1beta1PodDisruptionBudgetList listPodDisruptionBudgetForAllNamespaces(St * @return ApiResponse<V1beta1PodDisruptionBudgetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPodDisruptionBudgetForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listPodDisruptionBudgetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -930,8 +981,11 @@ public ApiResponse listPodDisruptionBudgetForAll /** * (asynchronously) * list or watch objects of kind PodDisruptionBudget + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -940,7 +994,7 @@ public ApiResponse listPodDisruptionBudgetForAll * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPodDisruptionBudgetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -961,7 +1015,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodDisruptionBudgetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java index 6061d441ba..ef64082ed7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1Api.java new file mode 100644 index 0000000000..b9feb2a82e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1Api.java @@ -0,0 +1,4870 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1ClusterRole; +import io.kubernetes.client.models.V1ClusterRoleBinding; +import io.kubernetes.client.models.V1ClusterRoleBindingList; +import io.kubernetes.client.models.V1ClusterRoleList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Role; +import io.kubernetes.client.models.V1RoleBinding; +import io.kubernetes.client.models.V1RoleBindingList; +import io.kubernetes.client.models.V1RoleList; +import io.kubernetes.client.models.V1Status; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class RbacAuthorizationV1Api { + private ApiClient apiClient; + + public RbacAuthorizationV1Api() { + this(Configuration.getDefaultApiClient()); + } + + public RbacAuthorizationV1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleCall(V1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createClusterRoleValidateBeforeCall(V1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createClusterRole(Async)"); + } + + + com.squareup.okhttp.Call call = createClusterRoleCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a ClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRole + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRole createClusterRole(V1ClusterRole body, String pretty) throws ApiException { + ApiResponse resp = createClusterRoleWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a ClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRole> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createClusterRoleWithHttpInfo(V1ClusterRole body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createClusterRoleValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a ClusterRole + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createClusterRoleAsync(V1ClusterRole body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createClusterRoleValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createClusterRoleBindingCall(V1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createClusterRoleBindingValidateBeforeCall(V1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createClusterRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = createClusterRoleBindingCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a ClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleBinding createClusterRoleBinding(V1ClusterRoleBinding body, String pretty) throws ApiException { + ApiResponse resp = createClusterRoleBindingWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a ClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createClusterRoleBindingWithHttpInfo(V1ClusterRoleBinding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createClusterRoleBindingValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a ClusterRoleBinding + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createClusterRoleBindingAsync(V1ClusterRoleBinding body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createClusterRoleBindingValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleCall(String namespace, V1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedRoleValidateBeforeCall(String namespace, V1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedRoleCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1Role + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Role createNamespacedRole(String namespace, V1Role body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedRoleWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1Role> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedRoleWithHttpInfo(String namespace, V1Role body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedRoleValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleAsync(String namespace, V1Role body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedRoleValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleBindingCall(String namespace, V1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createNamespacedRoleBindingValidateBeforeCall(String namespace, V1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling createNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = createNamespacedRoleBindingCall(namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1RoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBinding createNamespacedRoleBinding(String namespace, V1RoleBinding body, String pretty) throws ApiException { + ApiResponse resp = createNamespacedRoleBindingWithHttpInfo(namespace, body, pretty); + return resp.getData(); + } + + /** + * + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1RoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createNamespacedRoleBindingWithHttpInfo(String namespace, V1RoleBinding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createNamespacedRoleBindingValidateBeforeCall(namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createNamespacedRoleBindingAsync(String namespace, V1RoleBinding body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createNamespacedRoleBindingValidateBeforeCall(namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteClusterRoleValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteClusterRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteClusterRole(Async)"); + } + + + com.squareup.okhttp.Call call = deleteClusterRoleCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteClusterRole(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteClusterRoleWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteClusterRoleWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteClusterRoleValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteClusterRoleValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleBindingCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteClusterRoleBindingValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteClusterRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteClusterRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = deleteClusterRoleBindingCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteClusterRoleBinding(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteClusterRoleBindingWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteClusterRoleBindingWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteClusterRoleBindingValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteClusterRoleBindingAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteClusterRoleBindingValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteCollectionNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedRoleValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedRole(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedRoleCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedRole(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedRoleWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedRoleWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleBindingCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteNamespacedRoleBindingValidateBeforeCall(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling deleteNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = deleteNamespacedRoleBindingCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteNamespacedRoleBinding(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deleteNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteNamespacedRoleBindingWithHttpInfo(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deleteNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteNamespacedRoleBindingAsync(String name, String namespace, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1ClusterRoleList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleList listClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1ClusterRoleList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ClusterRole + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1ClusterRoleBindingList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleBindingList listClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1ClusterRoleBindingList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind ClusterRoleBinding + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedRole + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1RoleList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleList listNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1RoleList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Role + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listNamespacedRoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings" + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling listNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = listNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1RoleBindingList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBindingList listNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1RoleBindingList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind RoleBinding + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listRoleBindingForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/rolebindings"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1RoleBindingList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBindingList listRoleBindingForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleBindingForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1RoleBindingList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listRoleBindingForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listRoleForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/roles"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listRoleForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1RoleList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleList listRoleForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1RoleList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listRoleForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listRoleForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchClusterRoleValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchClusterRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchClusterRole(Async)"); + } + + + com.squareup.okhttp.Call call = patchClusterRoleCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRole + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRole patchClusterRole(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchClusterRoleWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRole> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchClusterRoleWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchClusterRoleValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchClusterRoleValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleBindingCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchClusterRoleBindingValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchClusterRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchClusterRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = patchClusterRoleBindingCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleBinding patchClusterRoleBinding(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchClusterRoleBindingWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchClusterRoleBindingWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchClusterRoleBindingValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchClusterRoleBindingAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchClusterRoleBindingValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedRoleValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedRole(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedRoleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1Role + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Role patchNamespacedRole(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedRoleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1Role> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedRoleWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleBindingCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchNamespacedRoleBindingValidateBeforeCall(String name, String namespace, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling patchNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = patchNamespacedRoleBindingCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1RoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBinding patchNamespacedRoleBinding(String name, String namespace, Object body, String pretty) throws ApiException { + ApiResponse resp = patchNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1RoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchNamespacedRoleBindingWithHttpInfo(String name, String namespace, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchNamespacedRoleBindingAsync(String name, String namespace, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readClusterRoleValidateBeforeCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readClusterRole(Async)"); + } + + + com.squareup.okhttp.Call call = readClusterRoleCall(name, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRole + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRole readClusterRole(String name, String pretty) throws ApiException { + ApiResponse resp = readClusterRoleWithHttpInfo(name, pretty); + return resp.getData(); + } + + /** + * + * read the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRole> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readClusterRoleWithHttpInfo(String name, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readClusterRoleValidateBeforeCall(name, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readClusterRoleAsync(String name, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readClusterRoleValidateBeforeCall(name, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readClusterRoleBindingCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readClusterRoleBindingValidateBeforeCall(String name, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readClusterRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = readClusterRoleBindingCall(name, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleBinding readClusterRoleBinding(String name, String pretty) throws ApiException { + ApiResponse resp = readClusterRoleBindingWithHttpInfo(name, pretty); + return resp.getData(); + } + + /** + * + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readClusterRoleBindingWithHttpInfo(String name, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readClusterRoleBindingValidateBeforeCall(name, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readClusterRoleBindingAsync(String name, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readClusterRoleBindingValidateBeforeCall(name, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedRoleValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedRole(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedRoleCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1Role + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Role readNamespacedRole(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedRoleWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1Role> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedRoleWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedRoleValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedRoleValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleBindingCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readNamespacedRoleBindingValidateBeforeCall(String name, String namespace, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling readNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = readNamespacedRoleBindingCall(name, namespace, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1RoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBinding readNamespacedRoleBinding(String name, String namespace, String pretty) throws ApiException { + ApiResponse resp = readNamespacedRoleBindingWithHttpInfo(name, namespace, pretty); + return resp.getData(); + } + + /** + * + * read the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1RoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readNamespacedRoleBindingWithHttpInfo(String name, String namespace, String pretty) throws ApiException { + com.squareup.okhttp.Call call = readNamespacedRoleBindingValidateBeforeCall(name, namespace, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readNamespacedRoleBindingAsync(String name, String namespace, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readNamespacedRoleBindingValidateBeforeCall(name, namespace, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleCall(String name, V1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceClusterRoleValidateBeforeCall(String name, V1ClusterRole body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceClusterRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceClusterRole(Async)"); + } + + + com.squareup.okhttp.Call call = replaceClusterRoleCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRole + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRole replaceClusterRole(String name, V1ClusterRole body, String pretty) throws ApiException { + ApiResponse resp = replaceClusterRoleWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRole> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceClusterRoleWithHttpInfo(String name, V1ClusterRole body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceClusterRoleValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified ClusterRole + * @param name name of the ClusterRole (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleAsync(String name, V1ClusterRole body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceClusterRoleValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleBindingCall(String name, V1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceClusterRoleBindingValidateBeforeCall(String name, V1ClusterRoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceClusterRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceClusterRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = replaceClusterRoleBindingCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1ClusterRoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1ClusterRoleBinding replaceClusterRoleBinding(String name, V1ClusterRoleBinding body, String pretty) throws ApiException { + ApiResponse resp = replaceClusterRoleBindingWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1ClusterRoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceClusterRoleBindingWithHttpInfo(String name, V1ClusterRoleBinding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceClusterRoleBindingValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceClusterRoleBindingAsync(String name, V1ClusterRoleBinding body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceClusterRoleBindingValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedRole + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleCall(String name, String namespace, V1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedRoleValidateBeforeCall(String name, String namespace, V1Role body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedRole(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedRole(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedRole(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedRoleCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1Role + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Role replaceNamespacedRole(String name, String namespace, V1Role body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedRoleWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1Role> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedRoleWithHttpInfo(String name, String namespace, V1Role body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified Role + * @param name name of the Role (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleAsync(String name, String namespace, V1Role body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedRoleValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replaceNamespacedRoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleBindingCall(String name, String namespace, V1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "namespace" + "\\}", apiClient.escapeString(namespace.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replaceNamespacedRoleBindingValidateBeforeCall(String name, String namespace, V1RoleBinding body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replaceNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'namespace' is set + if (namespace == null) { + throw new ApiException("Missing the required parameter 'namespace' when calling replaceNamespacedRoleBinding(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replaceNamespacedRoleBinding(Async)"); + } + + + com.squareup.okhttp.Call call = replaceNamespacedRoleBindingCall(name, namespace, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1RoleBinding + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1RoleBinding replaceNamespacedRoleBinding(String name, String namespace, V1RoleBinding body, String pretty) throws ApiException { + ApiResponse resp = replaceNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1RoleBinding> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replaceNamespacedRoleBindingWithHttpInfo(String name, String namespace, V1RoleBinding body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replaceNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified RoleBinding + * @param name name of the RoleBinding (required) + * @param namespace object name and auth scope, such as for teams and projects (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replaceNamespacedRoleBindingAsync(String name, String namespace, V1RoleBinding body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replaceNamespacedRoleBindingValidateBeforeCall(name, namespace, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java index 008631fd72..f451486d5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -935,8 +935,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -945,7 +948,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -955,10 +958,16 @@ public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, S List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -999,10 +1008,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1015,16 +1024,19 @@ private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(S * * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionClusterRole(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionClusterRoleWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1032,16 +1044,19 @@ public V1Status deleteCollectionClusterRole(String pretty, String fieldSelector, * * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1050,8 +1065,11 @@ public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pret * (asynchronously) * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1059,7 +1077,7 @@ public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pret * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1080,7 +1098,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1088,8 +1106,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1098,7 +1119,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1108,10 +1129,16 @@ public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pr List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1152,10 +1179,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1168,16 +1195,19 @@ private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBefor * * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionClusterRoleBinding(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionClusterRoleBindingWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1185,16 +1215,19 @@ public V1Status deleteCollectionClusterRoleBinding(String pretty, String fieldSe * * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1203,8 +1236,11 @@ public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(Stri * (asynchronously) * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1212,7 +1248,7 @@ public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1233,7 +1269,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1242,8 +1278,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedRole * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1252,7 +1291,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1263,10 +1302,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namesp List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1307,7 +1352,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1315,7 +1360,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCal } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1329,16 +1374,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCal * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1347,16 +1395,19 @@ public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1366,8 +1417,11 @@ public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String n * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1375,7 +1429,7 @@ public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1396,7 +1450,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1405,8 +1459,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedRoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1415,7 +1472,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1426,10 +1483,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1470,7 +1533,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1478,7 +1541,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBe } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1492,16 +1555,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBe * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1510,16 +1576,19 @@ public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String p * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1529,8 +1598,11 @@ public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(S * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1538,7 +1610,7 @@ public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1559,7 +1631,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2024,8 +2096,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2034,7 +2109,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2044,10 +2119,16 @@ public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldS List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2088,10 +2169,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2104,16 +2185,19 @@ private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty * * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1alpha1ClusterRoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1ClusterRoleList listClusterRole(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listClusterRoleWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1alpha1ClusterRoleList listClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2121,16 +2205,19 @@ public V1alpha1ClusterRoleList listClusterRole(String pretty, String fieldSelect * * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1alpha1ClusterRoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listClusterRoleWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2139,8 +2226,11 @@ public ApiResponse listClusterRoleWithHttpInfo(String p * (asynchronously) * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2148,7 +2238,7 @@ public ApiResponse listClusterRoleWithHttpInfo(String p * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listClusterRoleAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2169,7 +2259,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2177,8 +2267,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2187,7 +2280,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2197,10 +2290,16 @@ public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2241,10 +2340,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleBindingCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2257,16 +2356,19 @@ private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String * * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1alpha1ClusterRoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1ClusterRoleBindingList listClusterRoleBinding(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listClusterRoleBindingWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1alpha1ClusterRoleBindingList listClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2274,16 +2376,19 @@ public V1alpha1ClusterRoleBindingList listClusterRoleBinding(String pretty, Stri * * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1alpha1ClusterRoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listClusterRoleBindingWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2292,8 +2397,11 @@ public ApiResponse listClusterRoleBindingWithHtt * (asynchronously) * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2301,7 +2409,7 @@ public ApiResponse listClusterRoleBindingWithHtt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listClusterRoleBindingAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2322,7 +2430,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2331,8 +2439,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedRole * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2341,7 +2452,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2352,10 +2463,16 @@ public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2396,7 +2513,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -2404,7 +2521,7 @@ private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String nam } - com.squareup.okhttp.Call call = listNamespacedRoleCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2418,16 +2535,19 @@ private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String nam * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1alpha1RoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1RoleList listNamespacedRole(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedRoleWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1alpha1RoleList listNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2436,16 +2556,19 @@ public V1alpha1RoleList listNamespacedRole(String namespace, String pretty, Stri * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1alpha1RoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedRoleWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2455,8 +2578,11 @@ public ApiResponse listNamespacedRoleWithHttpInfo(String names * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2464,7 +2590,7 @@ public ApiResponse listNamespacedRoleWithHttpInfo(String names * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2485,7 +2611,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2494,8 +2620,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedRoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2504,7 +2633,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2515,10 +2644,16 @@ public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2559,7 +2694,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -2567,7 +2702,7 @@ private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(Str } - com.squareup.okhttp.Call call = listNamespacedRoleBindingCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2581,16 +2716,19 @@ private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(Str * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1alpha1RoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1RoleBindingList listNamespacedRoleBinding(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedRoleBindingWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1alpha1RoleBindingList listNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2599,16 +2737,19 @@ public V1alpha1RoleBindingList listNamespacedRoleBinding(String namespace, Strin * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1alpha1RoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2618,8 +2759,11 @@ public ApiResponse listNamespacedRoleBindingWithHttpInf * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2627,7 +2771,7 @@ public ApiResponse listNamespacedRoleBindingWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleBindingAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2648,15 +2792,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listRoleBindingForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2666,7 +2813,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2674,10 +2821,16 @@ public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String field List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -2720,10 +2873,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2735,8 +2888,11 @@ private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCa /** * * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2744,16 +2900,19 @@ private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCa * @return V1alpha1RoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1RoleBindingList listRoleBindingForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listRoleBindingForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1alpha1RoleBindingList listRoleBindingForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleBindingForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2761,8 +2920,8 @@ public V1alpha1RoleBindingList listRoleBindingForAllNamespaces(String fieldSelec * @return ApiResponse<V1alpha1RoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listRoleBindingForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listRoleBindingForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2770,8 +2929,11 @@ public ApiResponse listRoleBindingForAllNamespacesWithH /** * (asynchronously) * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2780,7 +2942,7 @@ public ApiResponse listRoleBindingForAllNamespacesWithH * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listRoleBindingForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2801,15 +2963,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listRoleForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2819,7 +2984,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2827,10 +2992,16 @@ public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelecto List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -2873,10 +3044,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listRoleForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2888,8 +3059,11 @@ private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(Stri /** * * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2897,16 +3071,19 @@ private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(Stri * @return V1alpha1RoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1RoleList listRoleForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listRoleForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1alpha1RoleList listRoleForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2914,8 +3091,8 @@ public V1alpha1RoleList listRoleForAllNamespaces(String fieldSelector, String la * @return ApiResponse<V1alpha1RoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listRoleForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listRoleForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2923,8 +3100,11 @@ public ApiResponse listRoleForAllNamespacesWithHttpInfo(String /** * (asynchronously) * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2933,7 +3113,7 @@ public ApiResponse listRoleForAllNamespacesWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listRoleForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listRoleForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2954,7 +3134,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java index d931e1e0cf..1e383a2a5d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -935,8 +935,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -945,7 +948,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -955,10 +958,16 @@ public com.squareup.okhttp.Call deleteCollectionClusterRoleCall(String pretty, S List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -999,10 +1008,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1015,16 +1024,19 @@ private com.squareup.okhttp.Call deleteCollectionClusterRoleValidateBeforeCall(S * * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionClusterRole(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionClusterRoleWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1032,16 +1044,19 @@ public V1Status deleteCollectionClusterRole(String pretty, String fieldSelector, * * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1050,8 +1065,11 @@ public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pret * (asynchronously) * delete collection of ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1059,7 +1077,7 @@ public ApiResponse deleteCollectionClusterRoleWithHttpInfo(String pret * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1080,7 +1098,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1088,8 +1106,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1098,7 +1119,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1108,10 +1129,16 @@ public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingCall(String pr List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1152,10 +1179,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1168,16 +1195,19 @@ private com.squareup.okhttp.Call deleteCollectionClusterRoleBindingValidateBefor * * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionClusterRoleBinding(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionClusterRoleBindingWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1185,16 +1215,19 @@ public V1Status deleteCollectionClusterRoleBinding(String pretty, String fieldSe * * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1203,8 +1236,11 @@ public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(Stri * (asynchronously) * delete collection of ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1212,7 +1248,7 @@ public ApiResponse deleteCollectionClusterRoleBindingWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1233,7 +1269,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1242,8 +1278,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedRole * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1252,7 +1291,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1263,10 +1302,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedRoleCall(String namesp List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1307,7 +1352,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1315,7 +1360,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCal } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1329,16 +1374,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleValidateBeforeCal * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1347,16 +1395,19 @@ public V1Status deleteCollectionNamespacedRole(String namespace, String pretty, * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1366,8 +1417,11 @@ public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String n * delete collection of Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1375,7 +1429,7 @@ public ApiResponse deleteCollectionNamespacedRoleWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1396,7 +1450,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -1405,8 +1459,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedRoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1415,7 +1472,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1426,10 +1483,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingCall(String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -1470,7 +1533,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -1478,7 +1541,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBe } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -1492,16 +1555,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingValidateBe * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -1510,16 +1576,19 @@ public V1Status deleteCollectionNamespacedRoleBinding(String namespace, String p * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -1529,8 +1598,11 @@ public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(S * delete collection of RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -1538,7 +1610,7 @@ public ApiResponse deleteCollectionNamespacedRoleBindingWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1559,7 +1631,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2024,8 +2096,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2034,7 +2109,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2044,10 +2119,16 @@ public com.squareup.okhttp.Call listClusterRoleCall(String pretty, String fieldS List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2088,10 +2169,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2104,16 +2185,19 @@ private com.squareup.okhttp.Call listClusterRoleValidateBeforeCall(String pretty * * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1ClusterRoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ClusterRoleList listClusterRole(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listClusterRoleWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1ClusterRoleList listClusterRole(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2121,16 +2205,19 @@ public V1beta1ClusterRoleList listClusterRole(String pretty, String fieldSelecto * * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1ClusterRoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listClusterRoleWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listClusterRoleWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2139,8 +2226,11 @@ public ApiResponse listClusterRoleWithHttpInfo(String pr * (asynchronously) * list or watch objects of kind ClusterRole * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2148,7 +2238,7 @@ public ApiResponse listClusterRoleWithHttpInfo(String pr * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listClusterRoleAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2169,7 +2259,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2177,8 +2267,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2187,7 +2280,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2197,10 +2290,16 @@ public com.squareup.okhttp.Call listClusterRoleBindingCall(String pretty, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2241,10 +2340,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleBindingCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleBindingCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2257,16 +2356,19 @@ private com.squareup.okhttp.Call listClusterRoleBindingValidateBeforeCall(String * * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1ClusterRoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1ClusterRoleBindingList listClusterRoleBinding(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listClusterRoleBindingWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1ClusterRoleBindingList listClusterRoleBinding(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listClusterRoleBindingWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2274,16 +2376,19 @@ public V1beta1ClusterRoleBindingList listClusterRoleBinding(String pretty, Strin * * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1ClusterRoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listClusterRoleBindingWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listClusterRoleBindingWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2292,8 +2397,11 @@ public ApiResponse listClusterRoleBindingWithHttp * (asynchronously) * list or watch objects of kind ClusterRoleBinding * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2301,7 +2409,7 @@ public ApiResponse listClusterRoleBindingWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listClusterRoleBindingAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listClusterRoleBindingAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2322,7 +2430,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listClusterRoleBindingValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2331,8 +2439,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedRole * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2341,7 +2452,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2352,10 +2463,16 @@ public com.squareup.okhttp.Call listNamespacedRoleCall(String namespace, String List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2396,7 +2513,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -2404,7 +2521,7 @@ private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String nam } - com.squareup.okhttp.Call call = listNamespacedRoleCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2418,16 +2535,19 @@ private com.squareup.okhttp.Call listNamespacedRoleValidateBeforeCall(String nam * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1RoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1RoleList listNamespacedRole(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedRoleWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1RoleList listNamespacedRole(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2436,16 +2556,19 @@ public V1beta1RoleList listNamespacedRole(String namespace, String pretty, Strin * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1RoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedRoleWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedRoleWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2455,8 +2578,11 @@ public ApiResponse listNamespacedRoleWithHttpInfo(String namesp * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2464,7 +2590,7 @@ public ApiResponse listNamespacedRoleWithHttpInfo(String namesp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2485,7 +2611,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -2494,8 +2620,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedRoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2504,7 +2633,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2515,10 +2644,16 @@ public com.squareup.okhttp.Call listNamespacedRoleBindingCall(String namespace, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -2559,7 +2694,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -2567,7 +2702,7 @@ private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(Str } - com.squareup.okhttp.Call call = listNamespacedRoleBindingCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleBindingCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2581,16 +2716,19 @@ private com.squareup.okhttp.Call listNamespacedRoleBindingValidateBeforeCall(Str * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1RoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1RoleBindingList listNamespacedRoleBinding(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedRoleBindingWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1RoleBindingList listNamespacedRoleBinding(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -2599,16 +2737,19 @@ public V1beta1RoleBindingList listNamespacedRoleBinding(String namespace, String * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1RoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedRoleBindingWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2618,8 +2759,11 @@ public ApiResponse listNamespacedRoleBindingWithHttpInfo * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -2627,7 +2771,7 @@ public ApiResponse listNamespacedRoleBindingWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedRoleBindingAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedRoleBindingAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2648,15 +2792,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedRoleBindingValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listRoleBindingForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2666,7 +2813,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2674,10 +2821,16 @@ public com.squareup.okhttp.Call listRoleBindingForAllNamespacesCall(String field List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -2720,10 +2873,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2735,8 +2888,11 @@ private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCa /** * * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2744,16 +2900,19 @@ private com.squareup.okhttp.Call listRoleBindingForAllNamespacesValidateBeforeCa * @return V1beta1RoleBindingList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1RoleBindingList listRoleBindingForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listRoleBindingForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1RoleBindingList listRoleBindingForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleBindingForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2761,8 +2920,8 @@ public V1beta1RoleBindingList listRoleBindingForAllNamespaces(String fieldSelect * @return ApiResponse<V1beta1RoleBindingList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listRoleBindingForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listRoleBindingForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2770,8 +2929,11 @@ public ApiResponse listRoleBindingForAllNamespacesWithHt /** * (asynchronously) * list or watch objects of kind RoleBinding + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2780,7 +2942,7 @@ public ApiResponse listRoleBindingForAllNamespacesWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listRoleBindingForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listRoleBindingForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2801,15 +2963,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleBindingForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listRoleForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2819,7 +2984,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -2827,10 +2992,16 @@ public com.squareup.okhttp.Call listRoleForAllNamespacesCall(String fieldSelecto List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -2873,10 +3044,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listRoleForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -2888,8 +3059,11 @@ private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(Stri /** * * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2897,16 +3071,19 @@ private com.squareup.okhttp.Call listRoleForAllNamespacesValidateBeforeCall(Stri * @return V1beta1RoleList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1RoleList listRoleForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listRoleForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1beta1RoleList listRoleForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listRoleForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2914,8 +3091,8 @@ public V1beta1RoleList listRoleForAllNamespaces(String fieldSelector, String lab * @return ApiResponse<V1beta1RoleList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listRoleForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listRoleForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -2923,8 +3100,11 @@ public ApiResponse listRoleForAllNamespacesWithHttpInfo(String /** * (asynchronously) * list or watch objects of kind Role + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -2933,7 +3113,7 @@ public ApiResponse listRoleForAllNamespacesWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listRoleForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listRoleForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2954,7 +3134,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listRoleForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingApi.java new file mode 100644 index 0000000000..5ca9e0941e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingApi.java @@ -0,0 +1,174 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIGroup; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class SchedulingApi { + private ApiClient apiClient; + + public SchedulingApi() { + this(Configuration.getDefaultApiClient()); + } + + public SchedulingApi(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for getAPIGroup + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIGroupCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIGroupValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIGroupCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get information of a group + * @return V1APIGroup + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIGroup getAPIGroup() throws ApiException { + ApiResponse resp = getAPIGroupWithHttpInfo(); + return resp.getData(); + } + + /** + * + * get information of a group + * @return ApiResponse<V1APIGroup> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getAPIGroupWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get information of a group + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIGroupAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIGroupValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingV1alpha1Api.java new file mode 100644 index 0000000000..fb93900cf8 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SchedulingV1alpha1Api.java @@ -0,0 +1,1241 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiCallback; +import io.kubernetes.client.ApiClient; +import io.kubernetes.client.ApiException; +import io.kubernetes.client.ApiResponse; +import io.kubernetes.client.Configuration; +import io.kubernetes.client.Pair; +import io.kubernetes.client.ProgressRequestBody; +import io.kubernetes.client.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1alpha1PriorityClass; +import io.kubernetes.client.models.V1alpha1PriorityClassList; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class SchedulingV1alpha1Api { + private ApiClient apiClient; + + public SchedulingV1alpha1Api() { + this(Configuration.getDefaultApiClient()); + } + + public SchedulingV1alpha1Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for createPriorityClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createPriorityClassCall(V1alpha1PriorityClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createPriorityClassValidateBeforeCall(V1alpha1PriorityClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createPriorityClass(Async)"); + } + + + com.squareup.okhttp.Call call = createPriorityClassCall(body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * create a PriorityClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1PriorityClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1PriorityClass createPriorityClass(V1alpha1PriorityClass body, String pretty) throws ApiException { + ApiResponse resp = createPriorityClassWithHttpInfo(body, pretty); + return resp.getData(); + } + + /** + * + * create a PriorityClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1PriorityClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createPriorityClassWithHttpInfo(V1alpha1PriorityClass body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = createPriorityClassValidateBeforeCall(body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * create a PriorityClass + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createPriorityClassAsync(V1alpha1PriorityClass body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createPriorityClassValidateBeforeCall(body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteCollectionPriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteCollectionPriorityClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteCollectionPriorityClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = deleteCollectionPriorityClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete collection of PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deleteCollectionPriorityClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionPriorityClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * delete collection of PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteCollectionPriorityClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionPriorityClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete collection of PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteCollectionPriorityClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteCollectionPriorityClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deletePriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deletePriorityClassCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (gracePeriodSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("gracePeriodSeconds", gracePeriodSeconds)); + if (orphanDependents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orphanDependents", orphanDependents)); + if (propagationPolicy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("propagationPolicy", propagationPolicy)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deletePriorityClassValidateBeforeCall(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deletePriorityClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deletePriorityClass(Async)"); + } + + + com.squareup.okhttp.Call call = deletePriorityClassCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * delete a PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return V1Status + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1Status deletePriorityClass(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + ApiResponse resp = deletePriorityClassWithHttpInfo(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + return resp.getData(); + } + + /** + * + * delete a PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @return ApiResponse<V1Status> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deletePriorityClassWithHttpInfo(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException { + com.squareup.okhttp.Call call = deletePriorityClassValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * delete a PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deletePriorityClassAsync(String name, V1DeleteOptions body, String pretty, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deletePriorityClassValidateBeforeCall(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getAPIResources + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getAPIResourcesValidateBeforeCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = getAPIResourcesCall(progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * get available resources + * @return V1APIResourceList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1APIResourceList getAPIResources() throws ApiException { + ApiResponse resp = getAPIResourcesWithHttpInfo(); + return resp.getData(); + } + + /** + * + * 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 getAPIResourcesWithHttpInfo() throws ApiException { + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * get available resources + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getAPIResourcesAsync(final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for listPriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listPriorityClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); + if (fieldSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); + if (labelSelector != null) + localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); + if (resourceVersion != null) + localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); + if (timeoutSeconds != null) + localVarQueryParams.addAll(apiClient.parameterToPair("timeoutSeconds", timeoutSeconds)); + if (watch != null) + localVarQueryParams.addAll(apiClient.parameterToPair("watch", watch)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", "application/json;stream=watch", "application/vnd.kubernetes.protobuf;stream=watch" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listPriorityClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + + com.squareup.okhttp.Call call = listPriorityClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * list or watch objects of kind PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return V1alpha1PriorityClassList + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1PriorityClassList listPriorityClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPriorityClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + return resp.getData(); + } + + /** + * + * list or watch objects of kind PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @return ApiResponse<V1alpha1PriorityClassList> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listPriorityClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPriorityClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * list or watch objects of kind PriorityClass + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) + * @param timeoutSeconds Timeout for the list/watch call. (optional) + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listPriorityClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listPriorityClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for patchPriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call patchPriorityClassCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call patchPriorityClassValidateBeforeCall(String name, Object body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling patchPriorityClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling patchPriorityClass(Async)"); + } + + + com.squareup.okhttp.Call call = patchPriorityClassCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * partially update the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1PriorityClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1PriorityClass patchPriorityClass(String name, Object body, String pretty) throws ApiException { + ApiResponse resp = patchPriorityClassWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * partially update the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1PriorityClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse patchPriorityClassWithHttpInfo(String name, Object body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = patchPriorityClassValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * partially update the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call patchPriorityClassAsync(String name, Object body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = patchPriorityClassValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for readPriorityClass + * @param name name of the PriorityClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call readPriorityClassCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (exact != null) + localVarQueryParams.addAll(apiClient.parameterToPair("exact", exact)); + if (export != null) + localVarQueryParams.addAll(apiClient.parameterToPair("export", export)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call readPriorityClassValidateBeforeCall(String name, String pretty, Boolean exact, Boolean export, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling readPriorityClass(Async)"); + } + + + com.squareup.okhttp.Call call = readPriorityClassCall(name, pretty, exact, export, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * read the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return V1alpha1PriorityClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1PriorityClass readPriorityClass(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + ApiResponse resp = readPriorityClassWithHttpInfo(name, pretty, exact, export); + return resp.getData(); + } + + /** + * + * read the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @return ApiResponse<V1alpha1PriorityClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse readPriorityClassWithHttpInfo(String name, String pretty, Boolean exact, Boolean export) throws ApiException { + com.squareup.okhttp.Call call = readPriorityClassValidateBeforeCall(name, pretty, exact, export, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * read the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) + * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call readPriorityClassAsync(String name, String pretty, Boolean exact, Boolean export, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = readPriorityClassValidateBeforeCall(name, pretty, exact, export, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for replacePriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call replacePriorityClassCall(String name, V1alpha1PriorityClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pretty != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "*/*" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "BearerToken" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call replacePriorityClassValidateBeforeCall(String name, V1alpha1PriorityClass body, String pretty, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling replacePriorityClass(Async)"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling replacePriorityClass(Async)"); + } + + + com.squareup.okhttp.Call call = replacePriorityClassCall(name, body, pretty, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * replace the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return V1alpha1PriorityClass + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public V1alpha1PriorityClass replacePriorityClass(String name, V1alpha1PriorityClass body, String pretty) throws ApiException { + ApiResponse resp = replacePriorityClassWithHttpInfo(name, body, pretty); + return resp.getData(); + } + + /** + * + * replace the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @return ApiResponse<V1alpha1PriorityClass> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse replacePriorityClassWithHttpInfo(String name, V1alpha1PriorityClass body, String pretty) throws ApiException { + com.squareup.okhttp.Call call = replacePriorityClassValidateBeforeCall(name, body, pretty, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * replace the specified PriorityClass + * @param name name of the PriorityClass (required) + * @param body (required) + * @param pretty If 'true', then the output is pretty printed. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call replacePriorityClassAsync(String name, V1alpha1PriorityClass body, String pretty, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = replacePriorityClassValidateBeforeCall(name, body, pretty, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java index 0e002ec11d..98e6ab0d8b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java index 0de6006c93..3f435b69cb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/SettingsV1alpha1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -204,8 +204,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for deleteCollectionNamespacedPodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -214,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -225,10 +228,16 @@ public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetCall(String n List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -269,7 +278,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -277,7 +286,7 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetValidateBefo } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -291,16 +300,19 @@ private com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetValidateBefo * delete collection of PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionNamespacedPodPreset(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionNamespacedPodPresetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionNamespacedPodPreset(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionNamespacedPodPresetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -309,16 +321,19 @@ public V1Status deleteCollectionNamespacedPodPreset(String namespace, String pre * delete collection of PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionNamespacedPodPresetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionNamespacedPodPresetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -328,8 +343,11 @@ public ApiResponse deleteCollectionNamespacedPodPresetWithHttpInfo(Str * delete collection of PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -337,7 +355,7 @@ public ApiResponse deleteCollectionNamespacedPodPresetWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionNamespacedPodPresetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -358,7 +376,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionNamespacedPodPresetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -654,8 +672,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for listNamespacedPodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -664,7 +685,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listNamespacedPodPresetCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodPresetCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -675,10 +696,16 @@ public com.squareup.okhttp.Call listNamespacedPodPresetCall(String namespace, St List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -719,7 +746,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listNamespacedPodPresetValidateBeforeCall(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listNamespacedPodPresetValidateBeforeCall(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'namespace' is set if (namespace == null) { @@ -727,7 +754,7 @@ private com.squareup.okhttp.Call listNamespacedPodPresetValidateBeforeCall(Strin } - com.squareup.okhttp.Call call = listNamespacedPodPresetCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodPresetCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -741,16 +768,19 @@ private com.squareup.okhttp.Call listNamespacedPodPresetValidateBeforeCall(Strin * list or watch objects of kind PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1alpha1PodPresetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1PodPresetList listNamespacedPodPreset(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listNamespacedPodPresetWithHttpInfo(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1alpha1PodPresetList listNamespacedPodPreset(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listNamespacedPodPresetWithHttpInfo(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -759,16 +789,19 @@ public V1alpha1PodPresetList listNamespacedPodPreset(String namespace, String pr * list or watch objects of kind PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1alpha1PodPresetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listNamespacedPodPresetWithHttpInfo(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listNamespacedPodPresetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listNamespacedPodPresetWithHttpInfo(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listNamespacedPodPresetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -778,8 +811,11 @@ public ApiResponse listNamespacedPodPresetWithHttpInfo(St * list or watch objects of kind PodPreset * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -787,7 +823,7 @@ public ApiResponse listNamespacedPodPresetWithHttpInfo(St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listNamespacedPodPresetAsync(String namespace, String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listNamespacedPodPresetAsync(String namespace, String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -808,15 +844,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listNamespacedPodPresetValidateBeforeCall(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listNamespacedPodPresetValidateBeforeCall(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** * Build call for listPodPresetForAllNamespaces + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -826,7 +865,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listPodPresetForAllNamespacesCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listPodPresetForAllNamespacesCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -834,10 +873,16 @@ public com.squareup.okhttp.Call listPodPresetForAllNamespacesCall(String fieldSe List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); if (resourceVersion != null) @@ -880,10 +925,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listPodPresetForAllNamespacesValidateBeforeCall(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listPodPresetForAllNamespacesValidateBeforeCall(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listPodPresetForAllNamespacesCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodPresetForAllNamespacesCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -895,8 +940,11 @@ private com.squareup.okhttp.Call listPodPresetForAllNamespacesValidateBeforeCall /** * * list or watch objects of kind PodPreset + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -904,16 +952,19 @@ private com.squareup.okhttp.Call listPodPresetForAllNamespacesValidateBeforeCall * @return V1alpha1PodPresetList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1alpha1PodPresetList listPodPresetForAllNamespaces(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listPodPresetForAllNamespacesWithHttpInfo(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + public V1alpha1PodPresetList listPodPresetForAllNamespaces(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listPodPresetForAllNamespacesWithHttpInfo(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); return resp.getData(); } /** * * list or watch objects of kind PodPreset + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -921,8 +972,8 @@ public V1alpha1PodPresetList listPodPresetForAllNamespaces(String fieldSelector, * @return ApiResponse<V1alpha1PodPresetList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listPodPresetForAllNamespacesWithHttpInfo(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listPodPresetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listPodPresetForAllNamespacesWithHttpInfo(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listPodPresetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -930,8 +981,11 @@ public ApiResponse listPodPresetForAllNamespacesWithHttpI /** * (asynchronously) * list or watch objects of kind PodPreset + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param pretty If 'true', then the output is pretty printed. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) @@ -940,7 +994,7 @@ public ApiResponse listPodPresetForAllNamespacesWithHttpI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listPodPresetForAllNamespacesAsync(String fieldSelector, String labelSelector, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listPodPresetForAllNamespacesAsync(String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String pretty, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -961,7 +1015,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listPodPresetForAllNamespacesValidateBeforeCall(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listPodPresetForAllNamespacesValidateBeforeCall(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java index 19b76df265..dd61ee18a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java index 1eade48697..598bb7a77a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -193,8 +193,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionStorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -203,7 +206,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -213,10 +216,16 @@ public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -257,10 +266,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionStorageClassCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionStorageClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -273,16 +282,19 @@ private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall( * * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionStorageClass(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionStorageClassWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionStorageClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionStorageClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -290,16 +302,19 @@ public V1Status deleteCollectionStorageClass(String pretty, String fieldSelector * * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -308,8 +323,11 @@ public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pre * (asynchronously) * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -317,7 +335,7 @@ public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pre * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionStorageClassAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionStorageClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -338,7 +356,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -623,8 +641,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listStorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -633,7 +654,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listStorageClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -643,10 +664,16 @@ public com.squareup.okhttp.Call listStorageClassCall(String pretty, String field List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -687,10 +714,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listStorageClassCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listStorageClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -703,16 +730,19 @@ private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String prett * * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1StorageClassList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1StorageClassList listStorageClass(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listStorageClassWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1StorageClassList listStorageClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listStorageClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -720,16 +750,19 @@ public V1StorageClassList listStorageClass(String pretty, String fieldSelector, * * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1StorageClassList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listStorageClassWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listStorageClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -738,8 +771,11 @@ public ApiResponse listStorageClassWithHttpInfo(String prett * (asynchronously) * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -747,7 +783,7 @@ public ApiResponse listStorageClassWithHttpInfo(String prett * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listStorageClassAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listStorageClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -768,7 +804,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java index e69a15b804..1771d52193 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/StorageV1beta1Api.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -193,8 +193,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for deleteCollectionStorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -203,7 +206,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -213,10 +216,16 @@ public com.squareup.okhttp.Call deleteCollectionStorageClassCall(String pretty, List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -257,10 +266,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionStorageClassCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionStorageClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -273,16 +282,19 @@ private com.squareup.okhttp.Call deleteCollectionStorageClassValidateBeforeCall( * * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1Status * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1Status deleteCollectionStorageClass(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = deleteCollectionStorageClassWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1Status deleteCollectionStorageClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = deleteCollectionStorageClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -290,16 +302,19 @@ public V1Status deleteCollectionStorageClass(String pretty, String fieldSelector * * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1Status> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -308,8 +323,11 @@ public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pre * (asynchronously) * delete collection of StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -317,7 +335,7 @@ public ApiResponse deleteCollectionStorageClassWithHttpInfo(String pre * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteCollectionStorageClassAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteCollectionStorageClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -338,7 +356,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteCollectionStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -623,8 +641,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for listStorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -633,7 +654,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call listStorageClassCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call listStorageClassCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -643,10 +664,16 @@ public com.squareup.okhttp.Call listStorageClassCall(String pretty, String field List localVarCollectionQueryParams = new ArrayList(); if (pretty != null) localVarQueryParams.addAll(apiClient.parameterToPair("pretty", pretty)); + if (_continue != null) + localVarQueryParams.addAll(apiClient.parameterToPair("continue", _continue)); if (fieldSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("fieldSelector", fieldSelector)); + if (includeUninitialized != null) + localVarQueryParams.addAll(apiClient.parameterToPair("includeUninitialized", includeUninitialized)); if (labelSelector != null) localVarQueryParams.addAll(apiClient.parameterToPair("labelSelector", labelSelector)); + if (limit != null) + localVarQueryParams.addAll(apiClient.parameterToPair("limit", limit)); if (resourceVersion != null) localVarQueryParams.addAll(apiClient.parameterToPair("resourceVersion", resourceVersion)); if (timeoutSeconds != null) @@ -687,10 +714,10 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = listStorageClassCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listStorageClassCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); return call; @@ -703,16 +730,19 @@ private com.squareup.okhttp.Call listStorageClassValidateBeforeCall(String prett * * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return V1beta1StorageClassList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public V1beta1StorageClassList listStorageClass(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - ApiResponse resp = listStorageClassWithHttpInfo(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + public V1beta1StorageClassList listStorageClass(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + ApiResponse resp = listStorageClassWithHttpInfo(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); return resp.getData(); } @@ -720,16 +750,19 @@ public V1beta1StorageClassList listStorageClass(String pretty, String fieldSelec * * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) * @return ApiResponse<V1beta1StorageClassList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse listStorageClassWithHttpInfo(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { - com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, null, null); + public ApiResponse listStorageClassWithHttpInfo(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch) throws ApiException { + com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } @@ -738,8 +771,11 @@ public ApiResponse listStorageClassWithHttpInfo(String * (asynchronously) * list or watch objects of kind StorageClass * @param pretty If 'true', then the output is pretty printed. (optional) + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + * @param includeUninitialized If true, partially initialized resources are included in the response. (optional) * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) * @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) * @param timeoutSeconds Timeout for the list/watch call. (optional) * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) @@ -747,7 +783,7 @@ public ApiResponse listStorageClassWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call listStorageClassAsync(String pretty, String fieldSelector, String labelSelector, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call listStorageClassAsync(String pretty, String _continue, String fieldSelector, Boolean includeUninitialized, String labelSelector, Integer limit, String resourceVersion, Integer timeoutSeconds, Boolean watch, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -768,7 +804,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = listStorageClassValidateBeforeCall(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; diff --git a/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java b/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java index 075a31c212..b372859e38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java +++ b/kubernetes/src/main/java/io/kubernetes/client/apis/VersionApi.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/auth/ApiKeyAuth.java b/kubernetes/src/main/java/io/kubernetes/client/auth/ApiKeyAuth.java index d5757398a7..d63c4fd056 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/auth/ApiKeyAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/auth/ApiKeyAuth.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/auth/Authentication.java b/kubernetes/src/main/java/io/kubernetes/client/auth/Authentication.java index 24b97d912f..ad80b9f254 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/auth/Authentication.java +++ b/kubernetes/src/main/java/io/kubernetes/client/auth/Authentication.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/auth/HttpBasicAuth.java b/kubernetes/src/main/java/io/kubernetes/client/auth/HttpBasicAuth.java index 304724bd61..ceab188cf1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/auth/HttpBasicAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/auth/HttpBasicAuth.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/auth/OAuth.java b/kubernetes/src/main/java/io/kubernetes/client/auth/OAuth.java index 4728a1cf3e..8a5b6da2fb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/auth/OAuth.java +++ b/kubernetes/src/main/java/io/kubernetes/client/auth/OAuth.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/auth/OAuthFlow.java b/kubernetes/src/main/java/io/kubernetes/client/auth/OAuthFlow.java index 0433e92961..d2bbad453b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/auth/OAuthFlow.java +++ b/kubernetes/src/main/java/io/kubernetes/client/auth/OAuthFlow.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Deployment.java index 690c3ba8ab..a90393fcf1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Deployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Deployment.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * Deployment enables declarative updates for Pods and ReplicaSets. + * DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. */ -@ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.") +@ApiModel(description = "DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.") public class AppsV1beta1Deployment { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public AppsV1beta1Deployment apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public AppsV1beta1Deployment kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentCondition.java index f1b3829f6a..443eb0d9cb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentList.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentList.java index 745c7fbd57..b63c3af605 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public AppsV1beta1DeploymentList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public AppsV1beta1DeploymentList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentRollback.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentRollback.java index 9c8ceffe30..0d2f8255e4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentRollback.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentRollback.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,9 +28,9 @@ import java.util.Map; /** - * DeploymentRollback stores the information required to rollback a deployment. + * DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. */ -@ApiModel(description = "DeploymentRollback stores the information required to rollback a deployment.") +@ApiModel(description = "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.") public class AppsV1beta1DeploymentRollback { @SerializedName("apiVersion") @@ -54,10 +54,10 @@ public AppsV1beta1DeploymentRollback apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -72,10 +72,10 @@ public AppsV1beta1DeploymentRollback kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentSpec.java index 41ee9fdea4..c980218dd2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -102,10 +102,10 @@ public AppsV1beta1DeploymentSpec progressDeadlineSeconds(Integer progressDeadlin } /** - * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. * @return progressDeadlineSeconds **/ - @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.") + @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.") public Integer getProgressDeadlineSeconds() { return progressDeadlineSeconds; } @@ -156,10 +156,10 @@ public AppsV1beta1DeploymentSpec rollbackTo(AppsV1beta1RollbackConfig rollbackTo } /** - * The config this deployment is rolling back to. Will be cleared after rollback is done. + * DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. * @return rollbackTo **/ - @ApiModelProperty(value = "The config this deployment is rolling back to. Will be cleared after rollback is done.") + @ApiModelProperty(value = "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.") public AppsV1beta1RollbackConfig getRollbackTo() { return rollbackTo; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStatus.java index af307df14b..9bbc11ea47 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -35,6 +35,9 @@ public class AppsV1beta1DeploymentStatus { @SerializedName("availableReplicas") private Integer availableReplicas = null; + @SerializedName("collisionCount") + private Integer collisionCount = null; + @SerializedName("conditions") private List conditions = null; @@ -71,6 +74,24 @@ public void setAvailableReplicas(Integer availableReplicas) { this.availableReplicas = availableReplicas; } + public AppsV1beta1DeploymentStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + * @return collisionCount + **/ + @ApiModelProperty(value = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + public AppsV1beta1DeploymentStatus conditions(List conditions) { this.conditions = conditions; return this; @@ -157,10 +178,10 @@ public AppsV1beta1DeploymentStatus unavailableReplicas(Integer unavailableReplic } /** - * Total number of unavailable pods targeted by this deployment. + * Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. * @return unavailableReplicas **/ - @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment.") + @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.") public Integer getUnavailableReplicas() { return unavailableReplicas; } @@ -198,6 +219,7 @@ public boolean equals(java.lang.Object o) { } AppsV1beta1DeploymentStatus appsV1beta1DeploymentStatus = (AppsV1beta1DeploymentStatus) o; return Objects.equals(this.availableReplicas, appsV1beta1DeploymentStatus.availableReplicas) && + Objects.equals(this.collisionCount, appsV1beta1DeploymentStatus.collisionCount) && Objects.equals(this.conditions, appsV1beta1DeploymentStatus.conditions) && Objects.equals(this.observedGeneration, appsV1beta1DeploymentStatus.observedGeneration) && Objects.equals(this.readyReplicas, appsV1beta1DeploymentStatus.readyReplicas) && @@ -208,7 +230,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(availableReplicas, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas); + return Objects.hash(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas); } @@ -218,6 +240,7 @@ public String toString() { sb.append("class AppsV1beta1DeploymentStatus {\n"); sb.append(" availableReplicas: ").append(toIndentedString(availableReplicas)).append("\n"); + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStrategy.java index f2c78d1323..0a84dbc3ec 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1DeploymentStrategy.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollbackConfig.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollbackConfig.java index f57d8b9e71..cfa71ed48e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollbackConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollbackConfig.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -24,8 +24,9 @@ import java.io.IOException; /** - * AppsV1beta1RollbackConfig + * DEPRECATED. */ +@ApiModel(description = "DEPRECATED.") public class AppsV1beta1RollbackConfig { @SerializedName("revision") @@ -37,10 +38,10 @@ public AppsV1beta1RollbackConfig revision(Long revision) { } /** - * The revision to rollback to. If set to 0, rollbck to the last revision. + * The revision to rollback to. If set to 0, rollback to the last revision. * @return revision **/ - @ApiModelProperty(value = "The revision to rollback to. If set to 0, rollbck to the last revision.") + @ApiModelProperty(value = "The revision to rollback to. If set to 0, rollback to the last revision.") public Long getRevision() { return revision; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollingUpdateDeployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollingUpdateDeployment.java index ec1a60b956..feb500842b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollingUpdateDeployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1RollingUpdateDeployment.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Scale.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Scale.java index 8e7e03be1b..e0693265a1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Scale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1Scale.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public AppsV1beta1Scale apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public AppsV1beta1Scale kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public AppsV1beta1Scale metadata(V1ObjectMeta metadata) { } /** - * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. * @return metadata **/ - @ApiModelProperty(value = "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.") + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public AppsV1beta1Scale spec(AppsV1beta1ScaleSpec spec) { } /** - * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + * defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. * @return spec **/ - @ApiModelProperty(value = "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.") + @ApiModelProperty(value = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") public AppsV1beta1ScaleSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public AppsV1beta1Scale status(AppsV1beta1ScaleStatus status) { } /** - * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + * current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. * @return status **/ - @ApiModelProperty(value = "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.") + @ApiModelProperty(value = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.") public AppsV1beta1ScaleStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleSpec.java index e8ce5f55ab..af2faf5e5c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleStatus.java index c8c702b8e8..0076b2040d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/AppsV1beta1ScaleStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -91,10 +91,10 @@ public AppsV1beta1ScaleStatus targetSelector(String targetSelector) { } /** - * label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return targetSelector **/ - @ApiModelProperty(value = "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public String getTargetSelector() { return targetSelector; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Deployment.java index 9a51750997..b4fff5e2d6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Deployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Deployment.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * Deployment enables declarative updates for Pods and ReplicaSets. + * DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. */ -@ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.") +@ApiModel(description = "DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.") public class ExtensionsV1beta1Deployment { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public ExtensionsV1beta1Deployment apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public ExtensionsV1beta1Deployment kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentCondition.java index fbe4a7f1fd..1cb0c4a491 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentList.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentList.java index 560a8c9159..25d7a01021 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public ExtensionsV1beta1DeploymentList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public ExtensionsV1beta1DeploymentList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentRollback.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentRollback.java index 2f57148ce5..81ad339730 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentRollback.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentRollback.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,9 +28,9 @@ import java.util.Map; /** - * DeploymentRollback stores the information required to rollback a deployment. + * DEPRECATED. DeploymentRollback stores the information required to rollback a deployment. */ -@ApiModel(description = "DeploymentRollback stores the information required to rollback a deployment.") +@ApiModel(description = "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.") public class ExtensionsV1beta1DeploymentRollback { @SerializedName("apiVersion") @@ -54,10 +54,10 @@ public ExtensionsV1beta1DeploymentRollback apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -72,10 +72,10 @@ public ExtensionsV1beta1DeploymentRollback kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentSpec.java index ad2dc53bac..7cf365b341 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -102,10 +102,10 @@ public ExtensionsV1beta1DeploymentSpec progressDeadlineSeconds(Integer progressD } /** - * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. + * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. * @return progressDeadlineSeconds **/ - @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.") + @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.") public Integer getProgressDeadlineSeconds() { return progressDeadlineSeconds; } @@ -156,10 +156,10 @@ public ExtensionsV1beta1DeploymentSpec rollbackTo(ExtensionsV1beta1RollbackConfi } /** - * The config this deployment is rolling back to. Will be cleared after rollback is done. + * DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. * @return rollbackTo **/ - @ApiModelProperty(value = "The config this deployment is rolling back to. Will be cleared after rollback is done.") + @ApiModelProperty(value = "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.") public ExtensionsV1beta1RollbackConfig getRollbackTo() { return rollbackTo; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStatus.java index 606fbd00e1..48c3bdb726 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -35,6 +35,9 @@ public class ExtensionsV1beta1DeploymentStatus { @SerializedName("availableReplicas") private Integer availableReplicas = null; + @SerializedName("collisionCount") + private Integer collisionCount = null; + @SerializedName("conditions") private List conditions = null; @@ -71,6 +74,24 @@ public void setAvailableReplicas(Integer availableReplicas) { this.availableReplicas = availableReplicas; } + public ExtensionsV1beta1DeploymentStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + * @return collisionCount + **/ + @ApiModelProperty(value = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + public ExtensionsV1beta1DeploymentStatus conditions(List conditions) { this.conditions = conditions; return this; @@ -157,10 +178,10 @@ public ExtensionsV1beta1DeploymentStatus unavailableReplicas(Integer unavailable } /** - * Total number of unavailable pods targeted by this deployment. + * Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. * @return unavailableReplicas **/ - @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment.") + @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.") public Integer getUnavailableReplicas() { return unavailableReplicas; } @@ -198,6 +219,7 @@ public boolean equals(java.lang.Object o) { } ExtensionsV1beta1DeploymentStatus extensionsV1beta1DeploymentStatus = (ExtensionsV1beta1DeploymentStatus) o; return Objects.equals(this.availableReplicas, extensionsV1beta1DeploymentStatus.availableReplicas) && + Objects.equals(this.collisionCount, extensionsV1beta1DeploymentStatus.collisionCount) && Objects.equals(this.conditions, extensionsV1beta1DeploymentStatus.conditions) && Objects.equals(this.observedGeneration, extensionsV1beta1DeploymentStatus.observedGeneration) && Objects.equals(this.readyReplicas, extensionsV1beta1DeploymentStatus.readyReplicas) && @@ -208,7 +230,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(availableReplicas, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas); + return Objects.hash(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas); } @@ -218,6 +240,7 @@ public String toString() { sb.append("class ExtensionsV1beta1DeploymentStatus {\n"); sb.append(" availableReplicas: ").append(toIndentedString(availableReplicas)).append("\n"); + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStrategy.java index 44c6ddfde3..02ec3125b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1DeploymentStrategy.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollbackConfig.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollbackConfig.java index 549c7b29ef..eb2239a330 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollbackConfig.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollbackConfig.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -24,8 +24,9 @@ import java.io.IOException; /** - * ExtensionsV1beta1RollbackConfig + * DEPRECATED. */ +@ApiModel(description = "DEPRECATED.") public class ExtensionsV1beta1RollbackConfig { @SerializedName("revision") @@ -37,10 +38,10 @@ public ExtensionsV1beta1RollbackConfig revision(Long revision) { } /** - * The revision to rollback to. If set to 0, rollbck to the last revision. + * The revision to rollback to. If set to 0, rollback to the last revision. * @return revision **/ - @ApiModelProperty(value = "The revision to rollback to. If set to 0, rollbck to the last revision.") + @ApiModelProperty(value = "The revision to rollback to. If set to 0, rollback to the last revision.") public Long getRevision() { return revision; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollingUpdateDeployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollingUpdateDeployment.java index bb9bb36da1..02b8946432 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollingUpdateDeployment.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1RollingUpdateDeployment.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Scale.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Scale.java index 8914e1cf20..f03b42a798 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Scale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1Scale.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public ExtensionsV1beta1Scale apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public ExtensionsV1beta1Scale kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public ExtensionsV1beta1Scale metadata(V1ObjectMeta metadata) { } /** - * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. * @return metadata **/ - @ApiModelProperty(value = "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.") + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public ExtensionsV1beta1Scale spec(ExtensionsV1beta1ScaleSpec spec) { } /** - * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + * defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. * @return spec **/ - @ApiModelProperty(value = "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.") + @ApiModelProperty(value = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") public ExtensionsV1beta1ScaleSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public ExtensionsV1beta1Scale status(ExtensionsV1beta1ScaleStatus status) { } /** - * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + * current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. * @return status **/ - @ApiModelProperty(value = "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.") + @ApiModelProperty(value = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.") public ExtensionsV1beta1ScaleStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleSpec.java index 5ae5974bfe..2953f17429 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleStatus.java index 14a5357763..abe759cfd9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/ExtensionsV1beta1ScaleStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -91,10 +91,10 @@ public ExtensionsV1beta1ScaleStatus targetSelector(String targetSelector) { } /** - * label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return targetSelector **/ - @ApiModelProperty(value = "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public String getTargetSelector() { return targetSelector; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/RuntimeRawExtension.java b/kubernetes/src/main/java/io/kubernetes/client/models/RuntimeRawExtension.java index ca4e88b1ce..87b6dcead2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/RuntimeRawExtension.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/RuntimeRawExtension.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroup.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroup.java index 710a19ab35..cd93a34694 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroup.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroup.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -57,10 +57,10 @@ public V1APIGroup apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -75,10 +75,10 @@ public V1APIGroup kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroupList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroupList.java index e6eb645eec..4d35721fdf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroupList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIGroupList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,10 +47,10 @@ public V1APIGroupList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -88,10 +88,10 @@ public V1APIGroupList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResource.java index 8ee8629f96..7d66443a3a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -31,6 +31,12 @@ @ApiModel(description = "APIResource specifies the name of a resource and whether it is namespaced.") public class V1APIResource { + @SerializedName("categories") + private List categories = null; + + @SerializedName("group") + private String group = null; + @SerializedName("kind") private String kind = null; @@ -43,9 +49,59 @@ public class V1APIResource { @SerializedName("shortNames") private List shortNames = null; + @SerializedName("singularName") + private String singularName = null; + @SerializedName("verbs") private List verbs = new ArrayList(); + @SerializedName("version") + private String version = null; + + public V1APIResource categories(List categories) { + this.categories = categories; + return this; + } + + public V1APIResource addCategoriesItem(String categoriesItem) { + if (this.categories == null) { + this.categories = new ArrayList(); + } + this.categories.add(categoriesItem); + return this; + } + + /** + * categories is a list of the grouped resources this resource belongs to (e.g. 'all') + * @return categories + **/ + @ApiModelProperty(value = "categories is a list of the grouped resources this resource belongs to (e.g. 'all')") + public List getCategories() { + return categories; + } + + public void setCategories(List categories) { + this.categories = categories; + } + + public V1APIResource group(String group) { + this.group = group; + return this; + } + + /** + * group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". + * @return group + **/ + @ApiModelProperty(value = "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".") + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + public V1APIResource kind(String kind) { this.kind = kind; return this; @@ -70,10 +126,10 @@ public V1APIResource name(String name) { } /** - * name is the name of the resource. + * name is the plural name of the resource. * @return name **/ - @ApiModelProperty(required = true, value = "name is the name of the resource.") + @ApiModelProperty(required = true, value = "name is the plural name of the resource.") public String getName() { return name; } @@ -126,6 +182,24 @@ public void setShortNames(List shortNames) { this.shortNames = shortNames; } + public V1APIResource singularName(String singularName) { + this.singularName = singularName; + return this; + } + + /** + * singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. + * @return singularName + **/ + @ApiModelProperty(required = true, value = "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.") + public String getSingularName() { + return singularName; + } + + public void setSingularName(String singularName) { + this.singularName = singularName; + } + public V1APIResource verbs(List verbs) { this.verbs = verbs; return this; @@ -149,6 +223,24 @@ public void setVerbs(List verbs) { this.verbs = verbs; } + public V1APIResource version(String version) { + this.version = version; + return this; + } + + /** + * version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". + * @return version + **/ + @ApiModelProperty(value = "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".") + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + @Override public boolean equals(java.lang.Object o) { @@ -159,16 +251,20 @@ public boolean equals(java.lang.Object o) { return false; } V1APIResource v1APIResource = (V1APIResource) o; - return Objects.equals(this.kind, v1APIResource.kind) && + return Objects.equals(this.categories, v1APIResource.categories) && + Objects.equals(this.group, v1APIResource.group) && + Objects.equals(this.kind, v1APIResource.kind) && Objects.equals(this.name, v1APIResource.name) && Objects.equals(this.namespaced, v1APIResource.namespaced) && Objects.equals(this.shortNames, v1APIResource.shortNames) && - Objects.equals(this.verbs, v1APIResource.verbs); + Objects.equals(this.singularName, v1APIResource.singularName) && + Objects.equals(this.verbs, v1APIResource.verbs) && + Objects.equals(this.version, v1APIResource.version); } @Override public int hashCode() { - return Objects.hash(kind, name, namespaced, shortNames, verbs); + return Objects.hash(categories, group, kind, name, namespaced, shortNames, singularName, verbs, version); } @@ -177,11 +273,15 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1APIResource {\n"); + sb.append(" categories: ").append(toIndentedString(categories)).append("\n"); + sb.append(" group: ").append(toIndentedString(group)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" namespaced: ").append(toIndentedString(namespaced)).append("\n"); sb.append(" shortNames: ").append(toIndentedString(shortNames)).append("\n"); + sb.append(" singularName: ").append(toIndentedString(singularName)).append("\n"); sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResourceList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResourceList.java index ec416b8525..023e45107e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResourceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIResourceList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -50,10 +50,10 @@ public V1APIResourceList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -86,10 +86,10 @@ public V1APIResourceList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIVersions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIVersions.java index 71e3902143..cff07d9b1a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1APIVersions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1APIVersions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -50,10 +50,10 @@ public V1APIVersions apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -68,10 +68,10 @@ public V1APIVersions kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1AWSElasticBlockStoreVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1AWSElasticBlockStoreVolumeSource.java index 4405222160..f54ab79693 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1AWSElasticBlockStoreVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1AWSElasticBlockStoreVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,10 +47,10 @@ public V1AWSElasticBlockStoreVolumeSource fsType(String fsType) { } /** - * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore * @return fsType **/ - @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore") + @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore") public String getFsType() { return fsType; } @@ -83,10 +83,10 @@ public V1AWSElasticBlockStoreVolumeSource readOnly(Boolean readOnly) { } /** - * Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + * Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore * @return readOnly **/ - @ApiModelProperty(value = "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore") + @ApiModelProperty(value = "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore") public Boolean isReadOnly() { return readOnly; } @@ -101,10 +101,10 @@ public V1AWSElasticBlockStoreVolumeSource volumeID(String volumeID) { } /** - * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + * Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore * @return volumeID **/ - @ApiModelProperty(required = true, value = "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore") + @ApiModelProperty(required = true, value = "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore") public String getVolumeID() { return volumeID; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Affinity.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Affinity.java index 8a5e710afc..b08d89230e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Affinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Affinity.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1AttachedVolume.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1AttachedVolume.java index b8db03856c..1f1a00282f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1AttachedVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1AttachedVolume.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureDiskVolumeSource.java index 3a8f50db42..5d6b6bade5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureDiskVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -41,6 +41,9 @@ public class V1AzureDiskVolumeSource { @SerializedName("fsType") private String fsType = null; + @SerializedName("kind") + private String kind = null; + @SerializedName("readOnly") private Boolean readOnly = null; @@ -116,6 +119,24 @@ public void setFsType(String fsType) { this.fsType = fsType; } + public V1AzureDiskVolumeSource kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared + * @return kind + **/ + @ApiModelProperty(value = "Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + public V1AzureDiskVolumeSource readOnly(Boolean readOnly) { this.readOnly = readOnly; return this; @@ -148,12 +169,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.diskName, v1AzureDiskVolumeSource.diskName) && Objects.equals(this.diskURI, v1AzureDiskVolumeSource.diskURI) && Objects.equals(this.fsType, v1AzureDiskVolumeSource.fsType) && + Objects.equals(this.kind, v1AzureDiskVolumeSource.kind) && Objects.equals(this.readOnly, v1AzureDiskVolumeSource.readOnly); } @Override public int hashCode() { - return Objects.hash(cachingMode, diskName, diskURI, fsType, readOnly); + return Objects.hash(cachingMode, diskName, diskURI, fsType, kind, readOnly); } @@ -166,6 +188,7 @@ public String toString() { sb.append(" diskName: ").append(toIndentedString(diskName)).append("\n"); sb.append(" diskURI: ").append(toIndentedString(diskURI)).append("\n"); sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFilePersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFilePersistentVolumeSource.java new file mode 100644 index 0000000000..1f8c7b1ce7 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFilePersistentVolumeSource.java @@ -0,0 +1,163 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + */ +@ApiModel(description = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") + +public class V1AzureFilePersistentVolumeSource { + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("secretName") + private String secretName = null; + + @SerializedName("secretNamespace") + private String secretNamespace = null; + + @SerializedName("shareName") + private String shareName = null; + + public V1AzureFilePersistentVolumeSource readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + * @return readOnly + **/ + @ApiModelProperty(value = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.") + public Boolean isReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public V1AzureFilePersistentVolumeSource secretName(String secretName) { + this.secretName = secretName; + return this; + } + + /** + * the name of secret that contains Azure Storage Account Name and Key + * @return secretName + **/ + @ApiModelProperty(required = true, value = "the name of secret that contains Azure Storage Account Name and Key") + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + public V1AzureFilePersistentVolumeSource secretNamespace(String secretNamespace) { + this.secretNamespace = secretNamespace; + return this; + } + + /** + * the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod + * @return secretNamespace + **/ + @ApiModelProperty(value = "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod") + public String getSecretNamespace() { + return secretNamespace; + } + + public void setSecretNamespace(String secretNamespace) { + this.secretNamespace = secretNamespace; + } + + public V1AzureFilePersistentVolumeSource shareName(String shareName) { + this.shareName = shareName; + return this; + } + + /** + * Share Name + * @return shareName + **/ + @ApiModelProperty(required = true, value = "Share Name") + public String getShareName() { + return shareName; + } + + public void setShareName(String shareName) { + this.shareName = shareName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1AzureFilePersistentVolumeSource v1AzureFilePersistentVolumeSource = (V1AzureFilePersistentVolumeSource) o; + return Objects.equals(this.readOnly, v1AzureFilePersistentVolumeSource.readOnly) && + Objects.equals(this.secretName, v1AzureFilePersistentVolumeSource.secretName) && + Objects.equals(this.secretNamespace, v1AzureFilePersistentVolumeSource.secretNamespace) && + Objects.equals(this.shareName, v1AzureFilePersistentVolumeSource.shareName); + } + + @Override + public int hashCode() { + return Objects.hash(readOnly, secretName, secretNamespace, shareName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1AzureFilePersistentVolumeSource {\n"); + + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" secretName: ").append(toIndentedString(secretName)).append("\n"); + sb.append(" secretNamespace: ").append(toIndentedString(secretNamespace)).append("\n"); + sb.append(" shareName: ").append(toIndentedString(shareName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFileVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFileVolumeSource.java index 45b27c1c3b..c0f29be850 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFileVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1AzureFileVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Binding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Binding.java index 53b1b3f3f0..7978e8741d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Binding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Binding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -26,9 +26,9 @@ import java.io.IOException; /** - * Binding ties one object to another. For example, a pod is bound to a node by a scheduler. + * Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead. */ -@ApiModel(description = "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.") +@ApiModel(description = "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.") public class V1Binding { @SerializedName("apiVersion") @@ -49,10 +49,10 @@ public V1Binding apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -67,10 +67,10 @@ public V1Binding kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -85,10 +85,10 @@ public V1Binding metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Capabilities.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Capabilities.java index 7d3f7e5b4f..8e57fa2056 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Capabilities.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Capabilities.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSPersistentVolumeSource.java new file mode 100644 index 0000000000..ddb7bb11a8 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSPersistentVolumeSource.java @@ -0,0 +1,217 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1SecretReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. + */ +@ApiModel(description = "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.") + +public class V1CephFSPersistentVolumeSource { + @SerializedName("monitors") + private List monitors = new ArrayList(); + + @SerializedName("path") + private String path = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("secretFile") + private String secretFile = null; + + @SerializedName("secretRef") + private V1SecretReference secretRef = null; + + @SerializedName("user") + private String user = null; + + public V1CephFSPersistentVolumeSource monitors(List monitors) { + this.monitors = monitors; + return this; + } + + public V1CephFSPersistentVolumeSource addMonitorsItem(String monitorsItem) { + this.monitors.add(monitorsItem); + return this; + } + + /** + * Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * @return monitors + **/ + @ApiModelProperty(required = true, value = "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + public List getMonitors() { + return monitors; + } + + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + public V1CephFSPersistentVolumeSource path(String path) { + this.path = path; + return this; + } + + /** + * Optional: Used as the mounted root, rather than the full Ceph tree, default is / + * @return path + **/ + @ApiModelProperty(value = "Optional: Used as the mounted root, rather than the full Ceph tree, default is /") + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + public V1CephFSPersistentVolumeSource readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * @return readOnly + **/ + @ApiModelProperty(value = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + public Boolean isReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public V1CephFSPersistentVolumeSource secretFile(String secretFile) { + this.secretFile = secretFile; + return this; + } + + /** + * Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * @return secretFile + **/ + @ApiModelProperty(value = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + public String getSecretFile() { + return secretFile; + } + + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + public V1CephFSPersistentVolumeSource secretRef(V1SecretReference secretRef) { + this.secretRef = secretRef; + return this; + } + + /** + * Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * @return secretRef + **/ + @ApiModelProperty(value = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + public V1SecretReference getSecretRef() { + return secretRef; + } + + public void setSecretRef(V1SecretReference secretRef) { + this.secretRef = secretRef; + } + + public V1CephFSPersistentVolumeSource user(String user) { + this.user = user; + return this; + } + + /** + * Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * @return user + **/ + @ApiModelProperty(value = "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1CephFSPersistentVolumeSource v1CephFSPersistentVolumeSource = (V1CephFSPersistentVolumeSource) o; + return Objects.equals(this.monitors, v1CephFSPersistentVolumeSource.monitors) && + Objects.equals(this.path, v1CephFSPersistentVolumeSource.path) && + Objects.equals(this.readOnly, v1CephFSPersistentVolumeSource.readOnly) && + Objects.equals(this.secretFile, v1CephFSPersistentVolumeSource.secretFile) && + Objects.equals(this.secretRef, v1CephFSPersistentVolumeSource.secretRef) && + Objects.equals(this.user, v1CephFSPersistentVolumeSource.user); + } + + @Override + public int hashCode() { + return Objects.hash(monitors, path, readOnly, secretFile, secretRef, user); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1CephFSPersistentVolumeSource {\n"); + + sb.append(" monitors: ").append(toIndentedString(monitors)).append("\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" secretFile: ").append(toIndentedString(secretFile)).append("\n"); + sb.append(" secretRef: ").append(toIndentedString(secretRef)).append("\n"); + sb.append(" user: ").append(toIndentedString(user)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSVolumeSource.java index 4e54a62065..6aaa5c6e4b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1CephFSVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -61,10 +61,10 @@ public V1CephFSVolumeSource addMonitorsItem(String monitorsItem) { } /** - * Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it * @return monitors **/ - @ApiModelProperty(required = true, value = "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + @ApiModelProperty(required = true, value = "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") public List getMonitors() { return monitors; } @@ -97,10 +97,10 @@ public V1CephFSVolumeSource readOnly(Boolean readOnly) { } /** - * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it * @return readOnly **/ - @ApiModelProperty(value = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + @ApiModelProperty(value = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") public Boolean isReadOnly() { return readOnly; } @@ -115,10 +115,10 @@ public V1CephFSVolumeSource secretFile(String secretFile) { } /** - * Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it * @return secretFile **/ - @ApiModelProperty(value = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + @ApiModelProperty(value = "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") public String getSecretFile() { return secretFile; } @@ -133,10 +133,10 @@ public V1CephFSVolumeSource secretRef(V1LocalObjectReference secretRef) { } /** - * Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it * @return secretRef **/ - @ApiModelProperty(value = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + @ApiModelProperty(value = "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") public V1LocalObjectReference getSecretRef() { return secretRef; } @@ -151,10 +151,10 @@ public V1CephFSVolumeSource user(String user) { } /** - * Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + * Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it * @return user **/ - @ApiModelProperty(value = "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") + @ApiModelProperty(value = "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it") public String getUser() { return user; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1CinderVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1CinderVolumeSource.java index 5c47ff8d19..ba1c794a9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1CinderVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1CinderVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -44,10 +44,10 @@ public V1CinderVolumeSource fsType(String fsType) { } /** - * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md * @return fsType **/ - @ApiModelProperty(value = "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") + @ApiModelProperty(value = "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") public String getFsType() { return fsType; } @@ -62,10 +62,10 @@ public V1CinderVolumeSource readOnly(Boolean readOnly) { } /** - * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + * Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md * @return readOnly **/ - @ApiModelProperty(value = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") + @ApiModelProperty(value = "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") public Boolean isReadOnly() { return readOnly; } @@ -80,10 +80,10 @@ public V1CinderVolumeSource volumeID(String volumeID) { } /** - * volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + * volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md * @return volumeID **/ - @ApiModelProperty(required = true, value = "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") + @ApiModelProperty(required = true, value = "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") public String getVolumeID() { return volumeID; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ClientIPConfig.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClientIPConfig.java new file mode 100644 index 0000000000..4e9c5af9f7 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClientIPConfig.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ClientIPConfig represents the configurations of Client IP based session affinity. + */ +@ApiModel(description = "ClientIPConfig represents the configurations of Client IP based session affinity.") + +public class V1ClientIPConfig { + @SerializedName("timeoutSeconds") + private Integer timeoutSeconds = null; + + public V1ClientIPConfig timeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + return this; + } + + /** + * timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). + * @return timeoutSeconds + **/ + @ApiModelProperty(value = "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ClientIPConfig v1ClientIPConfig = (V1ClientIPConfig) o; + return Objects.equals(this.timeoutSeconds, v1ClientIPConfig.timeoutSeconds); + } + + @Override + public int hashCode() { + return Objects.hash(timeoutSeconds); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ClientIPConfig {\n"); + + sb.append(" timeoutSeconds: ").append(toIndentedString(timeoutSeconds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRole.java new file mode 100644 index 0000000000..bc218360a1 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRole.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1PolicyRule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. + */ +@ApiModel(description = "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.") + +public class V1ClusterRole { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("rules") + private List rules = new ArrayList(); + + public V1ClusterRole apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1ClusterRole kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1ClusterRole metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1ClusterRole rules(List rules) { + this.rules = rules; + return this; + } + + public V1ClusterRole addRulesItem(V1PolicyRule rulesItem) { + this.rules.add(rulesItem); + return this; + } + + /** + * Rules holds all the PolicyRules for this ClusterRole + * @return rules + **/ + @ApiModelProperty(required = true, value = "Rules holds all the PolicyRules for this ClusterRole") + public List getRules() { + return rules; + } + + public void setRules(List rules) { + this.rules = rules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ClusterRole v1ClusterRole = (V1ClusterRole) o; + return Objects.equals(this.apiVersion, v1ClusterRole.apiVersion) && + Objects.equals(this.kind, v1ClusterRole.kind) && + Objects.equals(this.metadata, v1ClusterRole.metadata) && + Objects.equals(this.rules, v1ClusterRole.rules); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, rules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ClusterRole {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBinding.java similarity index 52% rename from kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResource.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBinding.java index 14bec7df48..e01f0b8ca7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBinding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,7 +20,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1ObjectMeta; -import io.kubernetes.client.models.V1beta1APIVersion; +import io.kubernetes.client.models.V1RoleRef; +import io.kubernetes.client.models.V1Subject; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -28,36 +29,36 @@ import java.util.List; /** - * A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api. + * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. */ -@ApiModel(description = "A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.") +@ApiModel(description = "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.") -public class V1beta1ThirdPartyResource { +public class V1ClusterRoleBinding { @SerializedName("apiVersion") private String apiVersion = null; - @SerializedName("description") - private String description = null; - @SerializedName("kind") private String kind = null; @SerializedName("metadata") private V1ObjectMeta metadata = null; - @SerializedName("versions") - private List versions = null; + @SerializedName("roleRef") + private V1RoleRef roleRef = null; + + @SerializedName("subjects") + private List subjects = new ArrayList(); - public V1beta1ThirdPartyResource apiVersion(String apiVersion) { + public V1ClusterRoleBinding apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -66,34 +67,16 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } - public V1beta1ThirdPartyResource description(String description) { - this.description = description; - return this; - } - - /** - * Description is the description of this object. - * @return description - **/ - @ApiModelProperty(value = "Description is the description of this object.") - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public V1beta1ThirdPartyResource kind(String kind) { + public V1ClusterRoleBinding kind(String kind) { this.kind = kind; return this; } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -102,16 +85,16 @@ public void setKind(String kind) { this.kind = kind; } - public V1beta1ThirdPartyResource metadata(V1ObjectMeta metadata) { + public V1ClusterRoleBinding metadata(V1ObjectMeta metadata) { this.metadata = metadata; return this; } /** - * Standard object metadata + * Standard object's metadata. * @return metadata **/ - @ApiModelProperty(value = "Standard object metadata") + @ApiModelProperty(value = "Standard object's metadata.") public V1ObjectMeta getMetadata() { return metadata; } @@ -120,30 +103,45 @@ public void setMetadata(V1ObjectMeta metadata) { this.metadata = metadata; } - public V1beta1ThirdPartyResource versions(List versions) { - this.versions = versions; + public V1ClusterRoleBinding roleRef(V1RoleRef roleRef) { + this.roleRef = roleRef; return this; } - public V1beta1ThirdPartyResource addVersionsItem(V1beta1APIVersion versionsItem) { - if (this.versions == null) { - this.versions = new ArrayList(); - } - this.versions.add(versionsItem); + /** + * RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. + * @return roleRef + **/ + @ApiModelProperty(required = true, value = "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.") + public V1RoleRef getRoleRef() { + return roleRef; + } + + public void setRoleRef(V1RoleRef roleRef) { + this.roleRef = roleRef; + } + + public V1ClusterRoleBinding subjects(List subjects) { + this.subjects = subjects; + return this; + } + + public V1ClusterRoleBinding addSubjectsItem(V1Subject subjectsItem) { + this.subjects.add(subjectsItem); return this; } /** - * Versions are versions for this third party object - * @return versions + * Subjects holds references to the objects the role applies to. + * @return subjects **/ - @ApiModelProperty(value = "Versions are versions for this third party object") - public List getVersions() { - return versions; + @ApiModelProperty(required = true, value = "Subjects holds references to the objects the role applies to.") + public List getSubjects() { + return subjects; } - public void setVersions(List versions) { - this.versions = versions; + public void setSubjects(List subjects) { + this.subjects = subjects; } @@ -155,30 +153,30 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ThirdPartyResource v1beta1ThirdPartyResource = (V1beta1ThirdPartyResource) o; - return Objects.equals(this.apiVersion, v1beta1ThirdPartyResource.apiVersion) && - Objects.equals(this.description, v1beta1ThirdPartyResource.description) && - Objects.equals(this.kind, v1beta1ThirdPartyResource.kind) && - Objects.equals(this.metadata, v1beta1ThirdPartyResource.metadata) && - Objects.equals(this.versions, v1beta1ThirdPartyResource.versions); + V1ClusterRoleBinding v1ClusterRoleBinding = (V1ClusterRoleBinding) o; + return Objects.equals(this.apiVersion, v1ClusterRoleBinding.apiVersion) && + Objects.equals(this.kind, v1ClusterRoleBinding.kind) && + Objects.equals(this.metadata, v1ClusterRoleBinding.metadata) && + Objects.equals(this.roleRef, v1ClusterRoleBinding.roleRef) && + Objects.equals(this.subjects, v1ClusterRoleBinding.subjects); } @Override public int hashCode() { - return Objects.hash(apiVersion, description, kind, metadata, versions); + return Objects.hash(apiVersion, kind, metadata, roleRef, subjects); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ThirdPartyResource {\n"); + sb.append("class V1ClusterRoleBinding {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" versions: ").append(toIndentedString(versions)).append("\n"); + sb.append(" roleRef: ").append(toIndentedString(roleRef)).append("\n"); + sb.append(" subjects: ").append(toIndentedString(subjects)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBindingList.java new file mode 100644 index 0000000000..3303360448 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleBindingList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ClusterRoleBinding; +import io.kubernetes.client.models.V1ListMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ClusterRoleBindingList is a collection of ClusterRoleBindings + */ +@ApiModel(description = "ClusterRoleBindingList is a collection of ClusterRoleBindings") + +public class V1ClusterRoleBindingList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1ClusterRoleBindingList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1ClusterRoleBindingList items(List items) { + this.items = items; + return this; + } + + public V1ClusterRoleBindingList addItemsItem(V1ClusterRoleBinding itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is a list of ClusterRoleBindings + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is a list of ClusterRoleBindings") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1ClusterRoleBindingList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1ClusterRoleBindingList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ClusterRoleBindingList v1ClusterRoleBindingList = (V1ClusterRoleBindingList) o; + return Objects.equals(this.apiVersion, v1ClusterRoleBindingList.apiVersion) && + Objects.equals(this.items, v1ClusterRoleBindingList.items) && + Objects.equals(this.kind, v1ClusterRoleBindingList.kind) && + Objects.equals(this.metadata, v1ClusterRoleBindingList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ClusterRoleBindingList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleList.java new file mode 100644 index 0000000000..308edad93d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ClusterRoleList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ClusterRole; +import io.kubernetes.client.models.V1ListMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ClusterRoleList is a collection of ClusterRoles + */ +@ApiModel(description = "ClusterRoleList is a collection of ClusterRoles") + +public class V1ClusterRoleList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1ClusterRoleList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1ClusterRoleList items(List items) { + this.items = items; + return this; + } + + public V1ClusterRoleList addItemsItem(V1ClusterRole itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is a list of ClusterRoles + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is a list of ClusterRoles") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1ClusterRoleList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1ClusterRoleList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ClusterRoleList v1ClusterRoleList = (V1ClusterRoleList) o; + return Objects.equals(this.apiVersion, v1ClusterRoleList.apiVersion) && + Objects.equals(this.items, v1ClusterRoleList.items) && + Objects.equals(this.kind, v1ClusterRoleList.kind) && + Objects.equals(this.metadata, v1ClusterRoleList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ClusterRoleList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentCondition.java index 07319c81e6..5a0c3241a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatus.java index d12897a070..662f9643f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ComponentStatus apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -95,10 +95,10 @@ public V1ComponentStatus kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -113,10 +113,10 @@ public V1ComponentStatus metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatusList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatusList.java index 38297924a0..c01cbf1208 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatusList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ComponentStatusList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ComponentStatusList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1ComponentStatusList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ComponentStatusList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMap.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMap.java index c7e09fa303..8a70d3a374 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMap.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMap.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ConfigMap apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -77,10 +77,10 @@ public V1ConfigMap putDataItem(String key, String dataItem) { } /** - * Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. + * Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. * @return data **/ - @ApiModelProperty(value = "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.") + @ApiModelProperty(value = "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.") public Map getData() { return data; } @@ -95,10 +95,10 @@ public V1ConfigMap kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -113,10 +113,10 @@ public V1ConfigMap metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapEnvSource.java index 0e6ec9087a..1cbd7a3021 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapEnvSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -41,10 +41,10 @@ public V1ConfigMapEnvSource name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapKeySelector.java index 8516631376..1b820b0564 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapKeySelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1ConfigMapKeySelector name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapList.java index dfe563325b..daf05ca6b9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ConfigMapList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1ConfigMapList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ConfigMapList metadata(V1ListMeta metadata) { } /** - * More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapProjection.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapProjection.java index 89b1f9b3eb..531e6bb70f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapProjection.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -73,10 +73,10 @@ public V1ConfigMapProjection name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapVolumeSource.java index 0480e7b001..9b6408cf9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ConfigMapVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -94,10 +94,10 @@ public V1ConfigMapVolumeSource name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Container.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Container.java index de9c648b34..22799bc371 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Container.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Container.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -113,10 +113,10 @@ public V1Container addArgsItem(String argsItem) { } /** - * Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + * Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell * @return args **/ - @ApiModelProperty(value = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands") + @ApiModelProperty(value = "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell") public List getArgs() { return args; } @@ -139,10 +139,10 @@ public V1Container addCommandItem(String commandItem) { } /** - * Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands + * Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell * @return command **/ - @ApiModelProperty(value = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands") + @ApiModelProperty(value = "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell") public List getCommand() { return command; } @@ -209,10 +209,10 @@ public V1Container image(String image) { } /** - * Docker image name. More info: http://kubernetes.io/docs/user-guide/images + * Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. * @return image **/ - @ApiModelProperty(value = "Docker image name. More info: http://kubernetes.io/docs/user-guide/images") + @ApiModelProperty(value = "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.") public String getImage() { return image; } @@ -227,10 +227,10 @@ public V1Container imagePullPolicy(String imagePullPolicy) { } /** - * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images + * Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images * @return imagePullPolicy **/ - @ApiModelProperty(value = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images") + @ApiModelProperty(value = "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images") public String getImagePullPolicy() { return imagePullPolicy; } @@ -263,10 +263,10 @@ public V1Container livenessProbe(V1Probe livenessProbe) { } /** - * Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + * Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes * @return livenessProbe **/ - @ApiModelProperty(value = "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes") + @ApiModelProperty(value = "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes") public V1Probe getLivenessProbe() { return livenessProbe; } @@ -325,10 +325,10 @@ public V1Container readinessProbe(V1Probe readinessProbe) { } /** - * Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + * Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes * @return readinessProbe **/ - @ApiModelProperty(value = "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes") + @ApiModelProperty(value = "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes") public V1Probe getReadinessProbe() { return readinessProbe; } @@ -343,10 +343,10 @@ public V1Container resources(V1ResourceRequirements resources) { } /** - * Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + * Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources * @return resources **/ - @ApiModelProperty(value = "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources") + @ApiModelProperty(value = "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources") public V1ResourceRequirements getResources() { return resources; } @@ -361,10 +361,10 @@ public V1Container securityContext(V1SecurityContext securityContext) { } /** - * Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md + * Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md * @return securityContext **/ - @ApiModelProperty(value = "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md") + @ApiModelProperty(value = "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md") public V1SecurityContext getSecurityContext() { return securityContext; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerImage.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerImage.java index 06a9ccc564..31ea451e5e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerImage.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerImage.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerPort.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerPort.java index d782845f93..88ef94aa4f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerPort.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerState.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerState.java index aaf2cd3743..bbb3d419bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerState.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerState.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateRunning.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateRunning.java index 8236cba963..d48df528ae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateRunning.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateRunning.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateTerminated.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateTerminated.java index e80bfac953..dc89e16faf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateTerminated.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateTerminated.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateWaiting.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateWaiting.java index ea92cde96d..33f1f3dc53 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateWaiting.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStateWaiting.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStatus.java index 3cdf698c98..02365553d1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ContainerStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -60,10 +60,10 @@ public V1ContainerStatus containerID(String containerID) { } /** - * Container's ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information + * Container's ID in the format 'docker://<container_id>'. * @return containerID **/ - @ApiModelProperty(value = "Container's ID in the format 'docker://'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information") + @ApiModelProperty(value = "Container's ID in the format 'docker://'.") public String getContainerID() { return containerID; } @@ -78,10 +78,10 @@ public V1ContainerStatus image(String image) { } /** - * The image the container is running. More info: http://kubernetes.io/docs/user-guide/images + * The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images * @return image **/ - @ApiModelProperty(required = true, value = "The image the container is running. More info: http://kubernetes.io/docs/user-guide/images") + @ApiModelProperty(required = true, value = "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images") public String getImage() { return image; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1CrossVersionObjectReference.java index 8d9ad142a1..3baee13c6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1CrossVersionObjectReference.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1CrossVersionObjectReference kind(String kind) { } /** - * Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" + * Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" * @return kind **/ - @ApiModelProperty(required = true, value = "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"") + @ApiModelProperty(required = true, value = "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1DaemonEndpoint.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1DaemonEndpoint.java index 955ae88af5..39aed1d1b0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1DaemonEndpoint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1DaemonEndpoint.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1DeleteOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1DeleteOptions.java index ee9aa54087..8aab8ed623 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1DeleteOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1DeleteOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -54,10 +54,10 @@ public V1DeleteOptions apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -90,10 +90,10 @@ public V1DeleteOptions kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIProjection.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIProjection.java index 6606b326e2..9ed0495422 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIProjection.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeFile.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeFile.java index fd7c1ef04c..9bedb3c897 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeFile.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeFile.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeSource.java index caff4533f8..2a1dd2de78 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1DownwardAPIVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EmptyDirVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EmptyDirVolumeSource.java index 5ff045f1c5..80f2c5c720 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EmptyDirVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EmptyDirVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -32,16 +32,19 @@ public class V1EmptyDirVolumeSource { @SerializedName("medium") private String medium = null; + @SerializedName("sizeLimit") + private String sizeLimit = null; + public V1EmptyDirVolumeSource medium(String medium) { this.medium = medium; return this; } /** - * What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + * What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir * @return medium **/ - @ApiModelProperty(value = "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir") + @ApiModelProperty(value = "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir") public String getMedium() { return medium; } @@ -50,6 +53,24 @@ public void setMedium(String medium) { this.medium = medium; } + public V1EmptyDirVolumeSource sizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + return this; + } + + /** + * Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + * @return sizeLimit + **/ + @ApiModelProperty(value = "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir") + public String getSizeLimit() { + return sizeLimit; + } + + public void setSizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + } + @Override public boolean equals(java.lang.Object o) { @@ -60,12 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } V1EmptyDirVolumeSource v1EmptyDirVolumeSource = (V1EmptyDirVolumeSource) o; - return Objects.equals(this.medium, v1EmptyDirVolumeSource.medium); + return Objects.equals(this.medium, v1EmptyDirVolumeSource.medium) && + Objects.equals(this.sizeLimit, v1EmptyDirVolumeSource.sizeLimit); } @Override public int hashCode() { - return Objects.hash(medium); + return Objects.hash(medium, sizeLimit); } @@ -75,6 +97,7 @@ public String toString() { sb.append("class V1EmptyDirVolumeSource {\n"); sb.append(" medium: ").append(toIndentedString(medium)).append("\n"); + sb.append(" sizeLimit: ").append(toIndentedString(sizeLimit)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointAddress.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointAddress.java index 7814bb7f7f..047ec1f915 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointAddress.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointPort.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointPort.java index 02fabd5b55..06c10b2281 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointPort.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointSubset.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointSubset.java index c65d146704..36771b5210 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointSubset.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointSubset.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Endpoints.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Endpoints.java index b8ea189ddf..a41b2d80a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Endpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Endpoints.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1Endpoints apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -69,10 +69,10 @@ public V1Endpoints kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -87,10 +87,10 @@ public V1Endpoints metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointsList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointsList.java index 5f4a85e37d..57f63e13fc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointsList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EndpointsList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1EndpointsList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1EndpointsList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1EndpointsList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvFromSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvFromSource.java index 814f6874a6..13f74815e0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvFromSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvFromSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVar.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVar.java index 45b4ca2ece..ec9f466d26 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVar.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVar.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVarSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVarSource.java index b4015c8dd3..594b41650f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVarSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EnvVarSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -69,10 +69,10 @@ public V1EnvVarSource fieldRef(V1ObjectFieldSelector fieldRef) { } /** - * Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. + * Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP. * @return fieldRef **/ - @ApiModelProperty(value = "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.") + @ApiModelProperty(value = "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.") public V1ObjectFieldSelector getFieldRef() { return fieldRef; } @@ -87,10 +87,10 @@ public V1EnvVarSource resourceFieldRef(V1ResourceFieldSelector resourceFieldRef) } /** - * Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + * Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. * @return resourceFieldRef **/ - @ApiModelProperty(value = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.") + @ApiModelProperty(value = "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.") public V1ResourceFieldSelector getResourceFieldRef() { return resourceFieldRef; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Event.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Event.java index 00b1e788a2..b5750178a8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Event.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Event.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -72,10 +72,10 @@ public V1Event apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -144,10 +144,10 @@ public V1Event kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -198,10 +198,10 @@ public V1Event metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(required = true, value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(required = true, value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EventList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EventList.java index 979642f4a9..fc2bf96667 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EventList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EventList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1EventList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1EventList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1EventList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1EventSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1EventSource.java index 6c97fc869b..db16169b45 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1EventSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1EventSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ExecAction.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ExecAction.java index 128f9aed8c..7feb366696 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ExecAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ExecAction.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1FCVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1FCVolumeSource.java index c1db3851e4..c7d13a38ea 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1FCVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1FCVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -41,7 +41,10 @@ public class V1FCVolumeSource { private Boolean readOnly = null; @SerializedName("targetWWNs") - private List targetWWNs = new ArrayList(); + private List targetWWNs = null; + + @SerializedName("wwids") + private List wwids = null; public V1FCVolumeSource fsType(String fsType) { this.fsType = fsType; @@ -67,10 +70,10 @@ public V1FCVolumeSource lun(Integer lun) { } /** - * Required: FC target lun number + * Optional: FC target lun number * @return lun **/ - @ApiModelProperty(required = true, value = "Required: FC target lun number") + @ApiModelProperty(value = "Optional: FC target lun number") public Integer getLun() { return lun; } @@ -103,15 +106,18 @@ public V1FCVolumeSource targetWWNs(List targetWWNs) { } public V1FCVolumeSource addTargetWWNsItem(String targetWWNsItem) { + if (this.targetWWNs == null) { + this.targetWWNs = new ArrayList(); + } this.targetWWNs.add(targetWWNsItem); return this; } /** - * Required: FC target worldwide names (WWNs) + * Optional: FC target worldwide names (WWNs) * @return targetWWNs **/ - @ApiModelProperty(required = true, value = "Required: FC target worldwide names (WWNs)") + @ApiModelProperty(value = "Optional: FC target worldwide names (WWNs)") public List getTargetWWNs() { return targetWWNs; } @@ -120,6 +126,32 @@ public void setTargetWWNs(List targetWWNs) { this.targetWWNs = targetWWNs; } + public V1FCVolumeSource wwids(List wwids) { + this.wwids = wwids; + return this; + } + + public V1FCVolumeSource addWwidsItem(String wwidsItem) { + if (this.wwids == null) { + this.wwids = new ArrayList(); + } + this.wwids.add(wwidsItem); + return this; + } + + /** + * Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + * @return wwids + **/ + @ApiModelProperty(value = "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.") + public List getWwids() { + return wwids; + } + + public void setWwids(List wwids) { + this.wwids = wwids; + } + @Override public boolean equals(java.lang.Object o) { @@ -133,12 +165,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.fsType, v1FCVolumeSource.fsType) && Objects.equals(this.lun, v1FCVolumeSource.lun) && Objects.equals(this.readOnly, v1FCVolumeSource.readOnly) && - Objects.equals(this.targetWWNs, v1FCVolumeSource.targetWWNs); + Objects.equals(this.targetWWNs, v1FCVolumeSource.targetWWNs) && + Objects.equals(this.wwids, v1FCVolumeSource.wwids); } @Override public int hashCode() { - return Objects.hash(fsType, lun, readOnly, targetWWNs); + return Objects.hash(fsType, lun, readOnly, targetWWNs, wwids); } @@ -151,6 +184,7 @@ public String toString() { sb.append(" lun: ").append(toIndentedString(lun)).append("\n"); sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); sb.append(" targetWWNs: ").append(toIndentedString(targetWWNs)).append("\n"); + sb.append(" wwids: ").append(toIndentedString(wwids)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1FlexVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1FlexVolumeSource.java index 6b439c4832..e23922aeac 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1FlexVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1FlexVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1FlockerVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1FlockerVolumeSource.java index 6948b73767..c510622fd7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1FlockerVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1FlockerVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1GCEPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1GCEPersistentDiskVolumeSource.java index 422d2b875b..0a85de6f39 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1GCEPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1GCEPersistentDiskVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,10 +47,10 @@ public V1GCEPersistentDiskVolumeSource fsType(String fsType) { } /** - * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return fsType **/ - @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public String getFsType() { return fsType; } @@ -65,10 +65,10 @@ public V1GCEPersistentDiskVolumeSource partition(Integer partition) { } /** - * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return partition **/ - @ApiModelProperty(value = "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(value = "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public Integer getPartition() { return partition; } @@ -83,10 +83,10 @@ public V1GCEPersistentDiskVolumeSource pdName(String pdName) { } /** - * Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return pdName **/ - @ApiModelProperty(required = true, value = "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(required = true, value = "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public String getPdName() { return pdName; } @@ -101,10 +101,10 @@ public V1GCEPersistentDiskVolumeSource readOnly(Boolean readOnly) { } /** - * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return readOnly **/ - @ApiModelProperty(value = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(value = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public Boolean isReadOnly() { return readOnly; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1GitRepoVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1GitRepoVolumeSource.java index 451de1280d..d807e1ef05 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1GitRepoVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1GitRepoVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1GlusterfsVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1GlusterfsVolumeSource.java index f3789c03a6..67d05bcc02 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1GlusterfsVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1GlusterfsVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -44,10 +44,10 @@ public V1GlusterfsVolumeSource endpoints(String endpoints) { } /** - * EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + * EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod * @return endpoints **/ - @ApiModelProperty(required = true, value = "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") + @ApiModelProperty(required = true, value = "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") public String getEndpoints() { return endpoints; } @@ -62,10 +62,10 @@ public V1GlusterfsVolumeSource path(String path) { } /** - * Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + * Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod * @return path **/ - @ApiModelProperty(required = true, value = "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") + @ApiModelProperty(required = true, value = "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") public String getPath() { return path; } @@ -80,10 +80,10 @@ public V1GlusterfsVolumeSource readOnly(Boolean readOnly) { } /** - * ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + * ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod * @return readOnly **/ - @ApiModelProperty(value = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") + @ApiModelProperty(value = "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod") public Boolean isReadOnly() { return readOnly; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1GroupVersionForDiscovery.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1GroupVersionForDiscovery.java index 5b9573f56c..94d9d79841 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1GroupVersionForDiscovery.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1GroupVersionForDiscovery.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPGetAction.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPGetAction.java index 1cf0ebe889..f1ad34724f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPGetAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPGetAction.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPHeader.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPHeader.java index dc2fd7782d..6679b783d1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPHeader.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HTTPHeader.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Handler.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Handler.java index ef50ad1c17..042cf69c9f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Handler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Handler.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscaler.java index 240ef8e978..748604a846 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscaler.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1HorizontalPodAutoscaler apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1HorizontalPodAutoscaler kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1HorizontalPodAutoscaler metadata(V1ObjectMeta metadata) { } /** - * Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1HorizontalPodAutoscaler spec(V1HorizontalPodAutoscalerSpec spec) { } /** - * behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + * behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. * @return spec **/ - @ApiModelProperty(value = "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.") + @ApiModelProperty(value = "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") public V1HorizontalPodAutoscalerSpec getSpec() { return spec; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerList.java index 8311f2e1ea..d171154878 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1HorizontalPodAutoscalerList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1HorizontalPodAutoscalerList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerSpec.java index 83e8288a96..c5df8b4a61 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerStatus.java index facfb7813c..b46ff9d9e7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HorizontalPodAutoscalerStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HostAlias.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HostAlias.java new file mode 100644 index 0000000000..7fb9f9dda4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HostAlias.java @@ -0,0 +1,127 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. + */ +@ApiModel(description = "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.") + +public class V1HostAlias { + @SerializedName("hostnames") + private List hostnames = null; + + @SerializedName("ip") + private String ip = null; + + public V1HostAlias hostnames(List hostnames) { + this.hostnames = hostnames; + return this; + } + + public V1HostAlias addHostnamesItem(String hostnamesItem) { + if (this.hostnames == null) { + this.hostnames = new ArrayList(); + } + this.hostnames.add(hostnamesItem); + return this; + } + + /** + * Hostnames for the above IP address. + * @return hostnames + **/ + @ApiModelProperty(value = "Hostnames for the above IP address.") + public List getHostnames() { + return hostnames; + } + + public void setHostnames(List hostnames) { + this.hostnames = hostnames; + } + + public V1HostAlias ip(String ip) { + this.ip = ip; + return this; + } + + /** + * IP address of the host file entry. + * @return ip + **/ + @ApiModelProperty(value = "IP address of the host file entry.") + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1HostAlias v1HostAlias = (V1HostAlias) o; + return Objects.equals(this.hostnames, v1HostAlias.hostnames) && + Objects.equals(this.ip, v1HostAlias.ip); + } + + @Override + public int hashCode() { + return Objects.hash(hostnames, ip); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1HostAlias {\n"); + + sb.append(" hostnames: ").append(toIndentedString(hostnames)).append("\n"); + sb.append(" ip: ").append(toIndentedString(ip)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1HostPathVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1HostPathVolumeSource.java index 6d9d9e739c..cd4c64eb42 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1HostPathVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1HostPathVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -32,16 +32,19 @@ public class V1HostPathVolumeSource { @SerializedName("path") private String path = null; + @SerializedName("type") + private String type = null; + public V1HostPathVolumeSource path(String path) { this.path = path; return this; } /** - * Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + * Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath * @return path **/ - @ApiModelProperty(required = true, value = "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath") + @ApiModelProperty(required = true, value = "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath") public String getPath() { return path; } @@ -50,6 +53,24 @@ public void setPath(String path) { this.path = path; } + public V1HostPathVolumeSource type(String type) { + this.type = type; + return this; + } + + /** + * Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + * @return type + **/ + @ApiModelProperty(value = "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + @Override public boolean equals(java.lang.Object o) { @@ -60,12 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } V1HostPathVolumeSource v1HostPathVolumeSource = (V1HostPathVolumeSource) o; - return Objects.equals(this.path, v1HostPathVolumeSource.path); + return Objects.equals(this.path, v1HostPathVolumeSource.path) && + Objects.equals(this.type, v1HostPathVolumeSource.type); } @Override public int hashCode() { - return Objects.hash(path); + return Objects.hash(path, type); } @@ -75,6 +97,7 @@ public String toString() { sb.append("class V1HostPathVolumeSource {\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1IPBlock.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1IPBlock.java new file mode 100644 index 0000000000..3ac7480372 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1IPBlock.java @@ -0,0 +1,127 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. + */ +@ApiModel(description = "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.") + +public class V1IPBlock { + @SerializedName("cidr") + private String cidr = null; + + @SerializedName("except") + private List except = null; + + public V1IPBlock cidr(String cidr) { + this.cidr = cidr; + return this; + } + + /** + * CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" + * @return cidr + **/ + @ApiModelProperty(required = true, value = "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"") + public String getCidr() { + return cidr; + } + + public void setCidr(String cidr) { + this.cidr = cidr; + } + + public V1IPBlock except(List except) { + this.except = except; + return this; + } + + public V1IPBlock addExceptItem(String exceptItem) { + if (this.except == null) { + this.except = new ArrayList(); + } + this.except.add(exceptItem); + return this; + } + + /** + * Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range + * @return except + **/ + @ApiModelProperty(value = "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range") + public List getExcept() { + return except; + } + + public void setExcept(List except) { + this.except = except; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1IPBlock v1IPBlock = (V1IPBlock) o; + return Objects.equals(this.cidr, v1IPBlock.cidr) && + Objects.equals(this.except, v1IPBlock.except); + } + + @Override + public int hashCode() { + return Objects.hash(cidr, except); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1IPBlock {\n"); + + sb.append(" cidr: ").append(toIndentedString(cidr)).append("\n"); + sb.append(" except: ").append(toIndentedString(except)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ISCSIVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ISCSIVolumeSource.java index b884936d07..190ae78d0c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ISCSIVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ISCSIVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LocalObjectReference; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -31,9 +32,18 @@ @ApiModel(description = "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.") public class V1ISCSIVolumeSource { + @SerializedName("chapAuthDiscovery") + private Boolean chapAuthDiscovery = null; + + @SerializedName("chapAuthSession") + private Boolean chapAuthSession = null; + @SerializedName("fsType") private String fsType = null; + @SerializedName("initiatorName") + private String initiatorName = null; + @SerializedName("iqn") private String iqn = null; @@ -49,19 +59,58 @@ public class V1ISCSIVolumeSource { @SerializedName("readOnly") private Boolean readOnly = null; + @SerializedName("secretRef") + private V1LocalObjectReference secretRef = null; + @SerializedName("targetPortal") private String targetPortal = null; + public V1ISCSIVolumeSource chapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + return this; + } + + /** + * whether support iSCSI Discovery CHAP authentication + * @return chapAuthDiscovery + **/ + @ApiModelProperty(value = "whether support iSCSI Discovery CHAP authentication") + public Boolean isChapAuthDiscovery() { + return chapAuthDiscovery; + } + + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + public V1ISCSIVolumeSource chapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + return this; + } + + /** + * whether support iSCSI Session CHAP authentication + * @return chapAuthSession + **/ + @ApiModelProperty(value = "whether support iSCSI Session CHAP authentication") + public Boolean isChapAuthSession() { + return chapAuthSession; + } + + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + public V1ISCSIVolumeSource fsType(String fsType) { this.fsType = fsType; return this; } /** - * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi + * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi * @return fsType **/ - @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi") + @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi") public String getFsType() { return fsType; } @@ -70,6 +119,24 @@ public void setFsType(String fsType) { this.fsType = fsType; } + public V1ISCSIVolumeSource initiatorName(String initiatorName) { + this.initiatorName = initiatorName; + return this; + } + + /** + * Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. + * @return initiatorName + **/ + @ApiModelProperty(value = "Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.") + public String getInitiatorName() { + return initiatorName; + } + + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + public V1ISCSIVolumeSource iqn(String iqn) { this.iqn = iqn; return this; @@ -168,6 +235,24 @@ public void setReadOnly(Boolean readOnly) { this.readOnly = readOnly; } + public V1ISCSIVolumeSource secretRef(V1LocalObjectReference secretRef) { + this.secretRef = secretRef; + return this; + } + + /** + * CHAP secret for iSCSI target and initiator authentication + * @return secretRef + **/ + @ApiModelProperty(value = "CHAP secret for iSCSI target and initiator authentication") + public V1LocalObjectReference getSecretRef() { + return secretRef; + } + + public void setSecretRef(V1LocalObjectReference secretRef) { + this.secretRef = secretRef; + } + public V1ISCSIVolumeSource targetPortal(String targetPortal) { this.targetPortal = targetPortal; return this; @@ -196,18 +281,22 @@ public boolean equals(java.lang.Object o) { return false; } V1ISCSIVolumeSource v1ISCSIVolumeSource = (V1ISCSIVolumeSource) o; - return Objects.equals(this.fsType, v1ISCSIVolumeSource.fsType) && + return Objects.equals(this.chapAuthDiscovery, v1ISCSIVolumeSource.chapAuthDiscovery) && + Objects.equals(this.chapAuthSession, v1ISCSIVolumeSource.chapAuthSession) && + Objects.equals(this.fsType, v1ISCSIVolumeSource.fsType) && + Objects.equals(this.initiatorName, v1ISCSIVolumeSource.initiatorName) && Objects.equals(this.iqn, v1ISCSIVolumeSource.iqn) && Objects.equals(this.iscsiInterface, v1ISCSIVolumeSource.iscsiInterface) && Objects.equals(this.lun, v1ISCSIVolumeSource.lun) && Objects.equals(this.portals, v1ISCSIVolumeSource.portals) && Objects.equals(this.readOnly, v1ISCSIVolumeSource.readOnly) && + Objects.equals(this.secretRef, v1ISCSIVolumeSource.secretRef) && Objects.equals(this.targetPortal, v1ISCSIVolumeSource.targetPortal); } @Override public int hashCode() { - return Objects.hash(fsType, iqn, iscsiInterface, lun, portals, readOnly, targetPortal); + return Objects.hash(chapAuthDiscovery, chapAuthSession, fsType, initiatorName, iqn, iscsiInterface, lun, portals, readOnly, secretRef, targetPortal); } @@ -216,12 +305,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1ISCSIVolumeSource {\n"); + sb.append(" chapAuthDiscovery: ").append(toIndentedString(chapAuthDiscovery)).append("\n"); + sb.append(" chapAuthSession: ").append(toIndentedString(chapAuthSession)).append("\n"); sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n"); + sb.append(" initiatorName: ").append(toIndentedString(initiatorName)).append("\n"); sb.append(" iqn: ").append(toIndentedString(iqn)).append("\n"); sb.append(" iscsiInterface: ").append(toIndentedString(iscsiInterface)).append("\n"); sb.append(" lun: ").append(toIndentedString(lun)).append("\n"); sb.append(" portals: ").append(toIndentedString(portals)).append("\n"); sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" secretRef: ").append(toIndentedString(secretRef)).append("\n"); sb.append(" targetPortal: ").append(toIndentedString(targetPortal)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIVersion.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Initializer.java similarity index 73% rename from kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIVersion.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V1Initializer.java index e6e0b3d09a..ab971da726 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIVersion.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Initializer.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -24,24 +24,24 @@ import java.io.IOException; /** - * An APIVersion represents a single concrete version of an object model. + * Initializer is information about an initializer that has not yet completed. */ -@ApiModel(description = "An APIVersion represents a single concrete version of an object model.") +@ApiModel(description = "Initializer is information about an initializer that has not yet completed.") -public class V1beta1APIVersion { +public class V1Initializer { @SerializedName("name") private String name = null; - public V1beta1APIVersion name(String name) { + public V1Initializer name(String name) { this.name = name; return this; } /** - * Name of this version (e.g. 'v1'). + * name of the process that is responsible for initializing this object. * @return name **/ - @ApiModelProperty(value = "Name of this version (e.g. 'v1').") + @ApiModelProperty(required = true, value = "name of the process that is responsible for initializing this object.") public String getName() { return name; } @@ -59,8 +59,8 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1APIVersion v1beta1APIVersion = (V1beta1APIVersion) o; - return Objects.equals(this.name, v1beta1APIVersion.name); + V1Initializer v1Initializer = (V1Initializer) o; + return Objects.equals(this.name, v1Initializer.name); } @Override @@ -72,7 +72,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1APIVersion {\n"); + sb.append("class V1Initializer {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Initializers.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Initializers.java new file mode 100644 index 0000000000..17cd49f76a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Initializers.java @@ -0,0 +1,126 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1Initializer; +import io.kubernetes.client.models.V1Status; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Initializers tracks the progress of initialization. + */ +@ApiModel(description = "Initializers tracks the progress of initialization.") + +public class V1Initializers { + @SerializedName("pending") + private List pending = new ArrayList(); + + @SerializedName("result") + private V1Status result = null; + + public V1Initializers pending(List pending) { + this.pending = pending; + return this; + } + + public V1Initializers addPendingItem(V1Initializer pendingItem) { + this.pending.add(pendingItem); + return this; + } + + /** + * Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients. + * @return pending + **/ + @ApiModelProperty(required = true, value = "Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients.") + public List getPending() { + return pending; + } + + public void setPending(List pending) { + this.pending = pending; + } + + public V1Initializers result(V1Status result) { + this.result = result; + return this; + } + + /** + * If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion. + * @return result + **/ + @ApiModelProperty(value = "If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion.") + public V1Status getResult() { + return result; + } + + public void setResult(V1Status result) { + this.result = result; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1Initializers v1Initializers = (V1Initializers) o; + return Objects.equals(this.pending, v1Initializers.pending) && + Objects.equals(this.result, v1Initializers.result); + } + + @Override + public int hashCode() { + return Objects.hash(pending, result); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1Initializers {\n"); + + sb.append(" pending: ").append(toIndentedString(pending)).append("\n"); + sb.append(" result: ").append(toIndentedString(result)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Job.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Job.java index 3a180ea9d8..9d44c30a0d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Job.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Job.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Job apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Job kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Job metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Job spec(V1JobSpec spec) { } /** - * Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1JobSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Job status(V1JobStatus status) { } /** - * Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1JobStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobCondition.java index 204e9dc70f..b325a91635 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobList.java index 73e4197c4e..8521053b4d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1JobList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1JobList addItemsItem(V1Job itemsItem) { } /** - * Items is the list of Job. + * items is the list of Jobs. * @return items **/ - @ApiModelProperty(required = true, value = "Items is the list of Job.") + @ApiModelProperty(required = true, value = "items is the list of Jobs.") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1JobList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1JobList metadata(V1ListMeta metadata) { } /** - * Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobSpec.java index aceb1b8222..9cb6c46657 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -34,6 +34,9 @@ public class V1JobSpec { @SerializedName("activeDeadlineSeconds") private Long activeDeadlineSeconds = null; + @SerializedName("backoffLimit") + private Integer backoffLimit = null; + @SerializedName("completions") private Integer completions = null; @@ -55,10 +58,10 @@ public V1JobSpec activeDeadlineSeconds(Long activeDeadlineSeconds) { } /** - * Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer + * Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer * @return activeDeadlineSeconds **/ - @ApiModelProperty(value = "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer") + @ApiModelProperty(value = "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer") public Long getActiveDeadlineSeconds() { return activeDeadlineSeconds; } @@ -67,16 +70,34 @@ public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { this.activeDeadlineSeconds = activeDeadlineSeconds; } + public V1JobSpec backoffLimit(Integer backoffLimit) { + this.backoffLimit = backoffLimit; + return this; + } + + /** + * Specifies the number of retries before marking this job failed. Defaults to 6 + * @return backoffLimit + **/ + @ApiModelProperty(value = "Specifies the number of retries before marking this job failed. Defaults to 6") + public Integer getBackoffLimit() { + return backoffLimit; + } + + public void setBackoffLimit(Integer backoffLimit) { + this.backoffLimit = backoffLimit; + } + public V1JobSpec completions(Integer completions) { this.completions = completions; return this; } /** - * Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs + * Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ * @return completions **/ - @ApiModelProperty(value = "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs") + @ApiModelProperty(value = "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/") public Integer getCompletions() { return completions; } @@ -91,10 +112,10 @@ public V1JobSpec manualSelector(Boolean manualSelector) { } /** - * ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md + * manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md * @return manualSelector **/ - @ApiModelProperty(value = "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md") + @ApiModelProperty(value = "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md") public Boolean isManualSelector() { return manualSelector; } @@ -109,10 +130,10 @@ public V1JobSpec parallelism(Integer parallelism) { } /** - * Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs + * Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ * @return parallelism **/ - @ApiModelProperty(value = "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs") + @ApiModelProperty(value = "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/") public Integer getParallelism() { return parallelism; } @@ -127,10 +148,10 @@ public V1JobSpec selector(V1LabelSelector selector) { } /** - * Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return selector **/ - @ApiModelProperty(value = "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public V1LabelSelector getSelector() { return selector; } @@ -145,10 +166,10 @@ public V1JobSpec template(V1PodTemplateSpec template) { } /** - * Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs + * Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ * @return template **/ - @ApiModelProperty(required = true, value = "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs") + @ApiModelProperty(required = true, value = "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/") public V1PodTemplateSpec getTemplate() { return template; } @@ -168,6 +189,7 @@ public boolean equals(java.lang.Object o) { } V1JobSpec v1JobSpec = (V1JobSpec) o; return Objects.equals(this.activeDeadlineSeconds, v1JobSpec.activeDeadlineSeconds) && + Objects.equals(this.backoffLimit, v1JobSpec.backoffLimit) && Objects.equals(this.completions, v1JobSpec.completions) && Objects.equals(this.manualSelector, v1JobSpec.manualSelector) && Objects.equals(this.parallelism, v1JobSpec.parallelism) && @@ -177,7 +199,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(activeDeadlineSeconds, completions, manualSelector, parallelism, selector, template); + return Objects.hash(activeDeadlineSeconds, backoffLimit, completions, manualSelector, parallelism, selector, template); } @@ -187,6 +209,7 @@ public String toString() { sb.append("class V1JobSpec {\n"); sb.append(" activeDeadlineSeconds: ").append(toIndentedString(activeDeadlineSeconds)).append("\n"); + sb.append(" backoffLimit: ").append(toIndentedString(backoffLimit)).append("\n"); sb.append(" completions: ").append(toIndentedString(completions)).append("\n"); sb.append(" manualSelector: ").append(toIndentedString(manualSelector)).append("\n"); sb.append(" parallelism: ").append(toIndentedString(parallelism)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobStatus.java index e8966625e7..7202dac02b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1JobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1JobStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -57,10 +57,10 @@ public V1JobStatus active(Integer active) { } /** - * Active is the number of actively running pods. + * The number of actively running pods. * @return active **/ - @ApiModelProperty(value = "Active is the number of actively running pods.") + @ApiModelProperty(value = "The number of actively running pods.") public Integer getActive() { return active; } @@ -75,10 +75,10 @@ public V1JobStatus completionTime(DateTime completionTime) { } /** - * CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. + * Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. * @return completionTime **/ - @ApiModelProperty(value = "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") + @ApiModelProperty(value = "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") public DateTime getCompletionTime() { return completionTime; } @@ -101,10 +101,10 @@ public V1JobStatus addConditionsItem(V1JobCondition conditionsItem) { } /** - * Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs + * The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ * @return conditions **/ - @ApiModelProperty(value = "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs") + @ApiModelProperty(value = "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/") public List getConditions() { return conditions; } @@ -119,10 +119,10 @@ public V1JobStatus failed(Integer failed) { } /** - * Failed is the number of pods which reached Phase Failed. + * The number of pods which reached phase Failed. * @return failed **/ - @ApiModelProperty(value = "Failed is the number of pods which reached Phase Failed.") + @ApiModelProperty(value = "The number of pods which reached phase Failed.") public Integer getFailed() { return failed; } @@ -137,10 +137,10 @@ public V1JobStatus startTime(DateTime startTime) { } /** - * StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. + * Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. * @return startTime **/ - @ApiModelProperty(value = "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") + @ApiModelProperty(value = "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.") public DateTime getStartTime() { return startTime; } @@ -155,10 +155,10 @@ public V1JobStatus succeeded(Integer succeeded) { } /** - * Succeeded is the number of pods which reached Phase Succeeded. + * The number of pods which reached phase Succeeded. * @return succeeded **/ - @ApiModelProperty(value = "Succeeded is the number of pods which reached Phase Succeeded.") + @ApiModelProperty(value = "The number of pods which reached phase Succeeded.") public Integer getSucceeded() { return succeeded; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1KeyToPath.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1KeyToPath.java index 5642e07474..c1ed887982 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1KeyToPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1KeyToPath.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelector.java index 563190112e..71f47caa86 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelectorRequirement.java index 6c82173019..fabad165c1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LabelSelectorRequirement.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -64,10 +64,10 @@ public V1LabelSelectorRequirement operator(String operator) { } /** - * operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. * @return operator **/ - @ApiModelProperty(required = true, value = "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.") + @ApiModelProperty(required = true, value = "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") public String getOperator() { return operator; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Lifecycle.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Lifecycle.java index a0be839894..ad9af774cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Lifecycle.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Lifecycle.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -42,10 +42,10 @@ public V1Lifecycle postStart(V1Handler postStart) { } /** - * PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + * PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks * @return postStart **/ - @ApiModelProperty(value = "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details") + @ApiModelProperty(value = "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks") public V1Handler getPostStart() { return postStart; } @@ -60,10 +60,10 @@ public V1Lifecycle preStop(V1Handler preStop) { } /** - * PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details + * PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks * @return preStop **/ - @ApiModelProperty(value = "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details") + @ApiModelProperty(value = "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks") public V1Handler getPreStop() { return preStop; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRange.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRange.java index a73806f370..483a0d2974 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRange.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -49,10 +49,10 @@ public V1LimitRange apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -67,10 +67,10 @@ public V1LimitRange kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -85,10 +85,10 @@ public V1LimitRange metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -103,10 +103,10 @@ public V1LimitRange spec(V1LimitRangeSpec spec) { } /** - * Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1LimitRangeSpec getSpec() { return spec; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeItem.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeItem.java index 953a5c035d..748fafa906 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeItem.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeItem.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeList.java index 9dac247bfb..6a93e3d055 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1LimitRangeList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1LimitRangeList addItemsItem(V1LimitRange itemsItem) { } /** - * Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md + * Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md * @return items **/ - @ApiModelProperty(required = true, value = "Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md") + @ApiModelProperty(required = true, value = "Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1LimitRangeList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1LimitRangeList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeSpec.java index 1e5e5f59f6..dc6e32046b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LimitRangeSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ListMeta.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ListMeta.java index 90c2a81813..2a40376ff9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ListMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ListMeta.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -29,22 +29,43 @@ @ApiModel(description = "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.") public class V1ListMeta { + @SerializedName("continue") + private String _continue = null; + @SerializedName("resourceVersion") private String resourceVersion = null; @SerializedName("selfLink") private String selfLink = null; + public V1ListMeta _continue(String _continue) { + this._continue = _continue; + return this; + } + + /** + * continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. + * @return _continue + **/ + @ApiModelProperty(value = "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.") + public String getContinue() { + return _continue; + } + + public void setContinue(String _continue) { + this._continue = _continue; + } + public V1ListMeta resourceVersion(String resourceVersion) { this.resourceVersion = resourceVersion; return this; } /** - * String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + * String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency * @return resourceVersion **/ - @ApiModelProperty(value = "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency") + @ApiModelProperty(value = "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency") public String getResourceVersion() { return resourceVersion; } @@ -59,10 +80,10 @@ public V1ListMeta selfLink(String selfLink) { } /** - * SelfLink is a URL representing this object. Populated by the system. Read-only. + * selfLink is a URL representing this object. Populated by the system. Read-only. * @return selfLink **/ - @ApiModelProperty(value = "SelfLink is a URL representing this object. Populated by the system. Read-only.") + @ApiModelProperty(value = "selfLink is a URL representing this object. Populated by the system. Read-only.") public String getSelfLink() { return selfLink; } @@ -81,13 +102,14 @@ public boolean equals(java.lang.Object o) { return false; } V1ListMeta v1ListMeta = (V1ListMeta) o; - return Objects.equals(this.resourceVersion, v1ListMeta.resourceVersion) && + return Objects.equals(this._continue, v1ListMeta._continue) && + Objects.equals(this.resourceVersion, v1ListMeta.resourceVersion) && Objects.equals(this.selfLink, v1ListMeta.selfLink); } @Override public int hashCode() { - return Objects.hash(resourceVersion, selfLink); + return Objects.hash(_continue, resourceVersion, selfLink); } @@ -96,6 +118,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1ListMeta {\n"); + sb.append(" _continue: ").append(toIndentedString(_continue)).append("\n"); sb.append(" resourceVersion: ").append(toIndentedString(resourceVersion)).append("\n"); sb.append(" selfLink: ").append(toIndentedString(selfLink)).append("\n"); sb.append("}"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerIngress.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerIngress.java index fe65facb40..a845b57108 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerIngress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerIngress.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerStatus.java index 6204aaa627..20b94b8e61 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LoadBalancerStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalObjectReference.java index 07652e96a7..f305bf3e8d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalObjectReference.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -38,10 +38,10 @@ public V1LocalObjectReference name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalSubjectAccessReview.java index f185b0c1c5..013b17ec9f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalSubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1LocalSubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1LocalSubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalVolumeSource.java new file mode 100644 index 0000000000..79faabc031 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1LocalVolumeSource.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Local represents directly-attached storage with node affinity + */ +@ApiModel(description = "Local represents directly-attached storage with node affinity") + +public class V1LocalVolumeSource { + @SerializedName("path") + private String path = null; + + public V1LocalVolumeSource path(String path) { + this.path = path; + return this; + } + + /** + * The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device + * @return path + **/ + @ApiModelProperty(required = true, value = "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device") + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1LocalVolumeSource v1LocalVolumeSource = (V1LocalVolumeSource) o; + return Objects.equals(this.path, v1LocalVolumeSource.path); + } + + @Override + public int hashCode() { + return Objects.hash(path); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1LocalVolumeSource {\n"); + + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NFSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NFSVolumeSource.java index d84e87c289..5d05defe6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NFSVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NFSVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -44,10 +44,10 @@ public V1NFSVolumeSource path(String path) { } /** - * Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + * Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs * @return path **/ - @ApiModelProperty(required = true, value = "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs") + @ApiModelProperty(required = true, value = "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs") public String getPath() { return path; } @@ -62,10 +62,10 @@ public V1NFSVolumeSource readOnly(Boolean readOnly) { } /** - * ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + * ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs * @return readOnly **/ - @ApiModelProperty(value = "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs") + @ApiModelProperty(value = "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs") public Boolean isReadOnly() { return readOnly; } @@ -80,10 +80,10 @@ public V1NFSVolumeSource server(String server) { } /** - * Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + * Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs * @return server **/ - @ApiModelProperty(required = true, value = "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs") + @ApiModelProperty(required = true, value = "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs") public String getServer() { return server; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Namespace.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Namespace.java index 37343c0ac6..c1362d55a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Namespace.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Namespace.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Namespace apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Namespace kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Namespace metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Namespace spec(V1NamespaceSpec spec) { } /** - * Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1NamespaceSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Namespace status(V1NamespaceStatus status) { } /** - * Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1NamespaceStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceList.java index 1dbcea9bb0..792acf800c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1NamespaceList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1NamespaceList addItemsItem(V1Namespace itemsItem) { } /** - * Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces + * Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ * @return items **/ - @ApiModelProperty(required = true, value = "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces") + @ApiModelProperty(required = true, value = "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1NamespaceList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1NamespaceList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceSpec.java index 492db2fa93..06389bcc37 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -48,10 +48,10 @@ public V1NamespaceSpec addFinalizersItem(String finalizersItem) { } /** - * Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers + * Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers * @return finalizers **/ - @ApiModelProperty(value = "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers") + @ApiModelProperty(value = "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers") public List getFinalizers() { return finalizers; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceStatus.java index c23309f87a..b84343c5cd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NamespaceStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -38,10 +38,10 @@ public V1NamespaceStatus phase(String phase) { } /** - * Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases + * Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases * @return phase **/ - @ApiModelProperty(value = "Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases") + @ApiModelProperty(value = "Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases") public String getPhase() { return phase; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicy.java new file mode 100644 index 0000000000..ce8504b54a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicy.java @@ -0,0 +1,165 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1NetworkPolicySpec; +import io.kubernetes.client.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * NetworkPolicy describes what network traffic is allowed for a set of Pods + */ +@ApiModel(description = "NetworkPolicy describes what network traffic is allowed for a set of Pods") + +public class V1NetworkPolicy { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1NetworkPolicySpec spec = null; + + public V1NetworkPolicy apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1NetworkPolicy kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1NetworkPolicy metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1NetworkPolicy spec(V1NetworkPolicySpec spec) { + this.spec = spec; + return this; + } + + /** + * Specification of the desired behavior for this NetworkPolicy. + * @return spec + **/ + @ApiModelProperty(value = "Specification of the desired behavior for this NetworkPolicy.") + public V1NetworkPolicySpec getSpec() { + return spec; + } + + public void setSpec(V1NetworkPolicySpec spec) { + this.spec = spec; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicy v1NetworkPolicy = (V1NetworkPolicy) o; + return Objects.equals(this.apiVersion, v1NetworkPolicy.apiVersion) && + Objects.equals(this.kind, v1NetworkPolicy.kind) && + Objects.equals(this.metadata, v1NetworkPolicy.metadata) && + Objects.equals(this.spec, v1NetworkPolicy.spec); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicy {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyEgressRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyEgressRule.java new file mode 100644 index 0000000000..3536af85e8 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyEgressRule.java @@ -0,0 +1,137 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1NetworkPolicyPeer; +import io.kubernetes.client.models.V1NetworkPolicyPort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 + */ +@ApiModel(description = "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8") + +public class V1NetworkPolicyEgressRule { + @SerializedName("ports") + private List ports = null; + + @SerializedName("to") + private List to = null; + + public V1NetworkPolicyEgressRule ports(List ports) { + this.ports = ports; + return this; + } + + public V1NetworkPolicyEgressRule addPortsItem(V1NetworkPolicyPort portsItem) { + if (this.ports == null) { + this.ports = new ArrayList(); + } + this.ports.add(portsItem); + return this; + } + + /** + * List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + * @return ports + **/ + @ApiModelProperty(value = "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.") + public List getPorts() { + return ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + + public V1NetworkPolicyEgressRule to(List to) { + this.to = to; + return this; + } + + public V1NetworkPolicyEgressRule addToItem(V1NetworkPolicyPeer toItem) { + if (this.to == null) { + this.to = new ArrayList(); + } + this.to.add(toItem); + return this; + } + + /** + * List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. + * @return to + **/ + @ApiModelProperty(value = "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.") + public List getTo() { + return to; + } + + public void setTo(List to) { + this.to = to; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicyEgressRule v1NetworkPolicyEgressRule = (V1NetworkPolicyEgressRule) o; + return Objects.equals(this.ports, v1NetworkPolicyEgressRule.ports) && + Objects.equals(this.to, v1NetworkPolicyEgressRule.to); + } + + @Override + public int hashCode() { + return Objects.hash(ports, to); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicyEgressRule {\n"); + + sb.append(" ports: ").append(toIndentedString(ports)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyIngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyIngressRule.java new file mode 100644 index 0000000000..eb68346925 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyIngressRule.java @@ -0,0 +1,137 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1NetworkPolicyPeer; +import io.kubernetes.client.models.V1NetworkPolicyPort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. + */ +@ApiModel(description = "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.") + +public class V1NetworkPolicyIngressRule { + @SerializedName("from") + private List from = null; + + @SerializedName("ports") + private List ports = null; + + public V1NetworkPolicyIngressRule from(List from) { + this.from = from; + return this; + } + + public V1NetworkPolicyIngressRule addFromItem(V1NetworkPolicyPeer fromItem) { + if (this.from == null) { + this.from = new ArrayList(); + } + this.from.add(fromItem); + return this; + } + + /** + * List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. + * @return from + **/ + @ApiModelProperty(value = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.") + public List getFrom() { + return from; + } + + public void setFrom(List from) { + this.from = from; + } + + public V1NetworkPolicyIngressRule ports(List ports) { + this.ports = ports; + return this; + } + + public V1NetworkPolicyIngressRule addPortsItem(V1NetworkPolicyPort portsItem) { + if (this.ports == null) { + this.ports = new ArrayList(); + } + this.ports.add(portsItem); + return this; + } + + /** + * List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + * @return ports + **/ + @ApiModelProperty(value = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.") + public List getPorts() { + return ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicyIngressRule v1NetworkPolicyIngressRule = (V1NetworkPolicyIngressRule) o; + return Objects.equals(this.from, v1NetworkPolicyIngressRule.from) && + Objects.equals(this.ports, v1NetworkPolicyIngressRule.ports); + } + + @Override + public int hashCode() { + return Objects.hash(from, ports); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicyIngressRule {\n"); + + sb.append(" from: ").append(toIndentedString(from)).append("\n"); + sb.append(" ports: ").append(toIndentedString(ports)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyList.java new file mode 100644 index 0000000000..4d1fdd443d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1NetworkPolicy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NetworkPolicyList is a list of NetworkPolicy objects. + */ +@ApiModel(description = "NetworkPolicyList is a list of NetworkPolicy objects.") + +public class V1NetworkPolicyList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1NetworkPolicyList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1NetworkPolicyList items(List items) { + this.items = items; + return this; + } + + public V1NetworkPolicyList addItemsItem(V1NetworkPolicy itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is a list of schema objects. + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is a list of schema objects.") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1NetworkPolicyList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1NetworkPolicyList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicyList v1NetworkPolicyList = (V1NetworkPolicyList) o; + return Objects.equals(this.apiVersion, v1NetworkPolicyList.apiVersion) && + Objects.equals(this.items, v1NetworkPolicyList.items) && + Objects.equals(this.kind, v1NetworkPolicyList.kind) && + Objects.equals(this.metadata, v1NetworkPolicyList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicyList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPeer.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPeer.java new file mode 100644 index 0000000000..0e502784bf --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPeer.java @@ -0,0 +1,142 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1IPBlock; +import io.kubernetes.client.models.V1LabelSelector; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified. + */ +@ApiModel(description = "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.") + +public class V1NetworkPolicyPeer { + @SerializedName("ipBlock") + private V1IPBlock ipBlock = null; + + @SerializedName("namespaceSelector") + private V1LabelSelector namespaceSelector = null; + + @SerializedName("podSelector") + private V1LabelSelector podSelector = null; + + public V1NetworkPolicyPeer ipBlock(V1IPBlock ipBlock) { + this.ipBlock = ipBlock; + return this; + } + + /** + * IPBlock defines policy on a particular IPBlock + * @return ipBlock + **/ + @ApiModelProperty(value = "IPBlock defines policy on a particular IPBlock") + public V1IPBlock getIpBlock() { + return ipBlock; + } + + public void setIpBlock(V1IPBlock ipBlock) { + this.ipBlock = ipBlock; + } + + public V1NetworkPolicyPeer namespaceSelector(V1LabelSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + return this; + } + + /** + * Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + * @return namespaceSelector + **/ + @ApiModelProperty(value = "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.") + public V1LabelSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(V1LabelSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + public V1NetworkPolicyPeer podSelector(V1LabelSelector podSelector) { + this.podSelector = podSelector; + return this; + } + + /** + * This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + * @return podSelector + **/ + @ApiModelProperty(value = "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.") + public V1LabelSelector getPodSelector() { + return podSelector; + } + + public void setPodSelector(V1LabelSelector podSelector) { + this.podSelector = podSelector; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicyPeer v1NetworkPolicyPeer = (V1NetworkPolicyPeer) o; + return Objects.equals(this.ipBlock, v1NetworkPolicyPeer.ipBlock) && + Objects.equals(this.namespaceSelector, v1NetworkPolicyPeer.namespaceSelector) && + Objects.equals(this.podSelector, v1NetworkPolicyPeer.podSelector); + } + + @Override + public int hashCode() { + return Objects.hash(ipBlock, namespaceSelector, podSelector); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicyPeer {\n"); + + sb.append(" ipBlock: ").append(toIndentedString(ipBlock)).append("\n"); + sb.append(" namespaceSelector: ").append(toIndentedString(namespaceSelector)).append("\n"); + sb.append(" podSelector: ").append(toIndentedString(podSelector)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPort.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPort.java new file mode 100644 index 0000000000..735a270efc --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicyPort.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * NetworkPolicyPort describes a port to allow traffic on + */ +@ApiModel(description = "NetworkPolicyPort describes a port to allow traffic on") + +public class V1NetworkPolicyPort { + @SerializedName("port") + private String port = null; + + @SerializedName("protocol") + private String protocol = null; + + public V1NetworkPolicyPort port(String port) { + this.port = port; + return this; + } + + /** + * The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. + * @return port + **/ + @ApiModelProperty(value = "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.") + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + public V1NetworkPolicyPort protocol(String protocol) { + this.protocol = protocol; + return this; + } + + /** + * The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. + * @return protocol + **/ + @ApiModelProperty(value = "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.") + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicyPort v1NetworkPolicyPort = (V1NetworkPolicyPort) o; + return Objects.equals(this.port, v1NetworkPolicyPort.port) && + Objects.equals(this.protocol, v1NetworkPolicyPort.protocol); + } + + @Override + public int hashCode() { + return Objects.hash(port, protocol); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicyPort {\n"); + + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" protocol: ").append(toIndentedString(protocol)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicySpec.java new file mode 100644 index 0000000000..c8e32a765b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NetworkPolicySpec.java @@ -0,0 +1,192 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1NetworkPolicyEgressRule; +import io.kubernetes.client.models.V1NetworkPolicyIngressRule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NetworkPolicySpec provides the specification of a NetworkPolicy + */ +@ApiModel(description = "NetworkPolicySpec provides the specification of a NetworkPolicy") + +public class V1NetworkPolicySpec { + @SerializedName("egress") + private List egress = null; + + @SerializedName("ingress") + private List ingress = null; + + @SerializedName("podSelector") + private V1LabelSelector podSelector = null; + + @SerializedName("policyTypes") + private List policyTypes = null; + + public V1NetworkPolicySpec egress(List egress) { + this.egress = egress; + return this; + } + + public V1NetworkPolicySpec addEgressItem(V1NetworkPolicyEgressRule egressItem) { + if (this.egress == null) { + this.egress = new ArrayList(); + } + this.egress.add(egressItem); + return this; + } + + /** + * List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 + * @return egress + **/ + @ApiModelProperty(value = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8") + public List getEgress() { + return egress; + } + + public void setEgress(List egress) { + this.egress = egress; + } + + public V1NetworkPolicySpec ingress(List ingress) { + this.ingress = ingress; + return this; + } + + public V1NetworkPolicySpec addIngressItem(V1NetworkPolicyIngressRule ingressItem) { + if (this.ingress == null) { + this.ingress = new ArrayList(); + } + this.ingress.add(ingressItem); + return this; + } + + /** + * List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) + * @return ingress + **/ + @ApiModelProperty(value = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)") + public List getIngress() { + return ingress; + } + + public void setIngress(List ingress) { + this.ingress = ingress; + } + + public V1NetworkPolicySpec podSelector(V1LabelSelector podSelector) { + this.podSelector = podSelector; + return this; + } + + /** + * Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. + * @return podSelector + **/ + @ApiModelProperty(required = true, value = "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.") + public V1LabelSelector getPodSelector() { + return podSelector; + } + + public void setPodSelector(V1LabelSelector podSelector) { + this.podSelector = podSelector; + } + + public V1NetworkPolicySpec policyTypes(List policyTypes) { + this.policyTypes = policyTypes; + return this; + } + + public V1NetworkPolicySpec addPolicyTypesItem(String policyTypesItem) { + if (this.policyTypes == null) { + this.policyTypes = new ArrayList(); + } + this.policyTypes.add(policyTypesItem); + return this; + } + + /** + * List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 + * @return policyTypes + **/ + @ApiModelProperty(value = "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8") + public List getPolicyTypes() { + return policyTypes; + } + + public void setPolicyTypes(List policyTypes) { + this.policyTypes = policyTypes; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NetworkPolicySpec v1NetworkPolicySpec = (V1NetworkPolicySpec) o; + return Objects.equals(this.egress, v1NetworkPolicySpec.egress) && + Objects.equals(this.ingress, v1NetworkPolicySpec.ingress) && + Objects.equals(this.podSelector, v1NetworkPolicySpec.podSelector) && + Objects.equals(this.policyTypes, v1NetworkPolicySpec.policyTypes); + } + + @Override + public int hashCode() { + return Objects.hash(egress, ingress, podSelector, policyTypes); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NetworkPolicySpec {\n"); + + sb.append(" egress: ").append(toIndentedString(egress)).append("\n"); + sb.append(" ingress: ").append(toIndentedString(ingress)).append("\n"); + sb.append(" podSelector: ").append(toIndentedString(podSelector)).append("\n"); + sb.append(" policyTypes: ").append(toIndentedString(policyTypes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Node.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Node.java index b878d43854..2c72ccc11b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Node.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Node.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Node apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Node kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Node metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Node spec(V1NodeSpec spec) { } /** - * Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1NodeSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Node status(V1NodeStatus status) { } /** - * Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1NodeStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAddress.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAddress.java index 9bd376f918..f8353f8c26 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAddress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAddress.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAffinity.java index d0acadb942..3c23ef44f8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeAffinity.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeCondition.java index f19e4d413b..2b01365506 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeConfigSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeConfigSource.java new file mode 100644 index 0000000000..7fd1636af0 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeConfigSource.java @@ -0,0 +1,141 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. + */ +@ApiModel(description = "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.") + +public class V1NodeConfigSource { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("configMapRef") + private V1ObjectReference configMapRef = null; + + @SerializedName("kind") + private String kind = null; + + public V1NodeConfigSource apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1NodeConfigSource configMapRef(V1ObjectReference configMapRef) { + this.configMapRef = configMapRef; + return this; + } + + /** + * Get configMapRef + * @return configMapRef + **/ + @ApiModelProperty(value = "") + public V1ObjectReference getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(V1ObjectReference configMapRef) { + this.configMapRef = configMapRef; + } + + public V1NodeConfigSource kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NodeConfigSource v1NodeConfigSource = (V1NodeConfigSource) o; + return Objects.equals(this.apiVersion, v1NodeConfigSource.apiVersion) && + Objects.equals(this.configMapRef, v1NodeConfigSource.configMapRef) && + Objects.equals(this.kind, v1NodeConfigSource.kind); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, configMapRef, kind); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NodeConfigSource {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" configMapRef: ").append(toIndentedString(configMapRef)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeDaemonEndpoints.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeDaemonEndpoints.java index 4b2265fb3d..da0a7e3375 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeDaemonEndpoints.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeDaemonEndpoints.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeList.java index 256b232647..573e40556d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1NodeList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1NodeList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1NodeList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelector.java index f03a5e90f9..238b1ce794 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorRequirement.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorRequirement.java index ba3916c9e3..87f79aa2ab 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorRequirement.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorRequirement.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorTerm.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorTerm.java index 1f05699643..5e603324bf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSelectorTerm.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSpec.java index 5263c86162..65f0aed5f4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1NodeConfigSource; import io.kubernetes.client.models.V1Taint; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -32,6 +33,9 @@ @ApiModel(description = "NodeSpec describes the attributes that a node is created with.") public class V1NodeSpec { + @SerializedName("configSource") + private V1NodeConfigSource configSource = null; + @SerializedName("externalID") private String externalID = null; @@ -47,6 +51,24 @@ public class V1NodeSpec { @SerializedName("unschedulable") private Boolean unschedulable = null; + public V1NodeSpec configSource(V1NodeConfigSource configSource) { + this.configSource = configSource; + return this; + } + + /** + * If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field + * @return configSource + **/ + @ApiModelProperty(value = "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field") + public V1NodeConfigSource getConfigSource() { + return configSource; + } + + public void setConfigSource(V1NodeConfigSource configSource) { + this.configSource = configSource; + } + public V1NodeSpec externalID(String externalID) { this.externalID = externalID; return this; @@ -133,10 +155,10 @@ public V1NodeSpec unschedulable(Boolean unschedulable) { } /** - * Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration + * Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration * @return unschedulable **/ - @ApiModelProperty(value = "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration") + @ApiModelProperty(value = "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration") public Boolean isUnschedulable() { return unschedulable; } @@ -155,7 +177,8 @@ public boolean equals(java.lang.Object o) { return false; } V1NodeSpec v1NodeSpec = (V1NodeSpec) o; - return Objects.equals(this.externalID, v1NodeSpec.externalID) && + return Objects.equals(this.configSource, v1NodeSpec.configSource) && + Objects.equals(this.externalID, v1NodeSpec.externalID) && Objects.equals(this.podCIDR, v1NodeSpec.podCIDR) && Objects.equals(this.providerID, v1NodeSpec.providerID) && Objects.equals(this.taints, v1NodeSpec.taints) && @@ -164,7 +187,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(externalID, podCIDR, providerID, taints, unschedulable); + return Objects.hash(configSource, externalID, podCIDR, providerID, taints, unschedulable); } @@ -173,6 +196,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1NodeSpec {\n"); + sb.append(" configSource: ").append(toIndentedString(configSource)).append("\n"); sb.append(" externalID: ").append(toIndentedString(externalID)).append("\n"); sb.append(" podCIDR: ").append(toIndentedString(podCIDR)).append("\n"); sb.append(" providerID: ").append(toIndentedString(providerID)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeStatus.java index caac071dbc..18507474d0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -83,10 +83,10 @@ public V1NodeStatus addAddressesItem(V1NodeAddress addressesItem) { } /** - * List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses + * List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses * @return addresses **/ - @ApiModelProperty(value = "List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses") + @ApiModelProperty(value = "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses") public List getAddresses() { return addresses; } @@ -135,10 +135,10 @@ public V1NodeStatus putCapacityItem(String key, String capacityItem) { } /** - * Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. + * Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity * @return capacity **/ - @ApiModelProperty(value = "Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.") + @ApiModelProperty(value = "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity") public Map getCapacity() { return capacity; } @@ -161,10 +161,10 @@ public V1NodeStatus addConditionsItem(V1NodeCondition conditionsItem) { } /** - * Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition + * Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition * @return conditions **/ - @ApiModelProperty(value = "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition") + @ApiModelProperty(value = "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition") public List getConditions() { return conditions; } @@ -223,10 +223,10 @@ public V1NodeStatus nodeInfo(V1NodeSystemInfo nodeInfo) { } /** - * Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info + * Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info * @return nodeInfo **/ - @ApiModelProperty(value = "Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info") + @ApiModelProperty(value = "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info") public V1NodeSystemInfo getNodeInfo() { return nodeInfo; } @@ -241,10 +241,10 @@ public V1NodeStatus phase(String phase) { } /** - * NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated. + * NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. * @return phase **/ - @ApiModelProperty(value = "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.") + @ApiModelProperty(value = "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.") public String getPhase() { return phase; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSystemInfo.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSystemInfo.java index 68046524cd..aa6e8e7233 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSystemInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NodeSystemInfo.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -173,10 +173,10 @@ public V1NodeSystemInfo machineID(String machineID) { } /** - * MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html + * MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html * @return machineID **/ - @ApiModelProperty(required = true, value = "MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html") + @ApiModelProperty(required = true, value = "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html") public String getMachineID() { return machineID; } @@ -227,10 +227,10 @@ public V1NodeSystemInfo systemUUID(String systemUUID) { } /** - * SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html + * SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html * @return systemUUID **/ - @ApiModelProperty(required = true, value = "SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html") + @ApiModelProperty(required = true, value = "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html") public String getSystemUUID() { return systemUUID; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceAttributes.java index 20d6fb6268..c87a8ad6cb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceAttributes.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceRule.java new file mode 100644 index 0000000000..31e9d80bda --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1NonResourceRule.java @@ -0,0 +1,132 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NonResourceRule holds information that describes a rule for the non-resource + */ +@ApiModel(description = "NonResourceRule holds information that describes a rule for the non-resource") + +public class V1NonResourceRule { + @SerializedName("nonResourceURLs") + private List nonResourceURLs = null; + + @SerializedName("verbs") + private List verbs = new ArrayList(); + + public V1NonResourceRule nonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + return this; + } + + public V1NonResourceRule addNonResourceURLsItem(String nonResourceURLsItem) { + if (this.nonResourceURLs == null) { + this.nonResourceURLs = new ArrayList(); + } + this.nonResourceURLs.add(nonResourceURLsItem); + return this; + } + + /** + * NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. + * @return nonResourceURLs + **/ + @ApiModelProperty(value = "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.") + public List getNonResourceURLs() { + return nonResourceURLs; + } + + public void setNonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + } + + public V1NonResourceRule verbs(List verbs) { + this.verbs = verbs; + return this; + } + + public V1NonResourceRule addVerbsItem(String verbsItem) { + this.verbs.add(verbsItem); + return this; + } + + /** + * Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. + * @return verbs + **/ + @ApiModelProperty(required = true, value = "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.") + public List getVerbs() { + return verbs; + } + + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1NonResourceRule v1NonResourceRule = (V1NonResourceRule) o; + return Objects.equals(this.nonResourceURLs, v1NonResourceRule.nonResourceURLs) && + Objects.equals(this.verbs, v1NonResourceRule.verbs); + } + + @Override + public int hashCode() { + return Objects.hash(nonResourceURLs, verbs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1NonResourceRule {\n"); + + sb.append(" nonResourceURLs: ").append(toIndentedString(nonResourceURLs)).append("\n"); + sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectFieldSelector.java index 19c25e9f74..7485310f40 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectFieldSelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectMeta.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectMeta.java index 383056ca02..5585bf0278 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectMeta.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectMeta.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1Initializers; import io.kubernetes.client.models.V1OwnerReference; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -59,6 +60,9 @@ public class V1ObjectMeta { @SerializedName("generation") private Long generation = null; + @SerializedName("initializers") + private V1Initializers initializers = null; + @SerializedName("labels") private Map labels = null; @@ -130,10 +134,10 @@ public V1ObjectMeta creationTimestamp(DateTime creationTimestamp) { } /** - * CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return creationTimestamp **/ - @ApiModelProperty(value = "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public DateTime getCreationTimestamp() { return creationTimestamp; } @@ -166,10 +170,10 @@ public V1ObjectMeta deletionTimestamp(DateTime deletionTimestamp) { } /** - * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return deletionTimestamp **/ - @ApiModelProperty(value = "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public DateTime getDeletionTimestamp() { return deletionTimestamp; } @@ -210,10 +214,10 @@ public V1ObjectMeta generateName(String generateName) { } /** - * GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency + * GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * @return generateName **/ - @ApiModelProperty(value = "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency") + @ApiModelProperty(value = "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency") public String getGenerateName() { return generateName; } @@ -240,6 +244,24 @@ public void setGeneration(Long generation) { this.generation = generation; } + public V1ObjectMeta initializers(V1Initializers initializers) { + this.initializers = initializers; + return this; + } + + /** + * An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user. + * @return initializers + **/ + @ApiModelProperty(value = "An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects. When an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.") + public V1Initializers getInitializers() { + return initializers; + } + + public void setInitializers(V1Initializers initializers) { + this.initializers = initializers; + } + public V1ObjectMeta labels(Map labels) { this.labels = labels; return this; @@ -334,10 +356,10 @@ public V1ObjectMeta resourceVersion(String resourceVersion) { } /** - * An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + * An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency * @return resourceVersion **/ - @ApiModelProperty(value = "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency") + @ApiModelProperty(value = "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency") public String getResourceVersion() { return resourceVersion; } @@ -400,6 +422,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.finalizers, v1ObjectMeta.finalizers) && Objects.equals(this.generateName, v1ObjectMeta.generateName) && Objects.equals(this.generation, v1ObjectMeta.generation) && + Objects.equals(this.initializers, v1ObjectMeta.initializers) && Objects.equals(this.labels, v1ObjectMeta.labels) && Objects.equals(this.name, v1ObjectMeta.name) && Objects.equals(this.namespace, v1ObjectMeta.namespace) && @@ -411,7 +434,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(annotations, clusterName, creationTimestamp, deletionGracePeriodSeconds, deletionTimestamp, finalizers, generateName, generation, labels, name, namespace, ownerReferences, resourceVersion, selfLink, uid); + return Objects.hash(annotations, clusterName, creationTimestamp, deletionGracePeriodSeconds, deletionTimestamp, finalizers, generateName, generation, initializers, labels, name, namespace, ownerReferences, resourceVersion, selfLink, uid); } @@ -428,6 +451,7 @@ public String toString() { sb.append(" finalizers: ").append(toIndentedString(finalizers)).append("\n"); sb.append(" generateName: ").append(toIndentedString(generateName)).append("\n"); sb.append(" generation: ").append(toIndentedString(generation)).append("\n"); + sb.append(" initializers: ").append(toIndentedString(initializers)).append("\n"); sb.append(" labels: ").append(toIndentedString(labels)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectReference.java index 0694ef4671..7bb90aa8d2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ObjectReference.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -92,10 +92,10 @@ public V1ObjectReference kind(String kind) { } /** - * Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ObjectReference name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } @@ -128,10 +128,10 @@ public V1ObjectReference namespace(String namespace) { } /** - * Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces + * Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ * @return namespace **/ - @ApiModelProperty(value = "Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces") + @ApiModelProperty(value = "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/") public String getNamespace() { return namespace; } @@ -146,10 +146,10 @@ public V1ObjectReference resourceVersion(String resourceVersion) { } /** - * Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency + * Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency * @return resourceVersion **/ - @ApiModelProperty(value = "Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency") + @ApiModelProperty(value = "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency") public String getResourceVersion() { return resourceVersion; } @@ -164,10 +164,10 @@ public V1ObjectReference uid(String uid) { } /** - * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids + * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids * @return uid **/ - @ApiModelProperty(value = "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids") + @ApiModelProperty(value = "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids") public String getUid() { return uid; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1OwnerReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1OwnerReference.java index 2d56fa6844..016cb2b810 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1OwnerReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1OwnerReference.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -107,10 +107,10 @@ public V1OwnerReference kind(String kind) { } /** - * Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(required = true, value = "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(required = true, value = "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolume.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolume.java index 2e927884dd..56e7359e3e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolume.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes + * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes */ -@ApiModel(description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes") +@ApiModel(description = "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes") public class V1PersistentVolume { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public V1PersistentVolume apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1PersistentVolume kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1PersistentVolume metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1PersistentVolume spec(V1PersistentVolumeSpec spec) { } /** - * Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + * Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes * @return spec **/ - @ApiModelProperty(value = "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes") + @ApiModelProperty(value = "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes") public V1PersistentVolumeSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1PersistentVolume status(V1PersistentVolumeStatus status) { } /** - * Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes + * Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes * @return status **/ - @ApiModelProperty(value = "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes") + @ApiModelProperty(value = "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes") public V1PersistentVolumeStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaim.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaim.java index 660d571d3f..73d2458185 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaim.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaim.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1PersistentVolumeClaim apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1PersistentVolumeClaim kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1PersistentVolumeClaim metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1PersistentVolumeClaim spec(V1PersistentVolumeClaimSpec spec) { } /** - * Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + * Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims * @return spec **/ - @ApiModelProperty(value = "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims") + @ApiModelProperty(value = "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims") public V1PersistentVolumeClaimSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1PersistentVolumeClaim status(V1PersistentVolumeClaimStatus status) { } /** - * Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + * Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims * @return status **/ - @ApiModelProperty(value = "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims") + @ApiModelProperty(value = "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims") public V1PersistentVolumeClaimStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimCondition.java new file mode 100644 index 0000000000..b63144e830 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimCondition.java @@ -0,0 +1,210 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * PersistentVolumeClaimCondition contails details about state of pvc + */ +@ApiModel(description = "PersistentVolumeClaimCondition contails details about state of pvc") + +public class V1PersistentVolumeClaimCondition { + @SerializedName("lastProbeTime") + private DateTime lastProbeTime = null; + + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V1PersistentVolumeClaimCondition lastProbeTime(DateTime lastProbeTime) { + this.lastProbeTime = lastProbeTime; + return this; + } + + /** + * Last time we probed the condition. + * @return lastProbeTime + **/ + @ApiModelProperty(value = "Last time we probed the condition.") + public DateTime getLastProbeTime() { + return lastProbeTime; + } + + public void setLastProbeTime(DateTime lastProbeTime) { + this.lastProbeTime = lastProbeTime; + } + + public V1PersistentVolumeClaimCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * Last time the condition transitioned from one status to another. + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V1PersistentVolumeClaimCondition message(String message) { + this.message = message; + return this; + } + + /** + * Human-readable message indicating details about last transition. + * @return message + **/ + @ApiModelProperty(value = "Human-readable message indicating details about last transition.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V1PersistentVolumeClaimCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized. + * @return reason + **/ + @ApiModelProperty(value = "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V1PersistentVolumeClaimCondition status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @ApiModelProperty(required = true, value = "") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V1PersistentVolumeClaimCondition type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(required = true, value = "") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1PersistentVolumeClaimCondition v1PersistentVolumeClaimCondition = (V1PersistentVolumeClaimCondition) o; + return Objects.equals(this.lastProbeTime, v1PersistentVolumeClaimCondition.lastProbeTime) && + Objects.equals(this.lastTransitionTime, v1PersistentVolumeClaimCondition.lastTransitionTime) && + Objects.equals(this.message, v1PersistentVolumeClaimCondition.message) && + Objects.equals(this.reason, v1PersistentVolumeClaimCondition.reason) && + Objects.equals(this.status, v1PersistentVolumeClaimCondition.status) && + Objects.equals(this.type, v1PersistentVolumeClaimCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastProbeTime, lastTransitionTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1PersistentVolumeClaimCondition {\n"); + + sb.append(" lastProbeTime: ").append(toIndentedString(lastProbeTime)).append("\n"); + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimList.java index 4cadab8700..4b4dd62391 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1PersistentVolumeClaimList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1PersistentVolumeClaimList addItemsItem(V1PersistentVolumeClaim itemsIte } /** - * A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + * A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims * @return items **/ - @ApiModelProperty(required = true, value = "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims") + @ApiModelProperty(required = true, value = "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1PersistentVolumeClaimList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1PersistentVolumeClaimList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimSpec.java index 3e666630d9..ca964ad620 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1PersistentVolumeClaimSpec addAccessModesItem(String accessModesItem) { } /** - * AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + * AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 * @return accessModes **/ - @ApiModelProperty(value = "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1") + @ApiModelProperty(value = "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1") public List getAccessModes() { return accessModes; } @@ -80,10 +80,10 @@ public V1PersistentVolumeClaimSpec resources(V1ResourceRequirements resources) { } /** - * Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources + * Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources * @return resources **/ - @ApiModelProperty(value = "Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources") + @ApiModelProperty(value = "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources") public V1ResourceRequirements getResources() { return resources; } @@ -116,10 +116,10 @@ public V1PersistentVolumeClaimSpec storageClassName(String storageClassName) { } /** - * Name of the StorageClass required by the claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#class-1 + * Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 * @return storageClassName **/ - @ApiModelProperty(value = "Name of the StorageClass required by the claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#class-1") + @ApiModelProperty(value = "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1") public String getStorageClassName() { return storageClassName; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimStatus.java index 82cd2c6a71..f65a0d66a5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1PersistentVolumeClaimCondition; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -39,6 +40,9 @@ public class V1PersistentVolumeClaimStatus { @SerializedName("capacity") private Map capacity = null; + @SerializedName("conditions") + private List conditions = null; + @SerializedName("phase") private String phase = null; @@ -56,10 +60,10 @@ public V1PersistentVolumeClaimStatus addAccessModesItem(String accessModesItem) } /** - * AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 + * AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 * @return accessModes **/ - @ApiModelProperty(value = "AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1") + @ApiModelProperty(value = "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1") public List getAccessModes() { return accessModes; } @@ -94,6 +98,32 @@ public void setCapacity(Map capacity) { this.capacity = capacity; } + public V1PersistentVolumeClaimStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V1PersistentVolumeClaimStatus addConditionsItem(V1PersistentVolumeClaimCondition conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. + * @return conditions + **/ + @ApiModelProperty(value = "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + public V1PersistentVolumeClaimStatus phase(String phase) { this.phase = phase; return this; @@ -124,12 +154,13 @@ public boolean equals(java.lang.Object o) { V1PersistentVolumeClaimStatus v1PersistentVolumeClaimStatus = (V1PersistentVolumeClaimStatus) o; return Objects.equals(this.accessModes, v1PersistentVolumeClaimStatus.accessModes) && Objects.equals(this.capacity, v1PersistentVolumeClaimStatus.capacity) && + Objects.equals(this.conditions, v1PersistentVolumeClaimStatus.conditions) && Objects.equals(this.phase, v1PersistentVolumeClaimStatus.phase); } @Override public int hashCode() { - return Objects.hash(accessModes, capacity, phase); + return Objects.hash(accessModes, capacity, conditions, phase); } @@ -140,6 +171,7 @@ public String toString() { sb.append(" accessModes: ").append(toIndentedString(accessModes)).append("\n"); sb.append(" capacity: ").append(toIndentedString(capacity)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" phase: ").append(toIndentedString(phase)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimVolumeSource.java index e4c250357f..6487956855 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeClaimVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -41,10 +41,10 @@ public V1PersistentVolumeClaimVolumeSource claimName(String claimName) { } /** - * ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + * ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims * @return claimName **/ - @ApiModelProperty(required = true, value = "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims") + @ApiModelProperty(required = true, value = "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims") public String getClaimName() { return claimName; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeList.java index 98a3bbf44b..ddc20c46b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1PersistentVolumeList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1PersistentVolumeList addItemsItem(V1PersistentVolume itemsItem) { } /** - * List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes + * List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes * @return items **/ - @ApiModelProperty(required = true, value = "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes") + @ApiModelProperty(required = true, value = "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1PersistentVolumeList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1PersistentVolumeList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeSpec.java index 82b4424005..9416b8e75c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -21,8 +21,8 @@ import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1AWSElasticBlockStoreVolumeSource; import io.kubernetes.client.models.V1AzureDiskVolumeSource; -import io.kubernetes.client.models.V1AzureFileVolumeSource; -import io.kubernetes.client.models.V1CephFSVolumeSource; +import io.kubernetes.client.models.V1AzureFilePersistentVolumeSource; +import io.kubernetes.client.models.V1CephFSPersistentVolumeSource; import io.kubernetes.client.models.V1CinderVolumeSource; import io.kubernetes.client.models.V1FCVolumeSource; import io.kubernetes.client.models.V1FlexVolumeSource; @@ -31,6 +31,7 @@ import io.kubernetes.client.models.V1GlusterfsVolumeSource; import io.kubernetes.client.models.V1HostPathVolumeSource; import io.kubernetes.client.models.V1ISCSIVolumeSource; +import io.kubernetes.client.models.V1LocalVolumeSource; import io.kubernetes.client.models.V1NFSVolumeSource; import io.kubernetes.client.models.V1ObjectReference; import io.kubernetes.client.models.V1PhotonPersistentDiskVolumeSource; @@ -38,6 +39,7 @@ import io.kubernetes.client.models.V1QuobyteVolumeSource; import io.kubernetes.client.models.V1RBDVolumeSource; import io.kubernetes.client.models.V1ScaleIOVolumeSource; +import io.kubernetes.client.models.V1StorageOSPersistentVolumeSource; import io.kubernetes.client.models.V1VsphereVirtualDiskVolumeSource; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -63,13 +65,13 @@ public class V1PersistentVolumeSpec { private V1AzureDiskVolumeSource azureDisk = null; @SerializedName("azureFile") - private V1AzureFileVolumeSource azureFile = null; + private V1AzureFilePersistentVolumeSource azureFile = null; @SerializedName("capacity") private Map capacity = null; @SerializedName("cephfs") - private V1CephFSVolumeSource cephfs = null; + private V1CephFSPersistentVolumeSource cephfs = null; @SerializedName("cinder") private V1CinderVolumeSource cinder = null; @@ -98,6 +100,12 @@ public class V1PersistentVolumeSpec { @SerializedName("iscsi") private V1ISCSIVolumeSource iscsi = null; + @SerializedName("local") + private V1LocalVolumeSource local = null; + + @SerializedName("mountOptions") + private List mountOptions = null; + @SerializedName("nfs") private V1NFSVolumeSource nfs = null; @@ -122,6 +130,9 @@ public class V1PersistentVolumeSpec { @SerializedName("storageClassName") private String storageClassName = null; + @SerializedName("storageos") + private V1StorageOSPersistentVolumeSource storageos = null; + @SerializedName("vsphereVolume") private V1VsphereVirtualDiskVolumeSource vsphereVolume = null; @@ -139,10 +150,10 @@ public V1PersistentVolumeSpec addAccessModesItem(String accessModesItem) { } /** - * AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes + * AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes * @return accessModes **/ - @ApiModelProperty(value = "AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes") + @ApiModelProperty(value = "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes") public List getAccessModes() { return accessModes; } @@ -157,10 +168,10 @@ public V1PersistentVolumeSpec awsElasticBlockStore(V1AWSElasticBlockStoreVolumeS } /** - * AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + * AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore * @return awsElasticBlockStore **/ - @ApiModelProperty(value = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore") + @ApiModelProperty(value = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore") public V1AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore() { return awsElasticBlockStore; } @@ -187,7 +198,7 @@ public void setAzureDisk(V1AzureDiskVolumeSource azureDisk) { this.azureDisk = azureDisk; } - public V1PersistentVolumeSpec azureFile(V1AzureFileVolumeSource azureFile) { + public V1PersistentVolumeSpec azureFile(V1AzureFilePersistentVolumeSource azureFile) { this.azureFile = azureFile; return this; } @@ -197,11 +208,11 @@ public V1PersistentVolumeSpec azureFile(V1AzureFileVolumeSource azureFile) { * @return azureFile **/ @ApiModelProperty(value = "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.") - public V1AzureFileVolumeSource getAzureFile() { + public V1AzureFilePersistentVolumeSource getAzureFile() { return azureFile; } - public void setAzureFile(V1AzureFileVolumeSource azureFile) { + public void setAzureFile(V1AzureFilePersistentVolumeSource azureFile) { this.azureFile = azureFile; } @@ -219,10 +230,10 @@ public V1PersistentVolumeSpec putCapacityItem(String key, String capacityItem) { } /** - * A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity + * A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity * @return capacity **/ - @ApiModelProperty(value = "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity") + @ApiModelProperty(value = "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity") public Map getCapacity() { return capacity; } @@ -231,7 +242,7 @@ public void setCapacity(Map capacity) { this.capacity = capacity; } - public V1PersistentVolumeSpec cephfs(V1CephFSVolumeSource cephfs) { + public V1PersistentVolumeSpec cephfs(V1CephFSPersistentVolumeSource cephfs) { this.cephfs = cephfs; return this; } @@ -241,11 +252,11 @@ public V1PersistentVolumeSpec cephfs(V1CephFSVolumeSource cephfs) { * @return cephfs **/ @ApiModelProperty(value = "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime") - public V1CephFSVolumeSource getCephfs() { + public V1CephFSPersistentVolumeSource getCephfs() { return cephfs; } - public void setCephfs(V1CephFSVolumeSource cephfs) { + public void setCephfs(V1CephFSPersistentVolumeSource cephfs) { this.cephfs = cephfs; } @@ -255,10 +266,10 @@ public V1PersistentVolumeSpec cinder(V1CinderVolumeSource cinder) { } /** - * Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + * Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md * @return cinder **/ - @ApiModelProperty(value = "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") + @ApiModelProperty(value = "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") public V1CinderVolumeSource getCinder() { return cinder; } @@ -273,10 +284,10 @@ public V1PersistentVolumeSpec claimRef(V1ObjectReference claimRef) { } /** - * ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding + * ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding * @return claimRef **/ - @ApiModelProperty(value = "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding") + @ApiModelProperty(value = "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding") public V1ObjectReference getClaimRef() { return claimRef; } @@ -345,10 +356,10 @@ public V1PersistentVolumeSpec gcePersistentDisk(V1GCEPersistentDiskVolumeSource } /** - * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return gcePersistentDisk **/ - @ApiModelProperty(value = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(value = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public V1GCEPersistentDiskVolumeSource getGcePersistentDisk() { return gcePersistentDisk; } @@ -363,10 +374,10 @@ public V1PersistentVolumeSpec glusterfs(V1GlusterfsVolumeSource glusterfs) { } /** - * Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + * Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md * @return glusterfs **/ - @ApiModelProperty(value = "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md") + @ApiModelProperty(value = "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md") public V1GlusterfsVolumeSource getGlusterfs() { return glusterfs; } @@ -381,10 +392,10 @@ public V1PersistentVolumeSpec hostPath(V1HostPathVolumeSource hostPath) { } /** - * HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + * HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath * @return hostPath **/ - @ApiModelProperty(value = "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath") + @ApiModelProperty(value = "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath") public V1HostPathVolumeSource getHostPath() { return hostPath; } @@ -411,16 +422,60 @@ public void setIscsi(V1ISCSIVolumeSource iscsi) { this.iscsi = iscsi; } + public V1PersistentVolumeSpec local(V1LocalVolumeSource local) { + this.local = local; + return this; + } + + /** + * Local represents directly-attached storage with node affinity + * @return local + **/ + @ApiModelProperty(value = "Local represents directly-attached storage with node affinity") + public V1LocalVolumeSource getLocal() { + return local; + } + + public void setLocal(V1LocalVolumeSource local) { + this.local = local; + } + + public V1PersistentVolumeSpec mountOptions(List mountOptions) { + this.mountOptions = mountOptions; + return this; + } + + public V1PersistentVolumeSpec addMountOptionsItem(String mountOptionsItem) { + if (this.mountOptions == null) { + this.mountOptions = new ArrayList(); + } + this.mountOptions.add(mountOptionsItem); + return this; + } + + /** + * A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options + * @return mountOptions + **/ + @ApiModelProperty(value = "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options") + public List getMountOptions() { + return mountOptions; + } + + public void setMountOptions(List mountOptions) { + this.mountOptions = mountOptions; + } + public V1PersistentVolumeSpec nfs(V1NFSVolumeSource nfs) { this.nfs = nfs; return this; } /** - * NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + * NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs * @return nfs **/ - @ApiModelProperty(value = "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs") + @ApiModelProperty(value = "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs") public V1NFSVolumeSource getNfs() { return nfs; } @@ -435,10 +490,10 @@ public V1PersistentVolumeSpec persistentVolumeReclaimPolicy(String persistentVol } /** - * What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy + * What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming * @return persistentVolumeReclaimPolicy **/ - @ApiModelProperty(value = "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy") + @ApiModelProperty(value = "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming") public String getPersistentVolumeReclaimPolicy() { return persistentVolumeReclaimPolicy; } @@ -507,10 +562,10 @@ public V1PersistentVolumeSpec rbd(V1RBDVolumeSource rbd) { } /** - * RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + * RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md * @return rbd **/ - @ApiModelProperty(value = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md") + @ApiModelProperty(value = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md") public V1RBDVolumeSource getRbd() { return rbd; } @@ -555,6 +610,24 @@ public void setStorageClassName(String storageClassName) { this.storageClassName = storageClassName; } + public V1PersistentVolumeSpec storageos(V1StorageOSPersistentVolumeSource storageos) { + this.storageos = storageos; + return this; + } + + /** + * StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md + * @return storageos + **/ + @ApiModelProperty(value = "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md") + public V1StorageOSPersistentVolumeSource getStorageos() { + return storageos; + } + + public void setStorageos(V1StorageOSPersistentVolumeSource storageos) { + this.storageos = storageos; + } + public V1PersistentVolumeSpec vsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume) { this.vsphereVolume = vsphereVolume; return this; @@ -598,6 +671,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.glusterfs, v1PersistentVolumeSpec.glusterfs) && Objects.equals(this.hostPath, v1PersistentVolumeSpec.hostPath) && Objects.equals(this.iscsi, v1PersistentVolumeSpec.iscsi) && + Objects.equals(this.local, v1PersistentVolumeSpec.local) && + Objects.equals(this.mountOptions, v1PersistentVolumeSpec.mountOptions) && Objects.equals(this.nfs, v1PersistentVolumeSpec.nfs) && Objects.equals(this.persistentVolumeReclaimPolicy, v1PersistentVolumeSpec.persistentVolumeReclaimPolicy) && Objects.equals(this.photonPersistentDisk, v1PersistentVolumeSpec.photonPersistentDisk) && @@ -606,12 +681,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.rbd, v1PersistentVolumeSpec.rbd) && Objects.equals(this.scaleIO, v1PersistentVolumeSpec.scaleIO) && Objects.equals(this.storageClassName, v1PersistentVolumeSpec.storageClassName) && + Objects.equals(this.storageos, v1PersistentVolumeSpec.storageos) && Objects.equals(this.vsphereVolume, v1PersistentVolumeSpec.vsphereVolume); } @Override public int hashCode() { - return Objects.hash(accessModes, awsElasticBlockStore, azureDisk, azureFile, capacity, cephfs, cinder, claimRef, fc, flexVolume, flocker, gcePersistentDisk, glusterfs, hostPath, iscsi, nfs, persistentVolumeReclaimPolicy, photonPersistentDisk, portworxVolume, quobyte, rbd, scaleIO, storageClassName, vsphereVolume); + return Objects.hash(accessModes, awsElasticBlockStore, azureDisk, azureFile, capacity, cephfs, cinder, claimRef, fc, flexVolume, flocker, gcePersistentDisk, glusterfs, hostPath, iscsi, local, mountOptions, nfs, persistentVolumeReclaimPolicy, photonPersistentDisk, portworxVolume, quobyte, rbd, scaleIO, storageClassName, storageos, vsphereVolume); } @@ -635,6 +711,8 @@ public String toString() { sb.append(" glusterfs: ").append(toIndentedString(glusterfs)).append("\n"); sb.append(" hostPath: ").append(toIndentedString(hostPath)).append("\n"); sb.append(" iscsi: ").append(toIndentedString(iscsi)).append("\n"); + sb.append(" local: ").append(toIndentedString(local)).append("\n"); + sb.append(" mountOptions: ").append(toIndentedString(mountOptions)).append("\n"); sb.append(" nfs: ").append(toIndentedString(nfs)).append("\n"); sb.append(" persistentVolumeReclaimPolicy: ").append(toIndentedString(persistentVolumeReclaimPolicy)).append("\n"); sb.append(" photonPersistentDisk: ").append(toIndentedString(photonPersistentDisk)).append("\n"); @@ -643,6 +721,7 @@ public String toString() { sb.append(" rbd: ").append(toIndentedString(rbd)).append("\n"); sb.append(" scaleIO: ").append(toIndentedString(scaleIO)).append("\n"); sb.append(" storageClassName: ").append(toIndentedString(storageClassName)).append("\n"); + sb.append(" storageos: ").append(toIndentedString(storageos)).append("\n"); sb.append(" vsphereVolume: ").append(toIndentedString(vsphereVolume)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeStatus.java index b34d32568b..1b783bf777 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PersistentVolumeStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1PersistentVolumeStatus phase(String phase) { } /** - * Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase + * Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase * @return phase **/ - @ApiModelProperty(value = "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase") + @ApiModelProperty(value = "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase") public String getPhase() { return phase; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PhotonPersistentDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PhotonPersistentDiskVolumeSource.java index ed3acc76a9..f535efa1b1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PhotonPersistentDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PhotonPersistentDiskVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Pod.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Pod.java index 48f841e4f9..25241d0a8e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Pod.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Pod.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Pod apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Pod kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Pod metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Pod spec(V1PodSpec spec) { } /** - * Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1PodSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Pod status(V1PodStatus status) { } /** - * Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1PodStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinity.java index effe44aeab..deb998b3f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinity.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -79,10 +79,10 @@ public V1PodAffinity addRequiredDuringSchedulingIgnoredDuringExecutionItem(V1Pod } /** - * NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + * If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. * @return requiredDuringSchedulingIgnoredDuringExecution **/ - @ApiModelProperty(value = "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @ApiModelProperty(value = "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") public List getRequiredDuringSchedulingIgnoredDuringExecution() { return requiredDuringSchedulingIgnoredDuringExecution; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinityTerm.java index 0e7ecaefd1..79e8990507 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAffinityTerm.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAntiAffinity.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAntiAffinity.java index 2c9007f16c..82207a8979 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAntiAffinity.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodAntiAffinity.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -79,10 +79,10 @@ public V1PodAntiAffinity addRequiredDuringSchedulingIgnoredDuringExecutionItem(V } /** - * NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + * If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. * @return requiredDuringSchedulingIgnoredDuringExecution **/ - @ApiModelProperty(value = "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @ApiModelProperty(value = "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") public List getRequiredDuringSchedulingIgnoredDuringExecution() { return requiredDuringSchedulingIgnoredDuringExecution; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodCondition.java index 10d70ebd80..d18e072833 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -126,10 +126,10 @@ public V1PodCondition status(String status) { } /** - * Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions + * Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions * @return status **/ - @ApiModelProperty(required = true, value = "Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions") + @ApiModelProperty(required = true, value = "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions") public String getStatus() { return status; } @@ -144,10 +144,10 @@ public V1PodCondition type(String type) { } /** - * Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions + * Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions * @return type **/ - @ApiModelProperty(required = true, value = "Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions") + @ApiModelProperty(required = true, value = "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions") public String getType() { return type; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodList.java index 49a1065f54..de04c1761c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1PodList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1PodList addItemsItem(V1Pod itemsItem) { } /** - * List of pods. More info: http://kubernetes.io/docs/user-guide/pods + * List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md * @return items **/ - @ApiModelProperty(required = true, value = "List of pods. More info: http://kubernetes.io/docs/user-guide/pods") + @ApiModelProperty(required = true, value = "List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1PodList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1PodList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSecurityContext.java index ed6b1f3352..3ba1d582b7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSecurityContext.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSpec.java index 5d8bd540cb..716f67691c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -21,6 +21,7 @@ import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1Affinity; import io.kubernetes.client.models.V1Container; +import io.kubernetes.client.models.V1HostAlias; import io.kubernetes.client.models.V1LocalObjectReference; import io.kubernetes.client.models.V1PodSecurityContext; import io.kubernetes.client.models.V1Toleration; @@ -54,6 +55,9 @@ public class V1PodSpec { @SerializedName("dnsPolicy") private String dnsPolicy = null; + @SerializedName("hostAliases") + private List hostAliases = null; + @SerializedName("hostIPC") private Boolean hostIPC = null; @@ -78,6 +82,12 @@ public class V1PodSpec { @SerializedName("nodeSelector") private Map nodeSelector = null; + @SerializedName("priority") + private Integer priority = null; + + @SerializedName("priorityClassName") + private String priorityClassName = null; + @SerializedName("restartPolicy") private String restartPolicy = null; @@ -170,10 +180,10 @@ public V1PodSpec addContainersItem(V1Container containersItem) { } /** - * List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers + * List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. * @return containers **/ - @ApiModelProperty(required = true, value = "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers") + @ApiModelProperty(required = true, value = "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.") public List getContainers() { return containers; } @@ -200,6 +210,32 @@ public void setDnsPolicy(String dnsPolicy) { this.dnsPolicy = dnsPolicy; } + public V1PodSpec hostAliases(List hostAliases) { + this.hostAliases = hostAliases; + return this; + } + + public V1PodSpec addHostAliasesItem(V1HostAlias hostAliasesItem) { + if (this.hostAliases == null) { + this.hostAliases = new ArrayList(); + } + this.hostAliases.add(hostAliasesItem); + return this; + } + + /** + * HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. + * @return hostAliases + **/ + @ApiModelProperty(value = "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.") + public List getHostAliases() { + return hostAliases; + } + + public void setHostAliases(List hostAliases) { + this.hostAliases = hostAliases; + } + public V1PodSpec hostIPC(Boolean hostIPC) { this.hostIPC = hostIPC; return this; @@ -286,10 +322,10 @@ public V1PodSpec addImagePullSecretsItem(V1LocalObjectReference imagePullSecrets } /** - * ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod + * ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod * @return imagePullSecrets **/ - @ApiModelProperty(value = "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod") + @ApiModelProperty(value = "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod") public List getImagePullSecrets() { return imagePullSecrets; } @@ -312,10 +348,10 @@ public V1PodSpec addInitContainersItem(V1Container initContainersItem) { } /** - * List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers + * List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ * @return initContainers **/ - @ApiModelProperty(value = "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers") + @ApiModelProperty(value = "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/") public List getInitContainers() { return initContainers; } @@ -356,10 +392,10 @@ public V1PodSpec putNodeSelectorItem(String key, String nodeSelectorItem) { } /** - * NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README + * NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ * @return nodeSelector **/ - @ApiModelProperty(value = "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README") + @ApiModelProperty(value = "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/") public Map getNodeSelector() { return nodeSelector; } @@ -368,16 +404,52 @@ public void setNodeSelector(Map nodeSelector) { this.nodeSelector = nodeSelector; } + public V1PodSpec priority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. + * @return priority + **/ + @ApiModelProperty(value = "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.") + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public V1PodSpec priorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + return this; + } + + /** + * If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. + * @return priorityClassName + **/ + @ApiModelProperty(value = "If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.") + public String getPriorityClassName() { + return priorityClassName; + } + + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + public V1PodSpec restartPolicy(String restartPolicy) { this.restartPolicy = restartPolicy; return this; } /** - * Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy + * Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy * @return restartPolicy **/ - @ApiModelProperty(value = "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy") + @ApiModelProperty(value = "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy") public String getRestartPolicy() { return restartPolicy; } @@ -446,10 +518,10 @@ public V1PodSpec serviceAccountName(String serviceAccountName) { } /** - * ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md + * ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ * @return serviceAccountName **/ - @ApiModelProperty(value = "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md") + @ApiModelProperty(value = "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/") public String getServiceAccountName() { return serviceAccountName; } @@ -534,10 +606,10 @@ public V1PodSpec addVolumesItem(V1Volume volumesItem) { } /** - * List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes + * List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes * @return volumes **/ - @ApiModelProperty(value = "List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes") + @ApiModelProperty(value = "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes") public List getVolumes() { return volumes; } @@ -561,6 +633,7 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.automountServiceAccountToken, v1PodSpec.automountServiceAccountToken) && Objects.equals(this.containers, v1PodSpec.containers) && Objects.equals(this.dnsPolicy, v1PodSpec.dnsPolicy) && + Objects.equals(this.hostAliases, v1PodSpec.hostAliases) && Objects.equals(this.hostIPC, v1PodSpec.hostIPC) && Objects.equals(this.hostNetwork, v1PodSpec.hostNetwork) && Objects.equals(this.hostPID, v1PodSpec.hostPID) && @@ -569,6 +642,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.initContainers, v1PodSpec.initContainers) && Objects.equals(this.nodeName, v1PodSpec.nodeName) && Objects.equals(this.nodeSelector, v1PodSpec.nodeSelector) && + Objects.equals(this.priority, v1PodSpec.priority) && + Objects.equals(this.priorityClassName, v1PodSpec.priorityClassName) && Objects.equals(this.restartPolicy, v1PodSpec.restartPolicy) && Objects.equals(this.schedulerName, v1PodSpec.schedulerName) && Objects.equals(this.securityContext, v1PodSpec.securityContext) && @@ -582,7 +657,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsPolicy, hostIPC, hostNetwork, hostPID, hostname, imagePullSecrets, initContainers, nodeName, nodeSelector, restartPolicy, schedulerName, securityContext, serviceAccount, serviceAccountName, subdomain, terminationGracePeriodSeconds, tolerations, volumes); + return Objects.hash(activeDeadlineSeconds, affinity, automountServiceAccountToken, containers, dnsPolicy, hostAliases, hostIPC, hostNetwork, hostPID, hostname, imagePullSecrets, initContainers, nodeName, nodeSelector, priority, priorityClassName, restartPolicy, schedulerName, securityContext, serviceAccount, serviceAccountName, subdomain, terminationGracePeriodSeconds, tolerations, volumes); } @@ -596,6 +671,7 @@ public String toString() { sb.append(" automountServiceAccountToken: ").append(toIndentedString(automountServiceAccountToken)).append("\n"); sb.append(" containers: ").append(toIndentedString(containers)).append("\n"); sb.append(" dnsPolicy: ").append(toIndentedString(dnsPolicy)).append("\n"); + sb.append(" hostAliases: ").append(toIndentedString(hostAliases)).append("\n"); sb.append(" hostIPC: ").append(toIndentedString(hostIPC)).append("\n"); sb.append(" hostNetwork: ").append(toIndentedString(hostNetwork)).append("\n"); sb.append(" hostPID: ").append(toIndentedString(hostPID)).append("\n"); @@ -604,6 +680,8 @@ public String toString() { sb.append(" initContainers: ").append(toIndentedString(initContainers)).append("\n"); sb.append(" nodeName: ").append(toIndentedString(nodeName)).append("\n"); sb.append(" nodeSelector: ").append(toIndentedString(nodeSelector)).append("\n"); + sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" priorityClassName: ").append(toIndentedString(priorityClassName)).append("\n"); sb.append(" restartPolicy: ").append(toIndentedString(restartPolicy)).append("\n"); sb.append(" schedulerName: ").append(toIndentedString(schedulerName)).append("\n"); sb.append(" securityContext: ").append(toIndentedString(securityContext)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodStatus.java index d2e7533065..1a0edef487 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -78,10 +78,10 @@ public V1PodStatus addConditionsItem(V1PodCondition conditionsItem) { } /** - * Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions + * Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions * @return conditions **/ - @ApiModelProperty(value = "Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions") + @ApiModelProperty(value = "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions") public List getConditions() { return conditions; } @@ -104,10 +104,10 @@ public V1PodStatus addContainerStatusesItem(V1ContainerStatus containerStatusesI } /** - * The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses + * The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status * @return containerStatuses **/ - @ApiModelProperty(value = "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses") + @ApiModelProperty(value = "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status") public List getContainerStatuses() { return containerStatuses; } @@ -148,10 +148,10 @@ public V1PodStatus addInitContainerStatusesItem(V1ContainerStatus initContainerS } /** - * The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses + * The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status * @return initContainerStatuses **/ - @ApiModelProperty(value = "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses") + @ApiModelProperty(value = "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status") public List getInitContainerStatuses() { return initContainerStatuses; } @@ -184,10 +184,10 @@ public V1PodStatus phase(String phase) { } /** - * Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase + * Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase * @return phase **/ - @ApiModelProperty(value = "Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase") + @ApiModelProperty(value = "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase") public String getPhase() { return phase; } @@ -238,10 +238,10 @@ public V1PodStatus reason(String reason) { } /** - * A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' + * A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' * @return reason **/ - @ApiModelProperty(value = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'") + @ApiModelProperty(value = "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'") public String getReason() { return reason; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplate.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplate.java index e63c043e75..4ec99f25a6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplate.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplate.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -49,10 +49,10 @@ public V1PodTemplate apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -67,10 +67,10 @@ public V1PodTemplate kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -85,10 +85,10 @@ public V1PodTemplate metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -103,10 +103,10 @@ public V1PodTemplate template(V1PodTemplateSpec template) { } /** - * Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return template **/ - @ApiModelProperty(value = "Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1PodTemplateSpec getTemplate() { return template; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateList.java index 538bf3399b..f1fe8d968d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1PodTemplateList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1PodTemplateList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1PodTemplateList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateSpec.java index 6a77bf6628..419556c982 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PodTemplateSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -43,10 +43,10 @@ public V1PodTemplateSpec metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -61,10 +61,10 @@ public V1PodTemplateSpec spec(V1PodSpec spec) { } /** - * Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1PodSpec getSpec() { return spec; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PolicyRule.java new file mode 100644 index 0000000000..5a938f4b2f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PolicyRule.java @@ -0,0 +1,225 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. + */ +@ApiModel(description = "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.") + +public class V1PolicyRule { + @SerializedName("apiGroups") + private List apiGroups = null; + + @SerializedName("nonResourceURLs") + private List nonResourceURLs = null; + + @SerializedName("resourceNames") + private List resourceNames = null; + + @SerializedName("resources") + private List resources = null; + + @SerializedName("verbs") + private List verbs = new ArrayList(); + + public V1PolicyRule apiGroups(List apiGroups) { + this.apiGroups = apiGroups; + return this; + } + + public V1PolicyRule addApiGroupsItem(String apiGroupsItem) { + if (this.apiGroups == null) { + this.apiGroups = new ArrayList(); + } + this.apiGroups.add(apiGroupsItem); + return this; + } + + /** + * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. + * @return apiGroups + **/ + @ApiModelProperty(value = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.") + public List getApiGroups() { + return apiGroups; + } + + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + public V1PolicyRule nonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + return this; + } + + public V1PolicyRule addNonResourceURLsItem(String nonResourceURLsItem) { + if (this.nonResourceURLs == null) { + this.nonResourceURLs = new ArrayList(); + } + this.nonResourceURLs.add(nonResourceURLsItem); + return this; + } + + /** + * NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. + * @return nonResourceURLs + **/ + @ApiModelProperty(value = "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.") + public List getNonResourceURLs() { + return nonResourceURLs; + } + + public void setNonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + } + + public V1PolicyRule resourceNames(List resourceNames) { + this.resourceNames = resourceNames; + return this; + } + + public V1PolicyRule addResourceNamesItem(String resourceNamesItem) { + if (this.resourceNames == null) { + this.resourceNames = new ArrayList(); + } + this.resourceNames.add(resourceNamesItem); + return this; + } + + /** + * ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. + * @return resourceNames + **/ + @ApiModelProperty(value = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.") + public List getResourceNames() { + return resourceNames; + } + + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + public V1PolicyRule resources(List resources) { + this.resources = resources; + return this; + } + + public V1PolicyRule addResourcesItem(String resourcesItem) { + if (this.resources == null) { + this.resources = new ArrayList(); + } + this.resources.add(resourcesItem); + return this; + } + + /** + * Resources is a list of resources this rule applies to. ResourceAll represents all resources. + * @return resources + **/ + @ApiModelProperty(value = "Resources is a list of resources this rule applies to. ResourceAll represents all resources.") + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public V1PolicyRule verbs(List verbs) { + this.verbs = verbs; + return this; + } + + public V1PolicyRule addVerbsItem(String verbsItem) { + this.verbs.add(verbsItem); + return this; + } + + /** + * Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. + * @return verbs + **/ + @ApiModelProperty(required = true, value = "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.") + public List getVerbs() { + return verbs; + } + + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1PolicyRule v1PolicyRule = (V1PolicyRule) o; + return Objects.equals(this.apiGroups, v1PolicyRule.apiGroups) && + Objects.equals(this.nonResourceURLs, v1PolicyRule.nonResourceURLs) && + Objects.equals(this.resourceNames, v1PolicyRule.resourceNames) && + Objects.equals(this.resources, v1PolicyRule.resources) && + Objects.equals(this.verbs, v1PolicyRule.verbs); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroups, nonResourceURLs, resourceNames, resources, verbs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1PolicyRule {\n"); + + sb.append(" apiGroups: ").append(toIndentedString(apiGroups)).append("\n"); + sb.append(" nonResourceURLs: ").append(toIndentedString(nonResourceURLs)).append("\n"); + sb.append(" resourceNames: ").append(toIndentedString(resourceNames)).append("\n"); + sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); + sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PortworxVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PortworxVolumeSource.java index 4363a7c63c..267c66647a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PortworxVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PortworxVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Preconditions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Preconditions.java index 0e7355831e..43b91099b8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Preconditions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Preconditions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1PreferredSchedulingTerm.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1PreferredSchedulingTerm.java index 44cb20f5c9..698ff1ac36 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1PreferredSchedulingTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1PreferredSchedulingTerm.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Probe.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Probe.java index 2bd42e18bb..1f59b6e59b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Probe.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Probe.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -116,10 +116,10 @@ public V1Probe initialDelaySeconds(Integer initialDelaySeconds) { } /** - * Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + * Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes * @return initialDelaySeconds **/ - @ApiModelProperty(value = "Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes") + @ApiModelProperty(value = "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes") public Integer getInitialDelaySeconds() { return initialDelaySeconds; } @@ -188,10 +188,10 @@ public V1Probe timeoutSeconds(Integer timeoutSeconds) { } /** - * Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes + * Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes * @return timeoutSeconds **/ - @ApiModelProperty(value = "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes") + @ApiModelProperty(value = "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes") public Integer getTimeoutSeconds() { return timeoutSeconds; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ProjectedVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ProjectedVolumeSource.java index eea9d2d9cf..853e8df8f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ProjectedVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ProjectedVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1QuobyteVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1QuobyteVolumeSource.java index 37caa3a79b..8445029acf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1QuobyteVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1QuobyteVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1RBDVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1RBDVolumeSource.java index 4cb8f109a1..9e025a37d7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1RBDVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1RBDVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1RBDVolumeSource fsType(String fsType) { } /** - * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd + * Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd * @return fsType **/ - @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd") + @ApiModelProperty(value = "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd") public String getFsType() { return fsType; } @@ -80,10 +80,10 @@ public V1RBDVolumeSource image(String image) { } /** - * The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return image **/ - @ApiModelProperty(required = true, value = "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(required = true, value = "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public String getImage() { return image; } @@ -98,10 +98,10 @@ public V1RBDVolumeSource keyring(String keyring) { } /** - * Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return keyring **/ - @ApiModelProperty(value = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(value = "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public String getKeyring() { return keyring; } @@ -121,10 +121,10 @@ public V1RBDVolumeSource addMonitorsItem(String monitorsItem) { } /** - * A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return monitors **/ - @ApiModelProperty(required = true, value = "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(required = true, value = "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public List getMonitors() { return monitors; } @@ -139,10 +139,10 @@ public V1RBDVolumeSource pool(String pool) { } /** - * The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. + * The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return pool **/ - @ApiModelProperty(value = "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.") + @ApiModelProperty(value = "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public String getPool() { return pool; } @@ -157,10 +157,10 @@ public V1RBDVolumeSource readOnly(Boolean readOnly) { } /** - * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return readOnly **/ - @ApiModelProperty(value = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(value = "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public Boolean isReadOnly() { return readOnly; } @@ -175,10 +175,10 @@ public V1RBDVolumeSource secretRef(V1LocalObjectReference secretRef) { } /** - * SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return secretRef **/ - @ApiModelProperty(value = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(value = "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public V1LocalObjectReference getSecretRef() { return secretRef; } @@ -193,10 +193,10 @@ public V1RBDVolumeSource user(String user) { } /** - * The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + * The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it * @return user **/ - @ApiModelProperty(value = "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") + @ApiModelProperty(value = "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it") public String getUser() { return user; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationController.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationController.java index e0f5793cff..0cb1c48e13 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationController.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationController.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1ReplicationController apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1ReplicationController kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1ReplicationController metadata(V1ObjectMeta metadata) { } /** - * If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1ReplicationController spec(V1ReplicationControllerSpec spec) { } /** - * Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ReplicationControllerSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1ReplicationController status(V1ReplicationControllerStatus status) { } /** - * Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ReplicationControllerStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerCondition.java index 1bfa3fa7f0..900595e7c2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerList.java index 08bbbdce54..a5a005ec93 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ReplicationControllerList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1ReplicationControllerList addItemsItem(V1ReplicationController itemsIte } /** - * List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller + * List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller * @return items **/ - @ApiModelProperty(required = true, value = "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller") + @ApiModelProperty(required = true, value = "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1ReplicationControllerList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ReplicationControllerList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerSpec.java index 2d480a906f..a279bae4b2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -69,10 +69,10 @@ public V1ReplicationControllerSpec replicas(Integer replicas) { } /** - * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller * @return replicas **/ - @ApiModelProperty(value = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller") + @ApiModelProperty(value = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller") public Integer getReplicas() { return replicas; } @@ -95,10 +95,10 @@ public V1ReplicationControllerSpec putSelectorItem(String key, String selectorIt } /** - * Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return selector **/ - @ApiModelProperty(value = "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public Map getSelector() { return selector; } @@ -113,10 +113,10 @@ public V1ReplicationControllerSpec template(V1PodTemplateSpec template) { } /** - * Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + * Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template * @return template **/ - @ApiModelProperty(value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template") + @ApiModelProperty(value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template") public V1PodTemplateSpec getTemplate() { return template; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerStatus.java index bb4b80c264..af7d92c61e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ReplicationControllerStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -154,10 +154,10 @@ public V1ReplicationControllerStatus replicas(Integer replicas) { } /** - * Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + * Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller * @return replicas **/ - @ApiModelProperty(required = true, value = "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller") + @ApiModelProperty(required = true, value = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller") public Integer getReplicas() { return replicas; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceAttributes.java index 6830d7707f..849438af18 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceAttributes.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceFieldSelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceFieldSelector.java index bcc7ee166c..e95a8d1f38 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceFieldSelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceFieldSelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuota.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuota.java index b678da51d8..6668a03551 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuota.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuota.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1ResourceQuota apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1ResourceQuota kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1ResourceQuota metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1ResourceQuota spec(V1ResourceQuotaSpec spec) { } /** - * Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ResourceQuotaSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1ResourceQuota status(V1ResourceQuotaStatus status) { } /** - * Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ResourceQuotaStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaList.java index e074169172..30443728bf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ResourceQuotaList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1ResourceQuotaList addItemsItem(V1ResourceQuota itemsItem) { } /** - * Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + * Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md * @return items **/ - @ApiModelProperty(required = true, value = "Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota") + @ApiModelProperty(required = true, value = "Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1ResourceQuotaList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ResourceQuotaList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaSpec.java index e692bae9c6..1748155ff6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1ResourceQuotaSpec putHardItem(String key, String hardItem) { } /** - * Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + * Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md * @return hard **/ - @ApiModelProperty(value = "Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota") + @ApiModelProperty(value = "Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md") public Map getHard() { return hard; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaStatus.java index 92c9638a93..b6b9a76429 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceQuotaStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -52,10 +52,10 @@ public V1ResourceQuotaStatus putHardItem(String key, String hardItem) { } /** - * Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota + * Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md * @return hard **/ - @ApiModelProperty(value = "Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota") + @ApiModelProperty(value = "Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md") public Map getHard() { return hard; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRequirements.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRequirements.java index 1ef1aac279..f63c3530bc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRequirements.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRequirements.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -52,10 +52,10 @@ public V1ResourceRequirements putLimitsItem(String key, String limitsItem) { } /** - * Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/ + * Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ * @return limits **/ - @ApiModelProperty(value = "Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/") + @ApiModelProperty(value = "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/") public Map getLimits() { return limits; } @@ -78,10 +78,10 @@ public V1ResourceRequirements putRequestsItem(String key, String requestsItem) { } /** - * Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/ + * Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ * @return requests **/ - @ApiModelProperty(value = "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/") + @ApiModelProperty(value = "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/") public Map getRequests() { return requests; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRule.java new file mode 100644 index 0000000000..cd9c07ca58 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ResourceRule.java @@ -0,0 +1,194 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + */ +@ApiModel(description = "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + +public class V1ResourceRule { + @SerializedName("apiGroups") + private List apiGroups = null; + + @SerializedName("resourceNames") + private List resourceNames = null; + + @SerializedName("resources") + private List resources = null; + + @SerializedName("verbs") + private List verbs = new ArrayList(); + + public V1ResourceRule apiGroups(List apiGroups) { + this.apiGroups = apiGroups; + return this; + } + + public V1ResourceRule addApiGroupsItem(String apiGroupsItem) { + if (this.apiGroups == null) { + this.apiGroups = new ArrayList(); + } + this.apiGroups.add(apiGroupsItem); + return this; + } + + /** + * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. + * @return apiGroups + **/ + @ApiModelProperty(value = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.") + public List getApiGroups() { + return apiGroups; + } + + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + public V1ResourceRule resourceNames(List resourceNames) { + this.resourceNames = resourceNames; + return this; + } + + public V1ResourceRule addResourceNamesItem(String resourceNamesItem) { + if (this.resourceNames == null) { + this.resourceNames = new ArrayList(); + } + this.resourceNames.add(resourceNamesItem); + return this; + } + + /** + * ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. + * @return resourceNames + **/ + @ApiModelProperty(value = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.") + public List getResourceNames() { + return resourceNames; + } + + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + public V1ResourceRule resources(List resources) { + this.resources = resources; + return this; + } + + public V1ResourceRule addResourcesItem(String resourcesItem) { + if (this.resources == null) { + this.resources = new ArrayList(); + } + this.resources.add(resourcesItem); + return this; + } + + /** + * Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. + * @return resources + **/ + @ApiModelProperty(value = "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.") + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public V1ResourceRule verbs(List verbs) { + this.verbs = verbs; + return this; + } + + public V1ResourceRule addVerbsItem(String verbsItem) { + this.verbs.add(verbsItem); + return this; + } + + /** + * Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. + * @return verbs + **/ + @ApiModelProperty(required = true, value = "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.") + public List getVerbs() { + return verbs; + } + + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1ResourceRule v1ResourceRule = (V1ResourceRule) o; + return Objects.equals(this.apiGroups, v1ResourceRule.apiGroups) && + Objects.equals(this.resourceNames, v1ResourceRule.resourceNames) && + Objects.equals(this.resources, v1ResourceRule.resources) && + Objects.equals(this.verbs, v1ResourceRule.verbs); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroups, resourceNames, resources, verbs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1ResourceRule {\n"); + + sb.append(" apiGroups: ").append(toIndentedString(apiGroups)).append("\n"); + sb.append(" resourceNames: ").append(toIndentedString(resourceNames)).append("\n"); + sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); + sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Role.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Role.java new file mode 100644 index 0000000000..bb2fd662a3 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Role.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1PolicyRule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. + */ +@ApiModel(description = "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.") + +public class V1Role { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("rules") + private List rules = new ArrayList(); + + public V1Role apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1Role kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1Role metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1Role rules(List rules) { + this.rules = rules; + return this; + } + + public V1Role addRulesItem(V1PolicyRule rulesItem) { + this.rules.add(rulesItem); + return this; + } + + /** + * Rules holds all the PolicyRules for this Role + * @return rules + **/ + @ApiModelProperty(required = true, value = "Rules holds all the PolicyRules for this Role") + public List getRules() { + return rules; + } + + public void setRules(List rules) { + this.rules = rules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1Role v1Role = (V1Role) o; + return Objects.equals(this.apiVersion, v1Role.apiVersion) && + Objects.equals(this.kind, v1Role.kind) && + Objects.equals(this.metadata, v1Role.metadata) && + Objects.equals(this.rules, v1Role.rules); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, rules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1Role {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBinding.java new file mode 100644 index 0000000000..0c8a37924c --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBinding.java @@ -0,0 +1,196 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1RoleRef; +import io.kubernetes.client.models.V1Subject; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. + */ +@ApiModel(description = "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.") + +public class V1RoleBinding { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("roleRef") + private V1RoleRef roleRef = null; + + @SerializedName("subjects") + private List subjects = new ArrayList(); + + public V1RoleBinding apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1RoleBinding kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1RoleBinding metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1RoleBinding roleRef(V1RoleRef roleRef) { + this.roleRef = roleRef; + return this; + } + + /** + * RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. + * @return roleRef + **/ + @ApiModelProperty(required = true, value = "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.") + public V1RoleRef getRoleRef() { + return roleRef; + } + + public void setRoleRef(V1RoleRef roleRef) { + this.roleRef = roleRef; + } + + public V1RoleBinding subjects(List subjects) { + this.subjects = subjects; + return this; + } + + public V1RoleBinding addSubjectsItem(V1Subject subjectsItem) { + this.subjects.add(subjectsItem); + return this; + } + + /** + * Subjects holds references to the objects the role applies to. + * @return subjects + **/ + @ApiModelProperty(required = true, value = "Subjects holds references to the objects the role applies to.") + public List getSubjects() { + return subjects; + } + + public void setSubjects(List subjects) { + this.subjects = subjects; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1RoleBinding v1RoleBinding = (V1RoleBinding) o; + return Objects.equals(this.apiVersion, v1RoleBinding.apiVersion) && + Objects.equals(this.kind, v1RoleBinding.kind) && + Objects.equals(this.metadata, v1RoleBinding.metadata) && + Objects.equals(this.roleRef, v1RoleBinding.roleRef) && + Objects.equals(this.subjects, v1RoleBinding.subjects); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, roleRef, subjects); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1RoleBinding {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" roleRef: ").append(toIndentedString(roleRef)).append("\n"); + sb.append(" subjects: ").append(toIndentedString(subjects)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBindingList.java new file mode 100644 index 0000000000..8761648544 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleBindingList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1RoleBinding; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * RoleBindingList is a collection of RoleBindings + */ +@ApiModel(description = "RoleBindingList is a collection of RoleBindings") + +public class V1RoleBindingList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1RoleBindingList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1RoleBindingList items(List items) { + this.items = items; + return this; + } + + public V1RoleBindingList addItemsItem(V1RoleBinding itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is a list of RoleBindings + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is a list of RoleBindings") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1RoleBindingList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1RoleBindingList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1RoleBindingList v1RoleBindingList = (V1RoleBindingList) o; + return Objects.equals(this.apiVersion, v1RoleBindingList.apiVersion) && + Objects.equals(this.items, v1RoleBindingList.items) && + Objects.equals(this.kind, v1RoleBindingList.kind) && + Objects.equals(this.metadata, v1RoleBindingList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1RoleBindingList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleList.java new file mode 100644 index 0000000000..d06af55f7d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1Role; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * RoleList is a collection of Roles + */ +@ApiModel(description = "RoleList is a collection of Roles") + +public class V1RoleList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1RoleList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1RoleList items(List items) { + this.items = items; + return this; + } + + public V1RoleList addItemsItem(V1Role itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is a list of Roles + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is a list of Roles") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1RoleList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1RoleList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata.") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1RoleList v1RoleList = (V1RoleList) o; + return Objects.equals(this.apiVersion, v1RoleList.apiVersion) && + Objects.equals(this.items, v1RoleList.items) && + Objects.equals(this.kind, v1RoleList.kind) && + Objects.equals(this.metadata, v1RoleList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1RoleList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleRef.java new file mode 100644 index 0000000000..59620b79b4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1RoleRef.java @@ -0,0 +1,140 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * RoleRef contains information that points to the role being used + */ +@ApiModel(description = "RoleRef contains information that points to the role being used") + +public class V1RoleRef { + @SerializedName("apiGroup") + private String apiGroup = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("name") + private String name = null; + + public V1RoleRef apiGroup(String apiGroup) { + this.apiGroup = apiGroup; + return this; + } + + /** + * APIGroup is the group for the resource being referenced + * @return apiGroup + **/ + @ApiModelProperty(required = true, value = "APIGroup is the group for the resource being referenced") + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + public V1RoleRef kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is the type of resource being referenced + * @return kind + **/ + @ApiModelProperty(required = true, value = "Kind is the type of resource being referenced") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1RoleRef name(String name) { + this.name = name; + return this; + } + + /** + * Name is the name of resource being referenced + * @return name + **/ + @ApiModelProperty(required = true, value = "Name is the name of resource being referenced") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1RoleRef v1RoleRef = (V1RoleRef) o; + return Objects.equals(this.apiGroup, v1RoleRef.apiGroup) && + Objects.equals(this.kind, v1RoleRef.kind) && + Objects.equals(this.name, v1RoleRef.name); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroup, kind, name); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1RoleRef {\n"); + + sb.append(" apiGroup: ").append(toIndentedString(apiGroup)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SELinuxOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SELinuxOptions.java index ae0ed5f95d..58437af232 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SELinuxOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SELinuxOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Scale.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Scale.java index 38ed487483..a42992da99 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Scale.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Scale.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Scale apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Scale kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Scale metadata(V1ObjectMeta metadata) { } /** - * Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. * @return metadata **/ - @ApiModelProperty(value = "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.") + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Scale spec(V1ScaleSpec spec) { } /** - * defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + * defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. * @return spec **/ - @ApiModelProperty(value = "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.") + @ApiModelProperty(value = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") public V1ScaleSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Scale status(V1ScaleStatus status) { } /** - * current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. + * current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. * @return status **/ - @ApiModelProperty(value = "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.") + @ApiModelProperty(value = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.") public V1ScaleStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleIOVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleIOVolumeSource.java index 4865b0fcd0..7560eabaed 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleIOVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleIOVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleSpec.java index 2041487607..55ea293df6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleStatus.java index 18d4b43b84..1d29faeab7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ScaleStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Secret.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Secret.java index f9440d46be..f7474798c5 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Secret.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Secret.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -57,10 +57,10 @@ public V1Secret apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -83,10 +83,10 @@ public V1Secret putDataItem(String key, byte[] dataItem) { } /** - * Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 + * Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 * @return data **/ - @ApiModelProperty(value = "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4") + @ApiModelProperty(value = "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4") public Map getData() { return data; } @@ -101,10 +101,10 @@ public V1Secret kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -119,10 +119,10 @@ public V1Secret metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretEnvSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretEnvSource.java index 7155fe3a93..d9e19aa82d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretEnvSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretEnvSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -41,10 +41,10 @@ public V1SecretEnvSource name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretKeySelector.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretKeySelector.java index 751dd068ae..33d7b75d32 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretKeySelector.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretKeySelector.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -62,10 +62,10 @@ public V1SecretKeySelector name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretList.java index a9fbcf925f..7a37096061 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1SecretList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1SecretList addItemsItem(V1Secret itemsItem) { } /** - * Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets + * Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret * @return items **/ - @ApiModelProperty(required = true, value = "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets") + @ApiModelProperty(required = true, value = "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1SecretList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1SecretList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretProjection.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretProjection.java index 01d41a28b6..f0413e990a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretProjection.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -73,10 +73,10 @@ public V1SecretProjection name(String name) { } /** - * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(value = "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(value = "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretReference.java new file mode 100644 index 0000000000..9ae37dd73f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretReference.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace + */ +@ApiModel(description = "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace") + +public class V1SecretReference { + @SerializedName("name") + private String name = null; + + @SerializedName("namespace") + private String namespace = null; + + public V1SecretReference name(String name) { + this.name = name; + return this; + } + + /** + * Name is unique within a namespace to reference a secret resource. + * @return name + **/ + @ApiModelProperty(value = "Name is unique within a namespace to reference a secret resource.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1SecretReference namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace defines the space within which the secret name must be unique. + * @return namespace + **/ + @ApiModelProperty(value = "Namespace defines the space within which the secret name must be unique.") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1SecretReference v1SecretReference = (V1SecretReference) o; + return Objects.equals(this.name, v1SecretReference.name) && + Objects.equals(this.namespace, v1SecretReference.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(name, namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1SecretReference {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretVolumeSource.java index f3d1fa397f..fdeb91c135 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecretVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -112,10 +112,10 @@ public V1SecretVolumeSource secretName(String secretName) { } /** - * Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + * Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret * @return secretName **/ - @ApiModelProperty(value = "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets") + @ApiModelProperty(value = "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret") public String getSecretName() { return secretName; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecurityContext.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecurityContext.java index b8e3382c87..6770b312ce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SecurityContext.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SecurityContext.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -31,6 +31,9 @@ @ApiModel(description = "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.") public class V1SecurityContext { + @SerializedName("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation = null; + @SerializedName("capabilities") private V1Capabilities capabilities = null; @@ -49,6 +52,24 @@ public class V1SecurityContext { @SerializedName("seLinuxOptions") private V1SELinuxOptions seLinuxOptions = null; + public V1SecurityContext allowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + return this; + } + + /** + * AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN + * @return allowPrivilegeEscalation + **/ + @ApiModelProperty(value = "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN") + public Boolean isAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + public V1SecurityContext capabilities(V1Capabilities capabilities) { this.capabilities = capabilities; return this; @@ -167,7 +188,8 @@ public boolean equals(java.lang.Object o) { return false; } V1SecurityContext v1SecurityContext = (V1SecurityContext) o; - return Objects.equals(this.capabilities, v1SecurityContext.capabilities) && + return Objects.equals(this.allowPrivilegeEscalation, v1SecurityContext.allowPrivilegeEscalation) && + Objects.equals(this.capabilities, v1SecurityContext.capabilities) && Objects.equals(this.privileged, v1SecurityContext.privileged) && Objects.equals(this.readOnlyRootFilesystem, v1SecurityContext.readOnlyRootFilesystem) && Objects.equals(this.runAsNonRoot, v1SecurityContext.runAsNonRoot) && @@ -177,7 +199,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(capabilities, privileged, readOnlyRootFilesystem, runAsNonRoot, runAsUser, seLinuxOptions); + return Objects.hash(allowPrivilegeEscalation, capabilities, privileged, readOnlyRootFilesystem, runAsNonRoot, runAsUser, seLinuxOptions); } @@ -186,6 +208,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1SecurityContext {\n"); + sb.append(" allowPrivilegeEscalation: ").append(toIndentedString(allowPrivilegeEscalation)).append("\n"); sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n"); sb.append(" privileged: ").append(toIndentedString(privileged)).append("\n"); sb.append(" readOnlyRootFilesystem: ").append(toIndentedString(readOnlyRootFilesystem)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReview.java index 8c4357a226..226459a6eb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1SelfSubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1SelfSubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReviewSpec.java index 4ad65b8c63..ca3520464d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectAccessReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReview.java new file mode 100644 index 0000000000..71ca664b53 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReview.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1SelfSubjectRulesReviewSpec; +import io.kubernetes.client.models.V1SubjectRulesReviewStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. + */ +@ApiModel(description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.") + +public class V1SelfSubjectRulesReview { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1SelfSubjectRulesReviewSpec spec = null; + + @SerializedName("status") + private V1SubjectRulesReviewStatus status = null; + + public V1SelfSubjectRulesReview apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1SelfSubjectRulesReview kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1SelfSubjectRulesReview metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1SelfSubjectRulesReview spec(V1SelfSubjectRulesReviewSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec holds information about the request being evaluated. + * @return spec + **/ + @ApiModelProperty(required = true, value = "Spec holds information about the request being evaluated.") + public V1SelfSubjectRulesReviewSpec getSpec() { + return spec; + } + + public void setSpec(V1SelfSubjectRulesReviewSpec spec) { + this.spec = spec; + } + + public V1SelfSubjectRulesReview status(V1SubjectRulesReviewStatus status) { + this.status = status; + return this; + } + + /** + * Status is filled in by the server and indicates the set of actions a user can perform. + * @return status + **/ + @ApiModelProperty(value = "Status is filled in by the server and indicates the set of actions a user can perform.") + public V1SubjectRulesReviewStatus getStatus() { + return status; + } + + public void setStatus(V1SubjectRulesReviewStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1SelfSubjectRulesReview v1SelfSubjectRulesReview = (V1SelfSubjectRulesReview) o; + return Objects.equals(this.apiVersion, v1SelfSubjectRulesReview.apiVersion) && + Objects.equals(this.kind, v1SelfSubjectRulesReview.kind) && + Objects.equals(this.metadata, v1SelfSubjectRulesReview.metadata) && + Objects.equals(this.spec, v1SelfSubjectRulesReview.spec) && + Objects.equals(this.status, v1SelfSubjectRulesReview.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1SelfSubjectRulesReview {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReviewSpec.java new file mode 100644 index 0000000000..08b912c38b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SelfSubjectRulesReviewSpec.java @@ -0,0 +1,93 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * V1SelfSubjectRulesReviewSpec + */ + +public class V1SelfSubjectRulesReviewSpec { + @SerializedName("namespace") + private String namespace = null; + + public V1SelfSubjectRulesReviewSpec namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace to evaluate rules for. Required. + * @return namespace + **/ + @ApiModelProperty(value = "Namespace to evaluate rules for. Required.") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1SelfSubjectRulesReviewSpec v1SelfSubjectRulesReviewSpec = (V1SelfSubjectRulesReviewSpec) o; + return Objects.equals(this.namespace, v1SelfSubjectRulesReviewSpec.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1SelfSubjectRulesReviewSpec {\n"); + + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServerAddressByClientCIDR.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServerAddressByClientCIDR.java index 47171ccafc..05ffcec668 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServerAddressByClientCIDR.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServerAddressByClientCIDR.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Service.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Service.java index 804d42cd0e..041fcc6474 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Service.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Service.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1Service apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1Service kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1Service metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1Service spec(V1ServiceSpec spec) { } /** - * Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ServiceSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1Service status(V1ServiceStatus status) { } /** - * Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1ServiceStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccount.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccount.java index 849ce7c338..d452d79b5b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccount.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -58,10 +58,10 @@ public V1ServiceAccount apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -102,10 +102,10 @@ public V1ServiceAccount addImagePullSecretsItem(V1LocalObjectReference imagePull } /** - * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret + * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod * @return imagePullSecrets **/ - @ApiModelProperty(value = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret") + @ApiModelProperty(value = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod") public List getImagePullSecrets() { return imagePullSecrets; } @@ -120,10 +120,10 @@ public V1ServiceAccount kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -138,10 +138,10 @@ public V1ServiceAccount metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -164,10 +164,10 @@ public V1ServiceAccount addSecretsItem(V1ObjectReference secretsItem) { } /** - * Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets + * Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret * @return secrets **/ - @ApiModelProperty(value = "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets") + @ApiModelProperty(value = "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret") public List getSecrets() { return secrets; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccountList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccountList.java index f3e3e7750f..9181fbcf07 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccountList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceAccountList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ServiceAccountList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1ServiceAccountList addItemsItem(V1ServiceAccount itemsItem) { } /** - * List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts + * List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ * @return items **/ - @ApiModelProperty(required = true, value = "List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts") + @ApiModelProperty(required = true, value = "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1ServiceAccountList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ServiceAccountList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceList.java index 42d5a0e6da..d6f4d53cc0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1ServiceList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1ServiceList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1ServiceList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServicePort.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServicePort.java index 35debfad58..b03c8f312d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServicePort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServicePort.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -68,10 +68,10 @@ public V1ServicePort nodePort(Integer nodePort) { } /** - * The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport + * The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport * @return nodePort **/ - @ApiModelProperty(value = "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport") + @ApiModelProperty(value = "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport") public Integer getNodePort() { return nodePort; } @@ -122,10 +122,10 @@ public V1ServicePort targetPort(String targetPort) { } /** - * Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service + * Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service * @return targetPort **/ - @ApiModelProperty(value = "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service") + @ApiModelProperty(value = "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service") public String getTargetPort() { return targetPort; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceSpec.java index 4c0c383ec0..6f05afc0f1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1ServicePort; +import io.kubernetes.client.models.V1SessionAffinityConfig; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -37,15 +38,18 @@ public class V1ServiceSpec { @SerializedName("clusterIP") private String clusterIP = null; - @SerializedName("deprecatedPublicIPs") - private List deprecatedPublicIPs = null; - @SerializedName("externalIPs") private List externalIPs = null; @SerializedName("externalName") private String externalName = null; + @SerializedName("externalTrafficPolicy") + private String externalTrafficPolicy = null; + + @SerializedName("healthCheckNodePort") + private Integer healthCheckNodePort = null; + @SerializedName("loadBalancerIP") private String loadBalancerIP = null; @@ -55,12 +59,18 @@ public class V1ServiceSpec { @SerializedName("ports") private List ports = null; + @SerializedName("publishNotReadyAddresses") + private Boolean publishNotReadyAddresses = null; + @SerializedName("selector") private Map selector = null; @SerializedName("sessionAffinity") private String sessionAffinity = null; + @SerializedName("sessionAffinityConfig") + private V1SessionAffinityConfig sessionAffinityConfig = null; + @SerializedName("type") private String type = null; @@ -70,10 +80,10 @@ public V1ServiceSpec clusterIP(String clusterIP) { } /** - * clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + * clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies * @return clusterIP **/ - @ApiModelProperty(value = "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies") + @ApiModelProperty(value = "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies") public String getClusterIP() { return clusterIP; } @@ -82,32 +92,6 @@ public void setClusterIP(String clusterIP) { this.clusterIP = clusterIP; } - public V1ServiceSpec deprecatedPublicIPs(List deprecatedPublicIPs) { - this.deprecatedPublicIPs = deprecatedPublicIPs; - return this; - } - - public V1ServiceSpec addDeprecatedPublicIPsItem(String deprecatedPublicIPsItem) { - if (this.deprecatedPublicIPs == null) { - this.deprecatedPublicIPs = new ArrayList(); - } - this.deprecatedPublicIPs.add(deprecatedPublicIPsItem); - return this; - } - - /** - * deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used. - * @return deprecatedPublicIPs - **/ - @ApiModelProperty(value = "deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.") - public List getDeprecatedPublicIPs() { - return deprecatedPublicIPs; - } - - public void setDeprecatedPublicIPs(List deprecatedPublicIPs) { - this.deprecatedPublicIPs = deprecatedPublicIPs; - } - public V1ServiceSpec externalIPs(List externalIPs) { this.externalIPs = externalIPs; return this; @@ -122,10 +106,10 @@ public V1ServiceSpec addExternalIPsItem(String externalIPsItem) { } /** - * externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field. + * externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. * @return externalIPs **/ - @ApiModelProperty(value = "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field.") + @ApiModelProperty(value = "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.") public List getExternalIPs() { return externalIPs; } @@ -152,6 +136,42 @@ public void setExternalName(String externalName) { this.externalName = externalName; } + public V1ServiceSpec externalTrafficPolicy(String externalTrafficPolicy) { + this.externalTrafficPolicy = externalTrafficPolicy; + return this; + } + + /** + * externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. + * @return externalTrafficPolicy + **/ + @ApiModelProperty(value = "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.") + public String getExternalTrafficPolicy() { + return externalTrafficPolicy; + } + + public void setExternalTrafficPolicy(String externalTrafficPolicy) { + this.externalTrafficPolicy = externalTrafficPolicy; + } + + public V1ServiceSpec healthCheckNodePort(Integer healthCheckNodePort) { + this.healthCheckNodePort = healthCheckNodePort; + return this; + } + + /** + * healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local. + * @return healthCheckNodePort + **/ + @ApiModelProperty(value = "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.") + public Integer getHealthCheckNodePort() { + return healthCheckNodePort; + } + + public void setHealthCheckNodePort(Integer healthCheckNodePort) { + this.healthCheckNodePort = healthCheckNodePort; + } + public V1ServiceSpec loadBalancerIP(String loadBalancerIP) { this.loadBalancerIP = loadBalancerIP; return this; @@ -184,10 +204,10 @@ public V1ServiceSpec addLoadBalancerSourceRangesItem(String loadBalancerSourceRa } /** - * If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls + * If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ * @return loadBalancerSourceRanges **/ - @ApiModelProperty(value = "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls") + @ApiModelProperty(value = "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/") public List getLoadBalancerSourceRanges() { return loadBalancerSourceRanges; } @@ -210,10 +230,10 @@ public V1ServiceSpec addPortsItem(V1ServicePort portsItem) { } /** - * The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + * The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies * @return ports **/ - @ApiModelProperty(value = "The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies") + @ApiModelProperty(value = "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies") public List getPorts() { return ports; } @@ -222,6 +242,24 @@ public void setPorts(List ports) { this.ports = ports; } + public V1ServiceSpec publishNotReadyAddresses(Boolean publishNotReadyAddresses) { + this.publishNotReadyAddresses = publishNotReadyAddresses; + return this; + } + + /** + * publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. + * @return publishNotReadyAddresses + **/ + @ApiModelProperty(value = "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.") + public Boolean isPublishNotReadyAddresses() { + return publishNotReadyAddresses; + } + + public void setPublishNotReadyAddresses(Boolean publishNotReadyAddresses) { + this.publishNotReadyAddresses = publishNotReadyAddresses; + } + public V1ServiceSpec selector(Map selector) { this.selector = selector; return this; @@ -236,10 +274,10 @@ public V1ServiceSpec putSelectorItem(String key, String selectorItem) { } /** - * Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview + * Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ * @return selector **/ - @ApiModelProperty(value = "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview") + @ApiModelProperty(value = "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/") public Map getSelector() { return selector; } @@ -254,10 +292,10 @@ public V1ServiceSpec sessionAffinity(String sessionAffinity) { } /** - * Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies + * Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies * @return sessionAffinity **/ - @ApiModelProperty(value = "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies") + @ApiModelProperty(value = "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies") public String getSessionAffinity() { return sessionAffinity; } @@ -266,16 +304,34 @@ public void setSessionAffinity(String sessionAffinity) { this.sessionAffinity = sessionAffinity; } + public V1ServiceSpec sessionAffinityConfig(V1SessionAffinityConfig sessionAffinityConfig) { + this.sessionAffinityConfig = sessionAffinityConfig; + return this; + } + + /** + * sessionAffinityConfig contains the configurations of session affinity. + * @return sessionAffinityConfig + **/ + @ApiModelProperty(value = "sessionAffinityConfig contains the configurations of session affinity.") + public V1SessionAffinityConfig getSessionAffinityConfig() { + return sessionAffinityConfig; + } + + public void setSessionAffinityConfig(V1SessionAffinityConfig sessionAffinityConfig) { + this.sessionAffinityConfig = sessionAffinityConfig; + } + public V1ServiceSpec type(String type) { this.type = type; return this; } /** - * type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview + * type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types * @return type **/ - @ApiModelProperty(value = "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview") + @ApiModelProperty(value = "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types") public String getType() { return type; } @@ -295,20 +351,23 @@ public boolean equals(java.lang.Object o) { } V1ServiceSpec v1ServiceSpec = (V1ServiceSpec) o; return Objects.equals(this.clusterIP, v1ServiceSpec.clusterIP) && - Objects.equals(this.deprecatedPublicIPs, v1ServiceSpec.deprecatedPublicIPs) && Objects.equals(this.externalIPs, v1ServiceSpec.externalIPs) && Objects.equals(this.externalName, v1ServiceSpec.externalName) && + Objects.equals(this.externalTrafficPolicy, v1ServiceSpec.externalTrafficPolicy) && + Objects.equals(this.healthCheckNodePort, v1ServiceSpec.healthCheckNodePort) && Objects.equals(this.loadBalancerIP, v1ServiceSpec.loadBalancerIP) && Objects.equals(this.loadBalancerSourceRanges, v1ServiceSpec.loadBalancerSourceRanges) && Objects.equals(this.ports, v1ServiceSpec.ports) && + Objects.equals(this.publishNotReadyAddresses, v1ServiceSpec.publishNotReadyAddresses) && Objects.equals(this.selector, v1ServiceSpec.selector) && Objects.equals(this.sessionAffinity, v1ServiceSpec.sessionAffinity) && + Objects.equals(this.sessionAffinityConfig, v1ServiceSpec.sessionAffinityConfig) && Objects.equals(this.type, v1ServiceSpec.type); } @Override public int hashCode() { - return Objects.hash(clusterIP, deprecatedPublicIPs, externalIPs, externalName, loadBalancerIP, loadBalancerSourceRanges, ports, selector, sessionAffinity, type); + return Objects.hash(clusterIP, externalIPs, externalName, externalTrafficPolicy, healthCheckNodePort, loadBalancerIP, loadBalancerSourceRanges, ports, publishNotReadyAddresses, selector, sessionAffinity, sessionAffinityConfig, type); } @@ -318,14 +377,17 @@ public String toString() { sb.append("class V1ServiceSpec {\n"); sb.append(" clusterIP: ").append(toIndentedString(clusterIP)).append("\n"); - sb.append(" deprecatedPublicIPs: ").append(toIndentedString(deprecatedPublicIPs)).append("\n"); sb.append(" externalIPs: ").append(toIndentedString(externalIPs)).append("\n"); sb.append(" externalName: ").append(toIndentedString(externalName)).append("\n"); + sb.append(" externalTrafficPolicy: ").append(toIndentedString(externalTrafficPolicy)).append("\n"); + sb.append(" healthCheckNodePort: ").append(toIndentedString(healthCheckNodePort)).append("\n"); sb.append(" loadBalancerIP: ").append(toIndentedString(loadBalancerIP)).append("\n"); sb.append(" loadBalancerSourceRanges: ").append(toIndentedString(loadBalancerSourceRanges)).append("\n"); sb.append(" ports: ").append(toIndentedString(ports)).append("\n"); + sb.append(" publishNotReadyAddresses: ").append(toIndentedString(publishNotReadyAddresses)).append("\n"); sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); sb.append(" sessionAffinity: ").append(toIndentedString(sessionAffinity)).append("\n"); + sb.append(" sessionAffinityConfig: ").append(toIndentedString(sessionAffinityConfig)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceStatus.java index d3ea3228eb..17c6fa8cc7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1ServiceStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SessionAffinityConfig.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SessionAffinityConfig.java new file mode 100644 index 0000000000..ec0f0a5f2d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SessionAffinityConfig.java @@ -0,0 +1,95 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ClientIPConfig; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SessionAffinityConfig represents the configurations of session affinity. + */ +@ApiModel(description = "SessionAffinityConfig represents the configurations of session affinity.") + +public class V1SessionAffinityConfig { + @SerializedName("clientIP") + private V1ClientIPConfig clientIP = null; + + public V1SessionAffinityConfig clientIP(V1ClientIPConfig clientIP) { + this.clientIP = clientIP; + return this; + } + + /** + * clientIP contains the configurations of Client IP based session affinity. + * @return clientIP + **/ + @ApiModelProperty(value = "clientIP contains the configurations of Client IP based session affinity.") + public V1ClientIPConfig getClientIP() { + return clientIP; + } + + public void setClientIP(V1ClientIPConfig clientIP) { + this.clientIP = clientIP; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1SessionAffinityConfig v1SessionAffinityConfig = (V1SessionAffinityConfig) o; + return Objects.equals(this.clientIP, v1SessionAffinityConfig.clientIP); + } + + @Override + public int hashCode() { + return Objects.hash(clientIP); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1SessionAffinityConfig {\n"); + + sb.append(" clientIP: ").append(toIndentedString(clientIP)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Status.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Status.java index 9fa2011caa..9a7c9d0dc8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Status.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Status.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -61,10 +61,10 @@ public V1Status apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -115,10 +115,10 @@ public V1Status kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -151,10 +151,10 @@ public V1Status metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } @@ -187,10 +187,10 @@ public V1Status status(String status) { } /** - * Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public String getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusCause.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusCause.java index 805c1a5714..513081df2a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusCause.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusCause.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusDetails.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusDetails.java index 6fd95b8f9c..f05a21ad72 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusDetails.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StatusDetails.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,6 +47,9 @@ public class V1StatusDetails { @SerializedName("retryAfterSeconds") private Integer retryAfterSeconds = null; + @SerializedName("uid") + private String uid = null; + public V1StatusDetails causes(List causes) { this.causes = causes; return this; @@ -97,10 +100,10 @@ public V1StatusDetails kind(String kind) { } /** - * The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -133,10 +136,10 @@ public V1StatusDetails retryAfterSeconds(Integer retryAfterSeconds) { } /** - * If specified, the time in seconds before the operation should be retried. + * If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. * @return retryAfterSeconds **/ - @ApiModelProperty(value = "If specified, the time in seconds before the operation should be retried.") + @ApiModelProperty(value = "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.") public Integer getRetryAfterSeconds() { return retryAfterSeconds; } @@ -145,6 +148,24 @@ public void setRetryAfterSeconds(Integer retryAfterSeconds) { this.retryAfterSeconds = retryAfterSeconds; } + public V1StatusDetails uid(String uid) { + this.uid = uid; + return this; + } + + /** + * UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids + * @return uid + **/ + @ApiModelProperty(value = "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids") + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + @Override public boolean equals(java.lang.Object o) { @@ -159,12 +180,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.group, v1StatusDetails.group) && Objects.equals(this.kind, v1StatusDetails.kind) && Objects.equals(this.name, v1StatusDetails.name) && - Objects.equals(this.retryAfterSeconds, v1StatusDetails.retryAfterSeconds); + Objects.equals(this.retryAfterSeconds, v1StatusDetails.retryAfterSeconds) && + Objects.equals(this.uid, v1StatusDetails.uid); } @Override public int hashCode() { - return Objects.hash(causes, group, kind, name, retryAfterSeconds); + return Objects.hash(causes, group, kind, name, retryAfterSeconds, uid); } @@ -178,6 +200,7 @@ public String toString() { sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" retryAfterSeconds: ").append(toIndentedString(retryAfterSeconds)).append("\n"); + sb.append(" uid: ").append(toIndentedString(uid)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClass.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClass.java index 861ac73326..3298810ead 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClass.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -23,6 +23,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -33,6 +34,9 @@ @ApiModel(description = "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.") public class V1StorageClass { + @SerializedName("allowVolumeExpansion") + private Boolean allowVolumeExpansion = null; + @SerializedName("apiVersion") private String apiVersion = null; @@ -42,22 +46,46 @@ public class V1StorageClass { @SerializedName("metadata") private V1ObjectMeta metadata = null; + @SerializedName("mountOptions") + private List mountOptions = null; + @SerializedName("parameters") private Map parameters = null; @SerializedName("provisioner") private String provisioner = null; + @SerializedName("reclaimPolicy") + private String reclaimPolicy = null; + + public V1StorageClass allowVolumeExpansion(Boolean allowVolumeExpansion) { + this.allowVolumeExpansion = allowVolumeExpansion; + return this; + } + + /** + * AllowVolumeExpansion shows whether the storage class allow volume expand + * @return allowVolumeExpansion + **/ + @ApiModelProperty(value = "AllowVolumeExpansion shows whether the storage class allow volume expand") + public Boolean isAllowVolumeExpansion() { + return allowVolumeExpansion; + } + + public void setAllowVolumeExpansion(Boolean allowVolumeExpansion) { + this.allowVolumeExpansion = allowVolumeExpansion; + } + public V1StorageClass apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -72,10 +100,10 @@ public V1StorageClass kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -90,10 +118,10 @@ public V1StorageClass metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -102,6 +130,32 @@ public void setMetadata(V1ObjectMeta metadata) { this.metadata = metadata; } + public V1StorageClass mountOptions(List mountOptions) { + this.mountOptions = mountOptions; + return this; + } + + public V1StorageClass addMountOptionsItem(String mountOptionsItem) { + if (this.mountOptions == null) { + this.mountOptions = new ArrayList(); + } + this.mountOptions.add(mountOptionsItem); + return this; + } + + /** + * Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. + * @return mountOptions + **/ + @ApiModelProperty(value = "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.") + public List getMountOptions() { + return mountOptions; + } + + public void setMountOptions(List mountOptions) { + this.mountOptions = mountOptions; + } + public V1StorageClass parameters(Map parameters) { this.parameters = parameters; return this; @@ -146,6 +200,24 @@ public void setProvisioner(String provisioner) { this.provisioner = provisioner; } + public V1StorageClass reclaimPolicy(String reclaimPolicy) { + this.reclaimPolicy = reclaimPolicy; + return this; + } + + /** + * Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. + * @return reclaimPolicy + **/ + @ApiModelProperty(value = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.") + public String getReclaimPolicy() { + return reclaimPolicy; + } + + public void setReclaimPolicy(String reclaimPolicy) { + this.reclaimPolicy = reclaimPolicy; + } + @Override public boolean equals(java.lang.Object o) { @@ -156,16 +228,19 @@ public boolean equals(java.lang.Object o) { return false; } V1StorageClass v1StorageClass = (V1StorageClass) o; - return Objects.equals(this.apiVersion, v1StorageClass.apiVersion) && + return Objects.equals(this.allowVolumeExpansion, v1StorageClass.allowVolumeExpansion) && + Objects.equals(this.apiVersion, v1StorageClass.apiVersion) && Objects.equals(this.kind, v1StorageClass.kind) && Objects.equals(this.metadata, v1StorageClass.metadata) && + Objects.equals(this.mountOptions, v1StorageClass.mountOptions) && Objects.equals(this.parameters, v1StorageClass.parameters) && - Objects.equals(this.provisioner, v1StorageClass.provisioner); + Objects.equals(this.provisioner, v1StorageClass.provisioner) && + Objects.equals(this.reclaimPolicy, v1StorageClass.reclaimPolicy); } @Override public int hashCode() { - return Objects.hash(apiVersion, kind, metadata, parameters, provisioner); + return Objects.hash(allowVolumeExpansion, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy); } @@ -174,11 +249,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1StorageClass {\n"); + sb.append(" allowVolumeExpansion: ").append(toIndentedString(allowVolumeExpansion)).append("\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" mountOptions: ").append(toIndentedString(mountOptions)).append("\n"); sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); sb.append(" provisioner: ").append(toIndentedString(provisioner)).append("\n"); + sb.append(" reclaimPolicy: ").append(toIndentedString(reclaimPolicy)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClassList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClassList.java index b041e64f5f..a7f5e54962 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageClassList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1StorageClassList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1StorageClassList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1StorageClassList metadata(V1ListMeta metadata) { } /** - * Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSPersistentVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSPersistentVolumeSource.java new file mode 100644 index 0000000000..302237e448 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSPersistentVolumeSource.java @@ -0,0 +1,187 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Represents a StorageOS persistent volume resource. + */ +@ApiModel(description = "Represents a StorageOS persistent volume resource.") + +public class V1StorageOSPersistentVolumeSource { + @SerializedName("fsType") + private String fsType = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("secretRef") + private V1ObjectReference secretRef = null; + + @SerializedName("volumeName") + private String volumeName = null; + + @SerializedName("volumeNamespace") + private String volumeNamespace = null; + + public V1StorageOSPersistentVolumeSource fsType(String fsType) { + this.fsType = fsType; + return this; + } + + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + * @return fsType + **/ + @ApiModelProperty(value = "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.") + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + public V1StorageOSPersistentVolumeSource readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + * @return readOnly + **/ + @ApiModelProperty(value = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.") + public Boolean isReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public V1StorageOSPersistentVolumeSource secretRef(V1ObjectReference secretRef) { + this.secretRef = secretRef; + return this; + } + + /** + * SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. + * @return secretRef + **/ + @ApiModelProperty(value = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.") + public V1ObjectReference getSecretRef() { + return secretRef; + } + + public void setSecretRef(V1ObjectReference secretRef) { + this.secretRef = secretRef; + } + + public V1StorageOSPersistentVolumeSource volumeName(String volumeName) { + this.volumeName = volumeName; + return this; + } + + /** + * VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + * @return volumeName + **/ + @ApiModelProperty(value = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.") + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + public V1StorageOSPersistentVolumeSource volumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + return this; + } + + /** + * VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. + * @return volumeNamespace + **/ + @ApiModelProperty(value = "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.") + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1StorageOSPersistentVolumeSource v1StorageOSPersistentVolumeSource = (V1StorageOSPersistentVolumeSource) o; + return Objects.equals(this.fsType, v1StorageOSPersistentVolumeSource.fsType) && + Objects.equals(this.readOnly, v1StorageOSPersistentVolumeSource.readOnly) && + Objects.equals(this.secretRef, v1StorageOSPersistentVolumeSource.secretRef) && + Objects.equals(this.volumeName, v1StorageOSPersistentVolumeSource.volumeName) && + Objects.equals(this.volumeNamespace, v1StorageOSPersistentVolumeSource.volumeNamespace); + } + + @Override + public int hashCode() { + return Objects.hash(fsType, readOnly, secretRef, volumeName, volumeNamespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1StorageOSPersistentVolumeSource {\n"); + + sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" secretRef: ").append(toIndentedString(secretRef)).append("\n"); + sb.append(" volumeName: ").append(toIndentedString(volumeName)).append("\n"); + sb.append(" volumeNamespace: ").append(toIndentedString(volumeNamespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSVolumeSource.java new file mode 100644 index 0000000000..ab4143c3db --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1StorageOSVolumeSource.java @@ -0,0 +1,187 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LocalObjectReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Represents a StorageOS persistent volume resource. + */ +@ApiModel(description = "Represents a StorageOS persistent volume resource.") + +public class V1StorageOSVolumeSource { + @SerializedName("fsType") + private String fsType = null; + + @SerializedName("readOnly") + private Boolean readOnly = null; + + @SerializedName("secretRef") + private V1LocalObjectReference secretRef = null; + + @SerializedName("volumeName") + private String volumeName = null; + + @SerializedName("volumeNamespace") + private String volumeNamespace = null; + + public V1StorageOSVolumeSource fsType(String fsType) { + this.fsType = fsType; + return this; + } + + /** + * Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + * @return fsType + **/ + @ApiModelProperty(value = "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.") + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + public V1StorageOSVolumeSource readOnly(Boolean readOnly) { + this.readOnly = readOnly; + return this; + } + + /** + * Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + * @return readOnly + **/ + @ApiModelProperty(value = "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.") + public Boolean isReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + public V1StorageOSVolumeSource secretRef(V1LocalObjectReference secretRef) { + this.secretRef = secretRef; + return this; + } + + /** + * SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. + * @return secretRef + **/ + @ApiModelProperty(value = "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.") + public V1LocalObjectReference getSecretRef() { + return secretRef; + } + + public void setSecretRef(V1LocalObjectReference secretRef) { + this.secretRef = secretRef; + } + + public V1StorageOSVolumeSource volumeName(String volumeName) { + this.volumeName = volumeName; + return this; + } + + /** + * VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. + * @return volumeName + **/ + @ApiModelProperty(value = "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.") + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + public V1StorageOSVolumeSource volumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + return this; + } + + /** + * VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. + * @return volumeNamespace + **/ + @ApiModelProperty(value = "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.") + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1StorageOSVolumeSource v1StorageOSVolumeSource = (V1StorageOSVolumeSource) o; + return Objects.equals(this.fsType, v1StorageOSVolumeSource.fsType) && + Objects.equals(this.readOnly, v1StorageOSVolumeSource.readOnly) && + Objects.equals(this.secretRef, v1StorageOSVolumeSource.secretRef) && + Objects.equals(this.volumeName, v1StorageOSVolumeSource.volumeName) && + Objects.equals(this.volumeNamespace, v1StorageOSVolumeSource.volumeNamespace); + } + + @Override + public int hashCode() { + return Objects.hash(fsType, readOnly, secretRef, volumeName, volumeNamespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1StorageOSVolumeSource {\n"); + + sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n"); + sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); + sb.append(" secretRef: ").append(toIndentedString(secretRef)).append("\n"); + sb.append(" volumeName: ").append(toIndentedString(volumeName)).append("\n"); + sb.append(" volumeNamespace: ").append(toIndentedString(volumeNamespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Subject.java new file mode 100644 index 0000000000..50bf536186 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Subject.java @@ -0,0 +1,163 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. + */ +@ApiModel(description = "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.") + +public class V1Subject { + @SerializedName("apiGroup") + private String apiGroup = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("namespace") + private String namespace = null; + + public V1Subject apiGroup(String apiGroup) { + this.apiGroup = apiGroup; + return this; + } + + /** + * APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. + * @return apiGroup + **/ + @ApiModelProperty(value = "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.") + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + public V1Subject kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. + * @return kind + **/ + @ApiModelProperty(required = true, value = "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1Subject name(String name) { + this.name = name; + return this; + } + + /** + * Name of the object being referenced. + * @return name + **/ + @ApiModelProperty(required = true, value = "Name of the object being referenced.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1Subject namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. + * @return namespace + **/ + @ApiModelProperty(value = "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1Subject v1Subject = (V1Subject) o; + return Objects.equals(this.apiGroup, v1Subject.apiGroup) && + Objects.equals(this.kind, v1Subject.kind) && + Objects.equals(this.name, v1Subject.name) && + Objects.equals(this.namespace, v1Subject.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroup, kind, name, namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1Subject {\n"); + + sb.append(" apiGroup: ").append(toIndentedString(apiGroup)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReview.java index 35a6290093..78742a2584 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1SubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1SubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewSpec.java index cb788e90e2..90197fa0a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,6 +47,9 @@ public class V1SubjectAccessReviewSpec { @SerializedName("resourceAttributes") private V1ResourceAttributes resourceAttributes = null; + @SerializedName("uid") + private String uid = null; + @SerializedName("user") private String user = null; @@ -138,6 +141,24 @@ public void setResourceAttributes(V1ResourceAttributes resourceAttributes) { this.resourceAttributes = resourceAttributes; } + public V1SubjectAccessReviewSpec uid(String uid) { + this.uid = uid; + return this; + } + + /** + * UID information about the requesting user. + * @return uid + **/ + @ApiModelProperty(value = "UID information about the requesting user.") + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + public V1SubjectAccessReviewSpec user(String user) { this.user = user; return this; @@ -170,12 +191,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.groups, v1SubjectAccessReviewSpec.groups) && Objects.equals(this.nonResourceAttributes, v1SubjectAccessReviewSpec.nonResourceAttributes) && Objects.equals(this.resourceAttributes, v1SubjectAccessReviewSpec.resourceAttributes) && + Objects.equals(this.uid, v1SubjectAccessReviewSpec.uid) && Objects.equals(this.user, v1SubjectAccessReviewSpec.user); } @Override public int hashCode() { - return Objects.hash(extra, groups, nonResourceAttributes, resourceAttributes, user); + return Objects.hash(extra, groups, nonResourceAttributes, resourceAttributes, uid, user); } @@ -188,6 +210,7 @@ public String toString() { sb.append(" groups: ").append(toIndentedString(groups)).append("\n"); sb.append(" nonResourceAttributes: ").append(toIndentedString(nonResourceAttributes)).append("\n"); sb.append(" resourceAttributes: ").append(toIndentedString(resourceAttributes)).append("\n"); + sb.append(" uid: ").append(toIndentedString(uid)).append("\n"); sb.append(" user: ").append(toIndentedString(user)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewStatus.java index 2d51156490..2f99b24688 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectAccessReviewStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectRulesReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectRulesReviewStatus.java new file mode 100644 index 0000000000..cc5d855a6b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1SubjectRulesReviewStatus.java @@ -0,0 +1,177 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1NonResourceRule; +import io.kubernetes.client.models.V1ResourceRule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. + */ +@ApiModel(description = "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.") + +public class V1SubjectRulesReviewStatus { + @SerializedName("evaluationError") + private String evaluationError = null; + + @SerializedName("incomplete") + private Boolean incomplete = null; + + @SerializedName("nonResourceRules") + private List nonResourceRules = new ArrayList(); + + @SerializedName("resourceRules") + private List resourceRules = new ArrayList(); + + public V1SubjectRulesReviewStatus evaluationError(String evaluationError) { + this.evaluationError = evaluationError; + return this; + } + + /** + * EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. + * @return evaluationError + **/ + @ApiModelProperty(value = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.") + public String getEvaluationError() { + return evaluationError; + } + + public void setEvaluationError(String evaluationError) { + this.evaluationError = evaluationError; + } + + public V1SubjectRulesReviewStatus incomplete(Boolean incomplete) { + this.incomplete = incomplete; + return this; + } + + /** + * Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. + * @return incomplete + **/ + @ApiModelProperty(required = true, value = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.") + public Boolean isIncomplete() { + return incomplete; + } + + public void setIncomplete(Boolean incomplete) { + this.incomplete = incomplete; + } + + public V1SubjectRulesReviewStatus nonResourceRules(List nonResourceRules) { + this.nonResourceRules = nonResourceRules; + return this; + } + + public V1SubjectRulesReviewStatus addNonResourceRulesItem(V1NonResourceRule nonResourceRulesItem) { + this.nonResourceRules.add(nonResourceRulesItem); + return this; + } + + /** + * NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + * @return nonResourceRules + **/ + @ApiModelProperty(required = true, value = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + public List getNonResourceRules() { + return nonResourceRules; + } + + public void setNonResourceRules(List nonResourceRules) { + this.nonResourceRules = nonResourceRules; + } + + public V1SubjectRulesReviewStatus resourceRules(List resourceRules) { + this.resourceRules = resourceRules; + return this; + } + + public V1SubjectRulesReviewStatus addResourceRulesItem(V1ResourceRule resourceRulesItem) { + this.resourceRules.add(resourceRulesItem); + return this; + } + + /** + * ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + * @return resourceRules + **/ + @ApiModelProperty(required = true, value = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + public List getResourceRules() { + return resourceRules; + } + + public void setResourceRules(List resourceRules) { + this.resourceRules = resourceRules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1SubjectRulesReviewStatus v1SubjectRulesReviewStatus = (V1SubjectRulesReviewStatus) o; + return Objects.equals(this.evaluationError, v1SubjectRulesReviewStatus.evaluationError) && + Objects.equals(this.incomplete, v1SubjectRulesReviewStatus.incomplete) && + Objects.equals(this.nonResourceRules, v1SubjectRulesReviewStatus.nonResourceRules) && + Objects.equals(this.resourceRules, v1SubjectRulesReviewStatus.resourceRules); + } + + @Override + public int hashCode() { + return Objects.hash(evaluationError, incomplete, nonResourceRules, resourceRules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1SubjectRulesReviewStatus {\n"); + + sb.append(" evaluationError: ").append(toIndentedString(evaluationError)).append("\n"); + sb.append(" incomplete: ").append(toIndentedString(incomplete)).append("\n"); + sb.append(" nonResourceRules: ").append(toIndentedString(nonResourceRules)).append("\n"); + sb.append(" resourceRules: ").append(toIndentedString(resourceRules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1TCPSocketAction.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1TCPSocketAction.java index 84e0b872cb..7a413fe3ce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1TCPSocketAction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1TCPSocketAction.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -29,9 +29,30 @@ @ApiModel(description = "TCPSocketAction describes an action based on opening a socket") public class V1TCPSocketAction { + @SerializedName("host") + private String host = null; + @SerializedName("port") private String port = null; + public V1TCPSocketAction host(String host) { + this.host = host; + return this; + } + + /** + * Optional: Host name to connect to, defaults to the pod IP. + * @return host + **/ + @ApiModelProperty(value = "Optional: Host name to connect to, defaults to the pod IP.") + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + public V1TCPSocketAction port(String port) { this.port = port; return this; @@ -60,12 +81,13 @@ public boolean equals(java.lang.Object o) { return false; } V1TCPSocketAction v1TCPSocketAction = (V1TCPSocketAction) o; - return Objects.equals(this.port, v1TCPSocketAction.port); + return Objects.equals(this.host, v1TCPSocketAction.host) && + Objects.equals(this.port, v1TCPSocketAction.port); } @Override public int hashCode() { - return Objects.hash(port); + return Objects.hash(host, port); } @@ -74,6 +96,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1TCPSocketAction {\n"); + sb.append(" host: ").append(toIndentedString(host)).append("\n"); sb.append(" port: ").append(toIndentedString(port)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Taint.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Taint.java index ab3b7d392f..85a832f74d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Taint.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Taint.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -25,9 +25,9 @@ import org.joda.time.DateTime; /** - * The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint. + * The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. */ -@ApiModel(description = "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.") +@ApiModel(description = "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.") public class V1Taint { @SerializedName("effect") diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReview.java index 11a9368d3d..a167866122 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1TokenReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1TokenReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewSpec.java index 4261d2f845..2b3a7d79cf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewStatus.java index b3a2ba80dc..f134617f1b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1TokenReviewStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Toleration.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Toleration.java index d211bfd45a..a40ab6b6b3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Toleration.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Toleration.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1UserInfo.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1UserInfo.java index 5f2016183e..31faeabade 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1UserInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1UserInfo.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1Volume.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1Volume.java index 509a530b76..009b06430a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1Volume.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1Volume.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -44,6 +44,7 @@ import io.kubernetes.client.models.V1RBDVolumeSource; import io.kubernetes.client.models.V1ScaleIOVolumeSource; import io.kubernetes.client.models.V1SecretVolumeSource; +import io.kubernetes.client.models.V1StorageOSVolumeSource; import io.kubernetes.client.models.V1VsphereVirtualDiskVolumeSource; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -133,6 +134,9 @@ public class V1Volume { @SerializedName("secret") private V1SecretVolumeSource secret = null; + @SerializedName("storageos") + private V1StorageOSVolumeSource storageos = null; + @SerializedName("vsphereVolume") private V1VsphereVirtualDiskVolumeSource vsphereVolume = null; @@ -142,10 +146,10 @@ public V1Volume awsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElast } /** - * AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + * AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore * @return awsElasticBlockStore **/ - @ApiModelProperty(value = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore") + @ApiModelProperty(value = "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore") public V1AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore() { return awsElasticBlockStore; } @@ -214,10 +218,10 @@ public V1Volume cinder(V1CinderVolumeSource cinder) { } /** - * Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + * Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md * @return cinder **/ - @ApiModelProperty(value = "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") + @ApiModelProperty(value = "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md") public V1CinderVolumeSource getCinder() { return cinder; } @@ -268,10 +272,10 @@ public V1Volume emptyDir(V1EmptyDirVolumeSource emptyDir) { } /** - * EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + * EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir * @return emptyDir **/ - @ApiModelProperty(value = "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir") + @ApiModelProperty(value = "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir") public V1EmptyDirVolumeSource getEmptyDir() { return emptyDir; } @@ -340,10 +344,10 @@ public V1Volume gcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentD } /** - * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + * GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk * @return gcePersistentDisk **/ - @ApiModelProperty(value = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk") + @ApiModelProperty(value = "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk") public V1GCEPersistentDiskVolumeSource getGcePersistentDisk() { return gcePersistentDisk; } @@ -376,10 +380,10 @@ public V1Volume glusterfs(V1GlusterfsVolumeSource glusterfs) { } /** - * Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + * Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md * @return glusterfs **/ - @ApiModelProperty(value = "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md") + @ApiModelProperty(value = "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md") public V1GlusterfsVolumeSource getGlusterfs() { return glusterfs; } @@ -394,10 +398,10 @@ public V1Volume hostPath(V1HostPathVolumeSource hostPath) { } /** - * HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + * HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath * @return hostPath **/ - @ApiModelProperty(value = "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath") + @ApiModelProperty(value = "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath") public V1HostPathVolumeSource getHostPath() { return hostPath; } @@ -412,10 +416,10 @@ public V1Volume iscsi(V1ISCSIVolumeSource iscsi) { } /** - * ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md + * ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md * @return iscsi **/ - @ApiModelProperty(value = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md") + @ApiModelProperty(value = "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md") public V1ISCSIVolumeSource getIscsi() { return iscsi; } @@ -430,10 +434,10 @@ public V1Volume name(String name) { } /** - * Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names + * Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names * @return name **/ - @ApiModelProperty(required = true, value = "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names") + @ApiModelProperty(required = true, value = "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") public String getName() { return name; } @@ -448,10 +452,10 @@ public V1Volume nfs(V1NFSVolumeSource nfs) { } /** - * NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs + * NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs * @return nfs **/ - @ApiModelProperty(value = "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs") + @ApiModelProperty(value = "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs") public V1NFSVolumeSource getNfs() { return nfs; } @@ -466,10 +470,10 @@ public V1Volume persistentVolumeClaim(V1PersistentVolumeClaimVolumeSource persis } /** - * PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + * PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims * @return persistentVolumeClaim **/ - @ApiModelProperty(value = "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims") + @ApiModelProperty(value = "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims") public V1PersistentVolumeClaimVolumeSource getPersistentVolumeClaim() { return persistentVolumeClaim; } @@ -556,10 +560,10 @@ public V1Volume rbd(V1RBDVolumeSource rbd) { } /** - * RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + * RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md * @return rbd **/ - @ApiModelProperty(value = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md") + @ApiModelProperty(value = "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md") public V1RBDVolumeSource getRbd() { return rbd; } @@ -592,10 +596,10 @@ public V1Volume secret(V1SecretVolumeSource secret) { } /** - * Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + * Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret * @return secret **/ - @ApiModelProperty(value = "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets") + @ApiModelProperty(value = "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret") public V1SecretVolumeSource getSecret() { return secret; } @@ -604,6 +608,24 @@ public void setSecret(V1SecretVolumeSource secret) { this.secret = secret; } + public V1Volume storageos(V1StorageOSVolumeSource storageos) { + this.storageos = storageos; + return this; + } + + /** + * StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + * @return storageos + **/ + @ApiModelProperty(value = "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.") + public V1StorageOSVolumeSource getStorageos() { + return storageos; + } + + public void setStorageos(V1StorageOSVolumeSource storageos) { + this.storageos = storageos; + } + public V1Volume vsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume) { this.vsphereVolume = vsphereVolume; return this; @@ -658,12 +680,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.rbd, v1Volume.rbd) && Objects.equals(this.scaleIO, v1Volume.scaleIO) && Objects.equals(this.secret, v1Volume.secret) && + Objects.equals(this.storageos, v1Volume.storageos) && Objects.equals(this.vsphereVolume, v1Volume.vsphereVolume); } @Override public int hashCode() { - return Objects.hash(awsElasticBlockStore, azureDisk, azureFile, cephfs, cinder, configMap, downwardAPI, emptyDir, fc, flexVolume, flocker, gcePersistentDisk, gitRepo, glusterfs, hostPath, iscsi, name, nfs, persistentVolumeClaim, photonPersistentDisk, portworxVolume, projected, quobyte, rbd, scaleIO, secret, vsphereVolume); + return Objects.hash(awsElasticBlockStore, azureDisk, azureFile, cephfs, cinder, configMap, downwardAPI, emptyDir, fc, flexVolume, flocker, gcePersistentDisk, gitRepo, glusterfs, hostPath, iscsi, name, nfs, persistentVolumeClaim, photonPersistentDisk, portworxVolume, projected, quobyte, rbd, scaleIO, secret, storageos, vsphereVolume); } @@ -698,6 +721,7 @@ public String toString() { sb.append(" rbd: ").append(toIndentedString(rbd)).append("\n"); sb.append(" scaleIO: ").append(toIndentedString(scaleIO)).append("\n"); sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); + sb.append(" storageos: ").append(toIndentedString(storageos)).append("\n"); sb.append(" vsphereVolume: ").append(toIndentedString(vsphereVolume)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeMount.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeMount.java index 6f02f3a0af..900a8a9fb1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeMount.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeMount.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -32,6 +32,9 @@ public class V1VolumeMount { @SerializedName("mountPath") private String mountPath = null; + @SerializedName("mountPropagation") + private String mountPropagation = null; + @SerializedName("name") private String name = null; @@ -59,6 +62,24 @@ public void setMountPath(String mountPath) { this.mountPath = mountPath; } + public V1VolumeMount mountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + return this; + } + + /** + * mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release. + * @return mountPropagation + **/ + @ApiModelProperty(value = "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release.") + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + public V1VolumeMount name(String name) { this.name = name; return this; @@ -124,6 +145,7 @@ public boolean equals(java.lang.Object o) { } V1VolumeMount v1VolumeMount = (V1VolumeMount) o; return Objects.equals(this.mountPath, v1VolumeMount.mountPath) && + Objects.equals(this.mountPropagation, v1VolumeMount.mountPropagation) && Objects.equals(this.name, v1VolumeMount.name) && Objects.equals(this.readOnly, v1VolumeMount.readOnly) && Objects.equals(this.subPath, v1VolumeMount.subPath); @@ -131,7 +153,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(mountPath, name, readOnly, subPath); + return Objects.hash(mountPath, mountPropagation, name, readOnly, subPath); } @@ -141,6 +163,7 @@ public String toString() { sb.append("class V1VolumeMount {\n"); sb.append(" mountPath: ").append(toIndentedString(mountPath)).append("\n"); + sb.append(" mountPropagation: ").append(toIndentedString(mountPropagation)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); sb.append(" subPath: ").append(toIndentedString(subPath)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeProjection.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeProjection.java index e349a8e041..6591bbbba7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeProjection.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1VolumeProjection.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1VsphereVirtualDiskVolumeSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1VsphereVirtualDiskVolumeSource.java index 01667a215e..c7b2c0a7e8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1VsphereVirtualDiskVolumeSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1VsphereVirtualDiskVolumeSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -32,6 +32,12 @@ public class V1VsphereVirtualDiskVolumeSource { @SerializedName("fsType") private String fsType = null; + @SerializedName("storagePolicyID") + private String storagePolicyID = null; + + @SerializedName("storagePolicyName") + private String storagePolicyName = null; + @SerializedName("volumePath") private String volumePath = null; @@ -53,6 +59,42 @@ public void setFsType(String fsType) { this.fsType = fsType; } + public V1VsphereVirtualDiskVolumeSource storagePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + return this; + } + + /** + * Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + * @return storagePolicyID + **/ + @ApiModelProperty(value = "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.") + public String getStoragePolicyID() { + return storagePolicyID; + } + + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + public V1VsphereVirtualDiskVolumeSource storagePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + return this; + } + + /** + * Storage Policy Based Management (SPBM) profile name. + * @return storagePolicyName + **/ + @ApiModelProperty(value = "Storage Policy Based Management (SPBM) profile name.") + public String getStoragePolicyName() { + return storagePolicyName; + } + + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + public V1VsphereVirtualDiskVolumeSource volumePath(String volumePath) { this.volumePath = volumePath; return this; @@ -82,12 +124,14 @@ public boolean equals(java.lang.Object o) { } V1VsphereVirtualDiskVolumeSource v1VsphereVirtualDiskVolumeSource = (V1VsphereVirtualDiskVolumeSource) o; return Objects.equals(this.fsType, v1VsphereVirtualDiskVolumeSource.fsType) && + Objects.equals(this.storagePolicyID, v1VsphereVirtualDiskVolumeSource.storagePolicyID) && + Objects.equals(this.storagePolicyName, v1VsphereVirtualDiskVolumeSource.storagePolicyName) && Objects.equals(this.volumePath, v1VsphereVirtualDiskVolumeSource.volumePath); } @Override public int hashCode() { - return Objects.hash(fsType, volumePath); + return Objects.hash(fsType, storagePolicyID, storagePolicyName, volumePath); } @@ -97,6 +141,8 @@ public String toString() { sb.append("class V1VsphereVirtualDiskVolumeSource {\n"); sb.append(" fsType: ").append(toIndentedString(fsType)).append("\n"); + sb.append(" storagePolicyID: ").append(toIndentedString(storagePolicyID)).append("\n"); + sb.append(" storagePolicyName: ").append(toIndentedString(storagePolicyName)).append("\n"); sb.append(" volumePath: ").append(toIndentedString(volumePath)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1WatchEvent.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1WatchEvent.java index 9c35844be8..4d021f73bd 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1WatchEvent.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1WatchEvent.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1WeightedPodAffinityTerm.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1WeightedPodAffinityTerm.java index 18a83aaa65..15cbfe85db 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1WeightedPodAffinityTerm.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1WeightedPodAffinityTerm.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1AdmissionHookClientConfig.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1AdmissionHookClientConfig.java new file mode 100644 index 0000000000..e9161b7620 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1AdmissionHookClientConfig.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1alpha1ServiceReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * AdmissionHookClientConfig contains the information to make a TLS connection with the webhook + */ +@ApiModel(description = "AdmissionHookClientConfig contains the information to make a TLS connection with the webhook") + +public class V1alpha1AdmissionHookClientConfig { + @SerializedName("caBundle") + private byte[] caBundle = null; + + @SerializedName("service") + private V1alpha1ServiceReference service = null; + + public V1alpha1AdmissionHookClientConfig caBundle(byte[] caBundle) { + this.caBundle = caBundle; + return this; + } + + /** + * CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required + * @return caBundle + **/ + @ApiModelProperty(required = true, value = "CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required") + public byte[] getCaBundle() { + return caBundle; + } + + public void setCaBundle(byte[] caBundle) { + this.caBundle = caBundle; + } + + public V1alpha1AdmissionHookClientConfig service(V1alpha1ServiceReference service) { + this.service = service; + return this; + } + + /** + * Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required + * @return service + **/ + @ApiModelProperty(required = true, value = "Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required") + public V1alpha1ServiceReference getService() { + return service; + } + + public void setService(V1alpha1ServiceReference service) { + this.service = service; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1AdmissionHookClientConfig v1alpha1AdmissionHookClientConfig = (V1alpha1AdmissionHookClientConfig) o; + return Objects.equals(this.caBundle, v1alpha1AdmissionHookClientConfig.caBundle) && + Objects.equals(this.service, v1alpha1AdmissionHookClientConfig.service); + } + + @Override + public int hashCode() { + return Objects.hash(caBundle, service); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1AdmissionHookClientConfig {\n"); + + sb.append(" caBundle: ").append(toIndentedString(caBundle)).append("\n"); + sb.append(" service: ").append(toIndentedString(service)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRole.java index 12611fbadc..8da683bba3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRole.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1ClusterRole apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -69,10 +69,10 @@ public V1alpha1ClusterRole kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBinding.java index 2c2820c036..fc38ad1525 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBinding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -55,10 +55,10 @@ public V1alpha1ClusterRoleBinding apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -73,10 +73,10 @@ public V1alpha1ClusterRoleBinding kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBindingList.java index a6d8451161..af93af9f8f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleBindingList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1ClusterRoleBindingList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1alpha1ClusterRoleBindingList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleList.java index 7593393514..28eced07ef 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ClusterRoleList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1ClusterRoleList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1alpha1ClusterRoleList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHook.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHook.java new file mode 100644 index 0000000000..1b9c8862d5 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHook.java @@ -0,0 +1,175 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1alpha1AdmissionHookClientConfig; +import io.kubernetes.client.models.V1alpha1RuleWithOperations; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to. + */ +@ApiModel(description = "ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.") + +public class V1alpha1ExternalAdmissionHook { + @SerializedName("clientConfig") + private V1alpha1AdmissionHookClientConfig clientConfig = null; + + @SerializedName("failurePolicy") + private String failurePolicy = null; + + @SerializedName("name") + private String name = null; + + @SerializedName("rules") + private List rules = null; + + public V1alpha1ExternalAdmissionHook clientConfig(V1alpha1AdmissionHookClientConfig clientConfig) { + this.clientConfig = clientConfig; + return this; + } + + /** + * ClientConfig defines how to communicate with the hook. Required + * @return clientConfig + **/ + @ApiModelProperty(required = true, value = "ClientConfig defines how to communicate with the hook. Required") + public V1alpha1AdmissionHookClientConfig getClientConfig() { + return clientConfig; + } + + public void setClientConfig(V1alpha1AdmissionHookClientConfig clientConfig) { + this.clientConfig = clientConfig; + } + + public V1alpha1ExternalAdmissionHook failurePolicy(String failurePolicy) { + this.failurePolicy = failurePolicy; + return this; + } + + /** + * FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. + * @return failurePolicy + **/ + @ApiModelProperty(value = "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.") + public String getFailurePolicy() { + return failurePolicy; + } + + public void setFailurePolicy(String failurePolicy) { + this.failurePolicy = failurePolicy; + } + + public V1alpha1ExternalAdmissionHook name(String name) { + this.name = name; + return this; + } + + /** + * The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + * @return name + **/ + @ApiModelProperty(required = true, value = "The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1alpha1ExternalAdmissionHook rules(List rules) { + this.rules = rules; + return this; + } + + public V1alpha1ExternalAdmissionHook addRulesItem(V1alpha1RuleWithOperations rulesItem) { + if (this.rules == null) { + this.rules = new ArrayList(); + } + this.rules.add(rulesItem); + return this; + } + + /** + * Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. + * @return rules + **/ + @ApiModelProperty(value = "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.") + public List getRules() { + return rules; + } + + public void setRules(List rules) { + this.rules = rules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1ExternalAdmissionHook v1alpha1ExternalAdmissionHook = (V1alpha1ExternalAdmissionHook) o; + return Objects.equals(this.clientConfig, v1alpha1ExternalAdmissionHook.clientConfig) && + Objects.equals(this.failurePolicy, v1alpha1ExternalAdmissionHook.failurePolicy) && + Objects.equals(this.name, v1alpha1ExternalAdmissionHook.name) && + Objects.equals(this.rules, v1alpha1ExternalAdmissionHook.rules); + } + + @Override + public int hashCode() { + return Objects.hash(clientConfig, failurePolicy, name, rules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1ExternalAdmissionHook {\n"); + + sb.append(" clientConfig: ").append(toIndentedString(clientConfig)).append("\n"); + sb.append(" failurePolicy: ").append(toIndentedString(failurePolicy)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfiguration.java new file mode 100644 index 0000000000..dc3f36fedc --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfiguration.java @@ -0,0 +1,175 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHook; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ExternalAdmissionHookConfiguration describes the configuration of initializers. + */ +@ApiModel(description = "ExternalAdmissionHookConfiguration describes the configuration of initializers.") + +public class V1alpha1ExternalAdmissionHookConfiguration { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("externalAdmissionHooks") + private List externalAdmissionHooks = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + public V1alpha1ExternalAdmissionHookConfiguration apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1ExternalAdmissionHookConfiguration externalAdmissionHooks(List externalAdmissionHooks) { + this.externalAdmissionHooks = externalAdmissionHooks; + return this; + } + + public V1alpha1ExternalAdmissionHookConfiguration addExternalAdmissionHooksItem(V1alpha1ExternalAdmissionHook externalAdmissionHooksItem) { + if (this.externalAdmissionHooks == null) { + this.externalAdmissionHooks = new ArrayList(); + } + this.externalAdmissionHooks.add(externalAdmissionHooksItem); + return this; + } + + /** + * ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. + * @return externalAdmissionHooks + **/ + @ApiModelProperty(value = "ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations.") + public List getExternalAdmissionHooks() { + return externalAdmissionHooks; + } + + public void setExternalAdmissionHooks(List externalAdmissionHooks) { + this.externalAdmissionHooks = externalAdmissionHooks; + } + + public V1alpha1ExternalAdmissionHookConfiguration kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1ExternalAdmissionHookConfiguration metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1ExternalAdmissionHookConfiguration v1alpha1ExternalAdmissionHookConfiguration = (V1alpha1ExternalAdmissionHookConfiguration) o; + return Objects.equals(this.apiVersion, v1alpha1ExternalAdmissionHookConfiguration.apiVersion) && + Objects.equals(this.externalAdmissionHooks, v1alpha1ExternalAdmissionHookConfiguration.externalAdmissionHooks) && + Objects.equals(this.kind, v1alpha1ExternalAdmissionHookConfiguration.kind) && + Objects.equals(this.metadata, v1alpha1ExternalAdmissionHookConfiguration.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, externalAdmissionHooks, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1ExternalAdmissionHookConfiguration {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" externalAdmissionHooks: ").append(toIndentedString(externalAdmissionHooks)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfigurationList.java new file mode 100644 index 0000000000..e23a9991ee --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ExternalAdmissionHookConfigurationList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHookConfiguration; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration. + */ +@ApiModel(description = "ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration.") + +public class V1alpha1ExternalAdmissionHookConfigurationList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1alpha1ExternalAdmissionHookConfigurationList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1ExternalAdmissionHookConfigurationList items(List items) { + this.items = items; + return this; + } + + public V1alpha1ExternalAdmissionHookConfigurationList addItemsItem(V1alpha1ExternalAdmissionHookConfiguration itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * List of ExternalAdmissionHookConfiguration. + * @return items + **/ + @ApiModelProperty(required = true, value = "List of ExternalAdmissionHookConfiguration.") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1alpha1ExternalAdmissionHookConfigurationList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1ExternalAdmissionHookConfigurationList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1ExternalAdmissionHookConfigurationList v1alpha1ExternalAdmissionHookConfigurationList = (V1alpha1ExternalAdmissionHookConfigurationList) o; + return Objects.equals(this.apiVersion, v1alpha1ExternalAdmissionHookConfigurationList.apiVersion) && + Objects.equals(this.items, v1alpha1ExternalAdmissionHookConfigurationList.items) && + Objects.equals(this.kind, v1alpha1ExternalAdmissionHookConfigurationList.kind) && + Objects.equals(this.metadata, v1alpha1ExternalAdmissionHookConfigurationList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1ExternalAdmissionHookConfigurationList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Initializer.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Initializer.java new file mode 100644 index 0000000000..c4bd1fa709 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Initializer.java @@ -0,0 +1,128 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1alpha1Rule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Initializer describes the name and the failure policy of an initializer, and what resources it applies to. + */ +@ApiModel(description = "Initializer describes the name and the failure policy of an initializer, and what resources it applies to.") + +public class V1alpha1Initializer { + @SerializedName("name") + private String name = null; + + @SerializedName("rules") + private List rules = null; + + public V1alpha1Initializer name(String name) { + this.name = name; + return this; + } + + /** + * Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required + * @return name + **/ + @ApiModelProperty(required = true, value = "Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1alpha1Initializer rules(List rules) { + this.rules = rules; + return this; + } + + public V1alpha1Initializer addRulesItem(V1alpha1Rule rulesItem) { + if (this.rules == null) { + this.rules = new ArrayList(); + } + this.rules.add(rulesItem); + return this; + } + + /** + * Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources. + * @return rules + **/ + @ApiModelProperty(value = "Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.") + public List getRules() { + return rules; + } + + public void setRules(List rules) { + this.rules = rules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1Initializer v1alpha1Initializer = (V1alpha1Initializer) o; + return Objects.equals(this.name, v1alpha1Initializer.name) && + Objects.equals(this.rules, v1alpha1Initializer.rules); + } + + @Override + public int hashCode() { + return Objects.hash(name, rules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1Initializer {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" rules: ").append(toIndentedString(rules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfiguration.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfiguration.java new file mode 100644 index 0000000000..82fbe7da71 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfiguration.java @@ -0,0 +1,175 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1alpha1Initializer; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * InitializerConfiguration describes the configuration of initializers. + */ +@ApiModel(description = "InitializerConfiguration describes the configuration of initializers.") + +public class V1alpha1InitializerConfiguration { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("initializers") + private List initializers = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + public V1alpha1InitializerConfiguration apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1InitializerConfiguration initializers(List initializers) { + this.initializers = initializers; + return this; + } + + public V1alpha1InitializerConfiguration addInitializersItem(V1alpha1Initializer initializersItem) { + if (this.initializers == null) { + this.initializers = new ArrayList(); + } + this.initializers.add(initializersItem); + return this; + } + + /** + * Initializers is a list of resources and their default initializers Order-sensitive. When merging multiple InitializerConfigurations, we sort the initializers from different InitializerConfigurations by the name of the InitializerConfigurations; the order of the initializers from the same InitializerConfiguration is preserved. + * @return initializers + **/ + @ApiModelProperty(value = "Initializers is a list of resources and their default initializers Order-sensitive. When merging multiple InitializerConfigurations, we sort the initializers from different InitializerConfigurations by the name of the InitializerConfigurations; the order of the initializers from the same InitializerConfiguration is preserved.") + public List getInitializers() { + return initializers; + } + + public void setInitializers(List initializers) { + this.initializers = initializers; + } + + public V1alpha1InitializerConfiguration kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1InitializerConfiguration metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1InitializerConfiguration v1alpha1InitializerConfiguration = (V1alpha1InitializerConfiguration) o; + return Objects.equals(this.apiVersion, v1alpha1InitializerConfiguration.apiVersion) && + Objects.equals(this.initializers, v1alpha1InitializerConfiguration.initializers) && + Objects.equals(this.kind, v1alpha1InitializerConfiguration.kind) && + Objects.equals(this.metadata, v1alpha1InitializerConfiguration.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, initializers, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1InitializerConfiguration {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" initializers: ").append(toIndentedString(initializers)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfigurationList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfigurationList.java new file mode 100644 index 0000000000..cdbccf8fb1 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1InitializerConfigurationList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1alpha1InitializerConfiguration; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * InitializerConfigurationList is a list of InitializerConfiguration. + */ +@ApiModel(description = "InitializerConfigurationList is a list of InitializerConfiguration.") + +public class V1alpha1InitializerConfigurationList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1alpha1InitializerConfigurationList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1InitializerConfigurationList items(List items) { + this.items = items; + return this; + } + + public V1alpha1InitializerConfigurationList addItemsItem(V1alpha1InitializerConfiguration itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * List of InitializerConfiguration. + * @return items + **/ + @ApiModelProperty(required = true, value = "List of InitializerConfiguration.") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1alpha1InitializerConfigurationList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1InitializerConfigurationList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1InitializerConfigurationList v1alpha1InitializerConfigurationList = (V1alpha1InitializerConfigurationList) o; + return Objects.equals(this.apiVersion, v1alpha1InitializerConfigurationList.apiVersion) && + Objects.equals(this.items, v1alpha1InitializerConfigurationList.items) && + Objects.equals(this.kind, v1alpha1InitializerConfigurationList.kind) && + Objects.equals(this.metadata, v1alpha1InitializerConfigurationList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1InitializerConfigurationList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPreset.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPreset.java index c294209c93..f355a3d220 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPreset.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPreset.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -49,10 +49,10 @@ public V1alpha1PodPreset apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -67,10 +67,10 @@ public V1alpha1PodPreset kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetList.java index 0d8c639237..06543227bf 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1PodPresetList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1alpha1PodPresetList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1alpha1PodPresetList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetSpec.java index 051c728831..06d622a7b6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PodPresetSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -31,9 +31,9 @@ import java.util.List; /** - * PodPresetSpec is a description of a pod injection policy. + * PodPresetSpec is a description of a pod preset. */ -@ApiModel(description = "PodPresetSpec is a description of a pod injection policy.") +@ApiModel(description = "PodPresetSpec is a description of a pod preset.") public class V1alpha1PodPresetSpec { @SerializedName("env") diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PolicyRule.java index d0ccd5aaa7..3608676191 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PolicyRule.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClass.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClass.java new file mode 100644 index 0000000000..a274767f09 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClass.java @@ -0,0 +1,210 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. + */ +@ApiModel(description = "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.") + +public class V1alpha1PriorityClass { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("globalDefault") + private Boolean globalDefault = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("value") + private Integer value = null; + + public V1alpha1PriorityClass apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1PriorityClass description(String description) { + this.description = description; + return this; + } + + /** + * description is an arbitrary string that usually provides guidelines on when this priority class should be used. + * @return description + **/ + @ApiModelProperty(value = "description is an arbitrary string that usually provides guidelines on when this priority class should be used.") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public V1alpha1PriorityClass globalDefault(Boolean globalDefault) { + this.globalDefault = globalDefault; + return this; + } + + /** + * globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. + * @return globalDefault + **/ + @ApiModelProperty(value = "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.") + public Boolean isGlobalDefault() { + return globalDefault; + } + + public void setGlobalDefault(Boolean globalDefault) { + this.globalDefault = globalDefault; + } + + public V1alpha1PriorityClass kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1PriorityClass metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1alpha1PriorityClass value(Integer value) { + this.value = value; + return this; + } + + /** + * The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. + * @return value + **/ + @ApiModelProperty(required = true, value = "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.") + public Integer getValue() { + return value; + } + + public void setValue(Integer value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1PriorityClass v1alpha1PriorityClass = (V1alpha1PriorityClass) o; + return Objects.equals(this.apiVersion, v1alpha1PriorityClass.apiVersion) && + Objects.equals(this.description, v1alpha1PriorityClass.description) && + Objects.equals(this.globalDefault, v1alpha1PriorityClass.globalDefault) && + Objects.equals(this.kind, v1alpha1PriorityClass.kind) && + Objects.equals(this.metadata, v1alpha1PriorityClass.metadata) && + Objects.equals(this.value, v1alpha1PriorityClass.value); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, description, globalDefault, kind, metadata, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1PriorityClass {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" globalDefault: ").append(toIndentedString(globalDefault)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClassList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClassList.java new file mode 100644 index 0000000000..d2b9b890a8 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1PriorityClassList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1alpha1PriorityClass; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * PriorityClassList is a collection of priority classes. + */ +@ApiModel(description = "PriorityClassList is a collection of priority classes.") + +public class V1alpha1PriorityClassList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1alpha1PriorityClassList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1alpha1PriorityClassList items(List items) { + this.items = items; + return this; + } + + public V1alpha1PriorityClassList addItemsItem(V1alpha1PriorityClass itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * items is the list of PriorityClasses + * @return items + **/ + @ApiModelProperty(required = true, value = "items is the list of PriorityClasses") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1alpha1PriorityClassList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1alpha1PriorityClassList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1PriorityClassList v1alpha1PriorityClassList = (V1alpha1PriorityClassList) o; + return Objects.equals(this.apiVersion, v1alpha1PriorityClassList.apiVersion) && + Objects.equals(this.items, v1alpha1PriorityClassList.items) && + Objects.equals(this.kind, v1alpha1PriorityClassList.kind) && + Objects.equals(this.metadata, v1alpha1PriorityClassList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1PriorityClassList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Role.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Role.java index eed52fec91..9b0c808ab7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Role.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1Role apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -69,10 +69,10 @@ public V1alpha1Role kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBinding.java index d59b5e0da7..0dcaa24aaa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBinding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -55,10 +55,10 @@ public V1alpha1RoleBinding apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -73,10 +73,10 @@ public V1alpha1RoleBinding kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBindingList.java index 802f9ad67f..193588e926 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleBindingList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1RoleBindingList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1alpha1RoleBindingList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleList.java index bd2eff546f..56602211f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1alpha1RoleList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1alpha1RoleList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleRef.java index 54c71746c8..2fd06bf0e2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RoleRef.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Rule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Rule.java new file mode 100644 index 0000000000..b45b44ad97 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Rule.java @@ -0,0 +1,166 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid. + */ +@ApiModel(description = "Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.") + +public class V1alpha1Rule { + @SerializedName("apiGroups") + private List apiGroups = null; + + @SerializedName("apiVersions") + private List apiVersions = null; + + @SerializedName("resources") + private List resources = null; + + public V1alpha1Rule apiGroups(List apiGroups) { + this.apiGroups = apiGroups; + return this; + } + + public V1alpha1Rule addApiGroupsItem(String apiGroupsItem) { + if (this.apiGroups == null) { + this.apiGroups = new ArrayList(); + } + this.apiGroups.add(apiGroupsItem); + return this; + } + + /** + * APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. + * @return apiGroups + **/ + @ApiModelProperty(value = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.") + public List getApiGroups() { + return apiGroups; + } + + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + public V1alpha1Rule apiVersions(List apiVersions) { + this.apiVersions = apiVersions; + return this; + } + + public V1alpha1Rule addApiVersionsItem(String apiVersionsItem) { + if (this.apiVersions == null) { + this.apiVersions = new ArrayList(); + } + this.apiVersions.add(apiVersionsItem); + return this; + } + + /** + * APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. + * @return apiVersions + **/ + @ApiModelProperty(value = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.") + public List getApiVersions() { + return apiVersions; + } + + public void setApiVersions(List apiVersions) { + this.apiVersions = apiVersions; + } + + public V1alpha1Rule resources(List resources) { + this.resources = resources; + return this; + } + + public V1alpha1Rule addResourcesItem(String resourcesItem) { + if (this.resources == null) { + this.resources = new ArrayList(); + } + this.resources.add(resourcesItem); + return this; + } + + /** + * Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. + * @return resources + **/ + @ApiModelProperty(value = "Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.") + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1Rule v1alpha1Rule = (V1alpha1Rule) o; + return Objects.equals(this.apiGroups, v1alpha1Rule.apiGroups) && + Objects.equals(this.apiVersions, v1alpha1Rule.apiVersions) && + Objects.equals(this.resources, v1alpha1Rule.resources); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroups, apiVersions, resources); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1Rule {\n"); + + sb.append(" apiGroups: ").append(toIndentedString(apiGroups)).append("\n"); + sb.append(" apiVersions: ").append(toIndentedString(apiVersions)).append("\n"); + sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RuleWithOperations.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RuleWithOperations.java new file mode 100644 index 0000000000..5c09839710 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1RuleWithOperations.java @@ -0,0 +1,197 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. + */ +@ApiModel(description = "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.") + +public class V1alpha1RuleWithOperations { + @SerializedName("apiGroups") + private List apiGroups = null; + + @SerializedName("apiVersions") + private List apiVersions = null; + + @SerializedName("operations") + private List operations = null; + + @SerializedName("resources") + private List resources = null; + + public V1alpha1RuleWithOperations apiGroups(List apiGroups) { + this.apiGroups = apiGroups; + return this; + } + + public V1alpha1RuleWithOperations addApiGroupsItem(String apiGroupsItem) { + if (this.apiGroups == null) { + this.apiGroups = new ArrayList(); + } + this.apiGroups.add(apiGroupsItem); + return this; + } + + /** + * APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. + * @return apiGroups + **/ + @ApiModelProperty(value = "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.") + public List getApiGroups() { + return apiGroups; + } + + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + public V1alpha1RuleWithOperations apiVersions(List apiVersions) { + this.apiVersions = apiVersions; + return this; + } + + public V1alpha1RuleWithOperations addApiVersionsItem(String apiVersionsItem) { + if (this.apiVersions == null) { + this.apiVersions = new ArrayList(); + } + this.apiVersions.add(apiVersionsItem); + return this; + } + + /** + * APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required. + * @return apiVersions + **/ + @ApiModelProperty(value = "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.") + public List getApiVersions() { + return apiVersions; + } + + public void setApiVersions(List apiVersions) { + this.apiVersions = apiVersions; + } + + public V1alpha1RuleWithOperations operations(List operations) { + this.operations = operations; + return this; + } + + public V1alpha1RuleWithOperations addOperationsItem(String operationsItem) { + if (this.operations == null) { + this.operations = new ArrayList(); + } + this.operations.add(operationsItem); + return this; + } + + /** + * Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required. + * @return operations + **/ + @ApiModelProperty(value = "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.") + public List getOperations() { + return operations; + } + + public void setOperations(List operations) { + this.operations = operations; + } + + public V1alpha1RuleWithOperations resources(List resources) { + this.resources = resources; + return this; + } + + public V1alpha1RuleWithOperations addResourcesItem(String resourcesItem) { + if (this.resources == null) { + this.resources = new ArrayList(); + } + this.resources.add(resourcesItem); + return this; + } + + /** + * Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. + * @return resources + **/ + @ApiModelProperty(value = "Resources is a list of resources this rule applies to. For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/_*' means all subresources of pods. '*_/scale' means all scale subresources. '*_/_*' means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required.") + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1RuleWithOperations v1alpha1RuleWithOperations = (V1alpha1RuleWithOperations) o; + return Objects.equals(this.apiGroups, v1alpha1RuleWithOperations.apiGroups) && + Objects.equals(this.apiVersions, v1alpha1RuleWithOperations.apiVersions) && + Objects.equals(this.operations, v1alpha1RuleWithOperations.operations) && + Objects.equals(this.resources, v1alpha1RuleWithOperations.resources); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroups, apiVersions, operations, resources); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1RuleWithOperations {\n"); + + sb.append(" apiGroups: ").append(toIndentedString(apiGroups)).append("\n"); + sb.append(" apiVersions: ").append(toIndentedString(apiVersions)).append("\n"); + sb.append(" operations: ").append(toIndentedString(operations)).append("\n"); + sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ServiceReference.java new file mode 100644 index 0000000000..59f4897559 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1ServiceReference.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ServiceReference holds a reference to Service.legacy.k8s.io + */ +@ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") + +public class V1alpha1ServiceReference { + @SerializedName("name") + private String name = null; + + @SerializedName("namespace") + private String namespace = null; + + public V1alpha1ServiceReference name(String name) { + this.name = name; + return this; + } + + /** + * Name is the name of the service Required + * @return name + **/ + @ApiModelProperty(required = true, value = "Name is the name of the service Required") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1alpha1ServiceReference namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace is the namespace of the service Required + * @return namespace + **/ + @ApiModelProperty(required = true, value = "Namespace is the namespace of the service Required") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1alpha1ServiceReference v1alpha1ServiceReference = (V1alpha1ServiceReference) o; + return Objects.equals(this.name, v1alpha1ServiceReference.name) && + Objects.equals(this.namespace, v1alpha1ServiceReference.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(name, namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1alpha1ServiceReference {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Subject.java index b3bcb6b6da..791a13dce7 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1alpha1Subject.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIService.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIService.java new file mode 100644 index 0000000000..d79c8e3467 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIService.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta1APIServiceSpec; +import io.kubernetes.client.models.V1beta1APIServiceStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * APIService represents a server for a particular GroupVersion. Name must be \"version.group\". + */ +@ApiModel(description = "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".") + +public class V1beta1APIService { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta1APIServiceSpec spec = null; + + @SerializedName("status") + private V1beta1APIServiceStatus status = null; + + public V1beta1APIService apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1APIService kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1APIService metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1APIService spec(V1beta1APIServiceSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec contains information for locating and communicating with a server + * @return spec + **/ + @ApiModelProperty(value = "Spec contains information for locating and communicating with a server") + public V1beta1APIServiceSpec getSpec() { + return spec; + } + + public void setSpec(V1beta1APIServiceSpec spec) { + this.spec = spec; + } + + public V1beta1APIService status(V1beta1APIServiceStatus status) { + this.status = status; + return this; + } + + /** + * Status contains derived information about an API server + * @return status + **/ + @ApiModelProperty(value = "Status contains derived information about an API server") + public V1beta1APIServiceStatus getStatus() { + return status; + } + + public void setStatus(V1beta1APIServiceStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1APIService v1beta1APIService = (V1beta1APIService) o; + return Objects.equals(this.apiVersion, v1beta1APIService.apiVersion) && + Objects.equals(this.kind, v1beta1APIService.kind) && + Objects.equals(this.metadata, v1beta1APIService.metadata) && + Objects.equals(this.spec, v1beta1APIService.spec) && + Objects.equals(this.status, v1beta1APIService.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1APIService {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceCondition.java new file mode 100644 index 0000000000..b20089b2a5 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceCondition.java @@ -0,0 +1,186 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * V1beta1APIServiceCondition + */ + +public class V1beta1APIServiceCondition { + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V1beta1APIServiceCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * Last time the condition transitioned from one status to another. + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V1beta1APIServiceCondition message(String message) { + this.message = message; + return this; + } + + /** + * Human-readable message indicating details about last transition. + * @return message + **/ + @ApiModelProperty(value = "Human-readable message indicating details about last transition.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V1beta1APIServiceCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Unique, one-word, CamelCase reason for the condition's last transition. + * @return reason + **/ + @ApiModelProperty(value = "Unique, one-word, CamelCase reason for the condition's last transition.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V1beta1APIServiceCondition status(String status) { + this.status = status; + return this; + } + + /** + * Status is the status of the condition. Can be True, False, Unknown. + * @return status + **/ + @ApiModelProperty(required = true, value = "Status is the status of the condition. Can be True, False, Unknown.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V1beta1APIServiceCondition type(String type) { + this.type = type; + return this; + } + + /** + * Type is the type of the condition. + * @return type + **/ + @ApiModelProperty(required = true, value = "Type is the type of the condition.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1APIServiceCondition v1beta1APIServiceCondition = (V1beta1APIServiceCondition) o; + return Objects.equals(this.lastTransitionTime, v1beta1APIServiceCondition.lastTransitionTime) && + Objects.equals(this.message, v1beta1APIServiceCondition.message) && + Objects.equals(this.reason, v1beta1APIServiceCondition.reason) && + Objects.equals(this.status, v1beta1APIServiceCondition.status) && + Objects.equals(this.type, v1beta1APIServiceCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastTransitionTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1APIServiceCondition {\n"); + + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceList.java new file mode 100644 index 0000000000..1f785fd1e9 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta1APIService; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * APIServiceList is a list of APIService objects. + */ +@ApiModel(description = "APIServiceList is a list of APIService objects.") + +public class V1beta1APIServiceList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta1APIServiceList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1APIServiceList items(List items) { + this.items = items; + return this; + } + + public V1beta1APIServiceList addItemsItem(V1beta1APIService itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Get items + * @return items + **/ + @ApiModelProperty(required = true, value = "") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta1APIServiceList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1APIServiceList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1APIServiceList v1beta1APIServiceList = (V1beta1APIServiceList) o; + return Objects.equals(this.apiVersion, v1beta1APIServiceList.apiVersion) && + Objects.equals(this.items, v1beta1APIServiceList.items) && + Objects.equals(this.kind, v1beta1APIServiceList.kind) && + Objects.equals(this.metadata, v1beta1APIServiceList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1APIServiceList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceSpec.java new file mode 100644 index 0000000000..7d97cf4e87 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceSpec.java @@ -0,0 +1,233 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1ServiceReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. + */ +@ApiModel(description = "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.") + +public class V1beta1APIServiceSpec { + @SerializedName("caBundle") + private byte[] caBundle = null; + + @SerializedName("group") + private String group = null; + + @SerializedName("groupPriorityMinimum") + private Integer groupPriorityMinimum = null; + + @SerializedName("insecureSkipTLSVerify") + private Boolean insecureSkipTLSVerify = null; + + @SerializedName("service") + private V1beta1ServiceReference service = null; + + @SerializedName("version") + private String version = null; + + @SerializedName("versionPriority") + private Integer versionPriority = null; + + public V1beta1APIServiceSpec caBundle(byte[] caBundle) { + this.caBundle = caBundle; + return this; + } + + /** + * CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + * @return caBundle + **/ + @ApiModelProperty(required = true, value = "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.") + public byte[] getCaBundle() { + return caBundle; + } + + public void setCaBundle(byte[] caBundle) { + this.caBundle = caBundle; + } + + public V1beta1APIServiceSpec group(String group) { + this.group = group; + return this; + } + + /** + * Group is the API group name this server hosts + * @return group + **/ + @ApiModelProperty(value = "Group is the API group name this server hosts") + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + public V1beta1APIServiceSpec groupPriorityMinimum(Integer groupPriorityMinimum) { + this.groupPriorityMinimum = groupPriorityMinimum; + return this; + } + + /** + * GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s + * @return groupPriorityMinimum + **/ + @ApiModelProperty(required = true, value = "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s") + public Integer getGroupPriorityMinimum() { + return groupPriorityMinimum; + } + + public void setGroupPriorityMinimum(Integer groupPriorityMinimum) { + this.groupPriorityMinimum = groupPriorityMinimum; + } + + public V1beta1APIServiceSpec insecureSkipTLSVerify(Boolean insecureSkipTLSVerify) { + this.insecureSkipTLSVerify = insecureSkipTLSVerify; + return this; + } + + /** + * InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. + * @return insecureSkipTLSVerify + **/ + @ApiModelProperty(value = "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.") + public Boolean isInsecureSkipTLSVerify() { + return insecureSkipTLSVerify; + } + + public void setInsecureSkipTLSVerify(Boolean insecureSkipTLSVerify) { + this.insecureSkipTLSVerify = insecureSkipTLSVerify; + } + + public V1beta1APIServiceSpec service(V1beta1ServiceReference service) { + this.service = service; + return this; + } + + /** + * Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. + * @return service + **/ + @ApiModelProperty(required = true, value = "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.") + public V1beta1ServiceReference getService() { + return service; + } + + public void setService(V1beta1ServiceReference service) { + this.service = service; + } + + public V1beta1APIServiceSpec version(String version) { + this.version = version; + return this; + } + + /** + * Version is the API version this server hosts. For example, \"v1\" + * @return version + **/ + @ApiModelProperty(value = "Version is the API version this server hosts. For example, \"v1\"") + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public V1beta1APIServiceSpec versionPriority(Integer versionPriority) { + this.versionPriority = versionPriority; + return this; + } + + /** + * VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + * @return versionPriority + **/ + @ApiModelProperty(required = true, value = "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.") + public Integer getVersionPriority() { + return versionPriority; + } + + public void setVersionPriority(Integer versionPriority) { + this.versionPriority = versionPriority; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1APIServiceSpec v1beta1APIServiceSpec = (V1beta1APIServiceSpec) o; + return Objects.equals(this.caBundle, v1beta1APIServiceSpec.caBundle) && + Objects.equals(this.group, v1beta1APIServiceSpec.group) && + Objects.equals(this.groupPriorityMinimum, v1beta1APIServiceSpec.groupPriorityMinimum) && + Objects.equals(this.insecureSkipTLSVerify, v1beta1APIServiceSpec.insecureSkipTLSVerify) && + Objects.equals(this.service, v1beta1APIServiceSpec.service) && + Objects.equals(this.version, v1beta1APIServiceSpec.version) && + Objects.equals(this.versionPriority, v1beta1APIServiceSpec.versionPriority); + } + + @Override + public int hashCode() { + return Objects.hash(caBundle, group, groupPriorityMinimum, insecureSkipTLSVerify, service, version, versionPriority); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1APIServiceSpec {\n"); + + sb.append(" caBundle: ").append(toIndentedString(caBundle)).append("\n"); + sb.append(" group: ").append(toIndentedString(group)).append("\n"); + sb.append(" groupPriorityMinimum: ").append(toIndentedString(groupPriorityMinimum)).append("\n"); + sb.append(" insecureSkipTLSVerify: ").append(toIndentedString(insecureSkipTLSVerify)).append("\n"); + sb.append(" service: ").append(toIndentedString(service)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" versionPriority: ").append(toIndentedString(versionPriority)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceStatus.java new file mode 100644 index 0000000000..445389887e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1APIServiceStatus.java @@ -0,0 +1,105 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1APIServiceCondition; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * APIServiceStatus contains derived information about an API server + */ +@ApiModel(description = "APIServiceStatus contains derived information about an API server") + +public class V1beta1APIServiceStatus { + @SerializedName("conditions") + private List conditions = null; + + public V1beta1APIServiceStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V1beta1APIServiceStatus addConditionsItem(V1beta1APIServiceCondition conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * Current service state of apiService. + * @return conditions + **/ + @ApiModelProperty(value = "Current service state of apiService.") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1APIServiceStatus v1beta1APIServiceStatus = (V1beta1APIServiceStatus) o; + return Objects.equals(this.conditions, v1beta1APIServiceStatus.conditions); + } + + @Override + public int hashCode() { + return Objects.hash(conditions); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1APIServiceStatus {\n"); + + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1AllowedHostPath.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1AllowedHostPath.java new file mode 100644 index 0000000000..fd0bba5aad --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1AllowedHostPath.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. + */ +@ApiModel(description = "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.") + +public class V1beta1AllowedHostPath { + @SerializedName("pathPrefix") + private String pathPrefix = null; + + public V1beta1AllowedHostPath pathPrefix(String pathPrefix) { + this.pathPrefix = pathPrefix; + return this; + } + + /** + * is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + * @return pathPrefix + **/ + @ApiModelProperty(value = "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`") + public String getPathPrefix() { + return pathPrefix; + } + + public void setPathPrefix(String pathPrefix) { + this.pathPrefix = pathPrefix; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1AllowedHostPath v1beta1AllowedHostPath = (V1beta1AllowedHostPath) o; + return Objects.equals(this.pathPrefix, v1beta1AllowedHostPath.pathPrefix); + } + + @Override + public int hashCode() { + return Objects.hash(pathPrefix); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1AllowedHostPath {\n"); + + sb.append(" pathPrefix: ").append(toIndentedString(pathPrefix)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequest.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequest.java index 3592b34234..1f4823307f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequest.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1CertificateSigningRequest apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1CertificateSigningRequest kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestCondition.java index a27effb760..51ece5f20d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestList.java index 19a47a7ee4..a72b44316c 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -50,10 +50,10 @@ public V1beta1CertificateSigningRequestList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -91,10 +91,10 @@ public V1beta1CertificateSigningRequestList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestSpec.java index 915d163236..e8d650b57b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestStatus.java index e482a127dc..b24e3e858a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CertificateSigningRequestStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRole.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRole.java index 5946622bc9..5f64d9de0b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRole.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRole.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1ClusterRole apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -69,10 +69,10 @@ public V1beta1ClusterRole kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBinding.java index 867185f5ee..01a725b3ae 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBinding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -55,10 +55,10 @@ public V1beta1ClusterRoleBinding apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -73,10 +73,10 @@ public V1beta1ClusterRoleBinding kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBindingList.java index 37e4055433..6d2e268441 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleBindingList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1ClusterRoleBindingList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1ClusterRoleBindingList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleList.java index e3470c2fd4..201d7946a1 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ClusterRoleList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1ClusterRoleList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1ClusterRoleList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevision.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevision.java new file mode 100644 index 0000000000..402dbf4f7f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevision.java @@ -0,0 +1,188 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.RuntimeRawExtension; +import io.kubernetes.client.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + */ +@ApiModel(description = "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.") + +public class V1beta1ControllerRevision { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("data") + private RuntimeRawExtension data = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("revision") + private Long revision = null; + + public V1beta1ControllerRevision apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1ControllerRevision data(RuntimeRawExtension data) { + this.data = data; + return this; + } + + /** + * Data is the serialized representation of the state. + * @return data + **/ + @ApiModelProperty(value = "Data is the serialized representation of the state.") + public RuntimeRawExtension getData() { + return data; + } + + public void setData(RuntimeRawExtension data) { + this.data = data; + } + + public V1beta1ControllerRevision kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1ControllerRevision metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1ControllerRevision revision(Long revision) { + this.revision = revision; + return this; + } + + /** + * Revision indicates the revision of the state represented by Data. + * @return revision + **/ + @ApiModelProperty(required = true, value = "Revision indicates the revision of the state represented by Data.") + public Long getRevision() { + return revision; + } + + public void setRevision(Long revision) { + this.revision = revision; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ControllerRevision v1beta1ControllerRevision = (V1beta1ControllerRevision) o; + return Objects.equals(this.apiVersion, v1beta1ControllerRevision.apiVersion) && + Objects.equals(this.data, v1beta1ControllerRevision.data) && + Objects.equals(this.kind, v1beta1ControllerRevision.kind) && + Objects.equals(this.metadata, v1beta1ControllerRevision.metadata) && + Objects.equals(this.revision, v1beta1ControllerRevision.revision); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, data, kind, metadata, revision); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ControllerRevision {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" revision: ").append(toIndentedString(revision)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevisionList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevisionList.java new file mode 100644 index 0000000000..d48bcebf2b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ControllerRevisionList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta1ControllerRevision; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ControllerRevisionList is a resource containing a list of ControllerRevision objects. + */ +@ApiModel(description = "ControllerRevisionList is a resource containing a list of ControllerRevision objects.") + +public class V1beta1ControllerRevisionList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta1ControllerRevisionList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1ControllerRevisionList items(List items) { + this.items = items; + return this; + } + + public V1beta1ControllerRevisionList addItemsItem(V1beta1ControllerRevision itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is the list of ControllerRevisions + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is the list of ControllerRevisions") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta1ControllerRevisionList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1ControllerRevisionList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ControllerRevisionList v1beta1ControllerRevisionList = (V1beta1ControllerRevisionList) o; + return Objects.equals(this.apiVersion, v1beta1ControllerRevisionList.apiVersion) && + Objects.equals(this.items, v1beta1ControllerRevisionList.items) && + Objects.equals(this.kind, v1beta1ControllerRevisionList.kind) && + Objects.equals(this.metadata, v1beta1ControllerRevisionList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ControllerRevisionList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJob.java new file mode 100644 index 0000000000..eb4e742b43 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJob.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta1CronJobSpec; +import io.kubernetes.client.models.V1beta1CronJobStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CronJob represents the configuration of a single cron job. + */ +@ApiModel(description = "CronJob represents the configuration of a single cron job.") + +public class V1beta1CronJob { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta1CronJobSpec spec = null; + + @SerializedName("status") + private V1beta1CronJobStatus status = null; + + public V1beta1CronJob apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1CronJob kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1CronJob metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1CronJob spec(V1beta1CronJobSpec spec) { + this.spec = spec; + return this; + } + + /** + * Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return spec + **/ + @ApiModelProperty(value = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta1CronJobSpec getSpec() { + return spec; + } + + public void setSpec(V1beta1CronJobSpec spec) { + this.spec = spec; + } + + public V1beta1CronJob status(V1beta1CronJobStatus status) { + this.status = status; + return this; + } + + /** + * Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return status + **/ + @ApiModelProperty(value = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta1CronJobStatus getStatus() { + return status; + } + + public void setStatus(V1beta1CronJobStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CronJob v1beta1CronJob = (V1beta1CronJob) o; + return Objects.equals(this.apiVersion, v1beta1CronJob.apiVersion) && + Objects.equals(this.kind, v1beta1CronJob.kind) && + Objects.equals(this.metadata, v1beta1CronJob.metadata) && + Objects.equals(this.spec, v1beta1CronJob.spec) && + Objects.equals(this.status, v1beta1CronJob.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CronJob {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobList.java new file mode 100644 index 0000000000..8a8c335692 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta1CronJob; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * CronJobList is a collection of cron jobs. + */ +@ApiModel(description = "CronJobList is a collection of cron jobs.") + +public class V1beta1CronJobList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta1CronJobList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1CronJobList items(List items) { + this.items = items; + return this; + } + + public V1beta1CronJobList addItemsItem(V1beta1CronJob itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * items is the list of CronJobs. + * @return items + **/ + @ApiModelProperty(required = true, value = "items is the list of CronJobs.") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta1CronJobList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1CronJobList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CronJobList v1beta1CronJobList = (V1beta1CronJobList) o; + return Objects.equals(this.apiVersion, v1beta1CronJobList.apiVersion) && + Objects.equals(this.items, v1beta1CronJobList.items) && + Objects.equals(this.kind, v1beta1CronJobList.kind) && + Objects.equals(this.metadata, v1beta1CronJobList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CronJobList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobSpec.java new file mode 100644 index 0000000000..1823fec6a4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobSpec.java @@ -0,0 +1,233 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1JobTemplateSpec; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CronJobSpec describes how the job execution will look like and when it will actually run. + */ +@ApiModel(description = "CronJobSpec describes how the job execution will look like and when it will actually run.") + +public class V1beta1CronJobSpec { + @SerializedName("concurrencyPolicy") + private String concurrencyPolicy = null; + + @SerializedName("failedJobsHistoryLimit") + private Integer failedJobsHistoryLimit = null; + + @SerializedName("jobTemplate") + private V1beta1JobTemplateSpec jobTemplate = null; + + @SerializedName("schedule") + private String schedule = null; + + @SerializedName("startingDeadlineSeconds") + private Long startingDeadlineSeconds = null; + + @SerializedName("successfulJobsHistoryLimit") + private Integer successfulJobsHistoryLimit = null; + + @SerializedName("suspend") + private Boolean suspend = null; + + public V1beta1CronJobSpec concurrencyPolicy(String concurrencyPolicy) { + this.concurrencyPolicy = concurrencyPolicy; + return this; + } + + /** + * Specifies how to treat concurrent executions of a Job. Defaults to Allow. + * @return concurrencyPolicy + **/ + @ApiModelProperty(value = "Specifies how to treat concurrent executions of a Job. Defaults to Allow.") + public String getConcurrencyPolicy() { + return concurrencyPolicy; + } + + public void setConcurrencyPolicy(String concurrencyPolicy) { + this.concurrencyPolicy = concurrencyPolicy; + } + + public V1beta1CronJobSpec failedJobsHistoryLimit(Integer failedJobsHistoryLimit) { + this.failedJobsHistoryLimit = failedJobsHistoryLimit; + return this; + } + + /** + * The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + * @return failedJobsHistoryLimit + **/ + @ApiModelProperty(value = "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.") + public Integer getFailedJobsHistoryLimit() { + return failedJobsHistoryLimit; + } + + public void setFailedJobsHistoryLimit(Integer failedJobsHistoryLimit) { + this.failedJobsHistoryLimit = failedJobsHistoryLimit; + } + + public V1beta1CronJobSpec jobTemplate(V1beta1JobTemplateSpec jobTemplate) { + this.jobTemplate = jobTemplate; + return this; + } + + /** + * Specifies the job that will be created when executing a CronJob. + * @return jobTemplate + **/ + @ApiModelProperty(required = true, value = "Specifies the job that will be created when executing a CronJob.") + public V1beta1JobTemplateSpec getJobTemplate() { + return jobTemplate; + } + + public void setJobTemplate(V1beta1JobTemplateSpec jobTemplate) { + this.jobTemplate = jobTemplate; + } + + public V1beta1CronJobSpec schedule(String schedule) { + this.schedule = schedule; + return this; + } + + /** + * The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. + * @return schedule + **/ + @ApiModelProperty(required = true, value = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.") + public String getSchedule() { + return schedule; + } + + public void setSchedule(String schedule) { + this.schedule = schedule; + } + + public V1beta1CronJobSpec startingDeadlineSeconds(Long startingDeadlineSeconds) { + this.startingDeadlineSeconds = startingDeadlineSeconds; + return this; + } + + /** + * Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. + * @return startingDeadlineSeconds + **/ + @ApiModelProperty(value = "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.") + public Long getStartingDeadlineSeconds() { + return startingDeadlineSeconds; + } + + public void setStartingDeadlineSeconds(Long startingDeadlineSeconds) { + this.startingDeadlineSeconds = startingDeadlineSeconds; + } + + public V1beta1CronJobSpec successfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) { + this.successfulJobsHistoryLimit = successfulJobsHistoryLimit; + return this; + } + + /** + * The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. + * @return successfulJobsHistoryLimit + **/ + @ApiModelProperty(value = "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.") + public Integer getSuccessfulJobsHistoryLimit() { + return successfulJobsHistoryLimit; + } + + public void setSuccessfulJobsHistoryLimit(Integer successfulJobsHistoryLimit) { + this.successfulJobsHistoryLimit = successfulJobsHistoryLimit; + } + + public V1beta1CronJobSpec suspend(Boolean suspend) { + this.suspend = suspend; + return this; + } + + /** + * This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. + * @return suspend + **/ + @ApiModelProperty(value = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.") + public Boolean isSuspend() { + return suspend; + } + + public void setSuspend(Boolean suspend) { + this.suspend = suspend; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CronJobSpec v1beta1CronJobSpec = (V1beta1CronJobSpec) o; + return Objects.equals(this.concurrencyPolicy, v1beta1CronJobSpec.concurrencyPolicy) && + Objects.equals(this.failedJobsHistoryLimit, v1beta1CronJobSpec.failedJobsHistoryLimit) && + Objects.equals(this.jobTemplate, v1beta1CronJobSpec.jobTemplate) && + Objects.equals(this.schedule, v1beta1CronJobSpec.schedule) && + Objects.equals(this.startingDeadlineSeconds, v1beta1CronJobSpec.startingDeadlineSeconds) && + Objects.equals(this.successfulJobsHistoryLimit, v1beta1CronJobSpec.successfulJobsHistoryLimit) && + Objects.equals(this.suspend, v1beta1CronJobSpec.suspend); + } + + @Override + public int hashCode() { + return Objects.hash(concurrencyPolicy, failedJobsHistoryLimit, jobTemplate, schedule, startingDeadlineSeconds, successfulJobsHistoryLimit, suspend); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CronJobSpec {\n"); + + sb.append(" concurrencyPolicy: ").append(toIndentedString(concurrencyPolicy)).append("\n"); + sb.append(" failedJobsHistoryLimit: ").append(toIndentedString(failedJobsHistoryLimit)).append("\n"); + sb.append(" jobTemplate: ").append(toIndentedString(jobTemplate)).append("\n"); + sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n"); + sb.append(" startingDeadlineSeconds: ").append(toIndentedString(startingDeadlineSeconds)).append("\n"); + sb.append(" successfulJobsHistoryLimit: ").append(toIndentedString(successfulJobsHistoryLimit)).append("\n"); + sb.append(" suspend: ").append(toIndentedString(suspend)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobStatus.java new file mode 100644 index 0000000000..67b9560cc0 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CronJobStatus.java @@ -0,0 +1,129 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectReference; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.joda.time.DateTime; + +/** + * CronJobStatus represents the current state of a cron job. + */ +@ApiModel(description = "CronJobStatus represents the current state of a cron job.") + +public class V1beta1CronJobStatus { + @SerializedName("active") + private List active = null; + + @SerializedName("lastScheduleTime") + private DateTime lastScheduleTime = null; + + public V1beta1CronJobStatus active(List active) { + this.active = active; + return this; + } + + public V1beta1CronJobStatus addActiveItem(V1ObjectReference activeItem) { + if (this.active == null) { + this.active = new ArrayList(); + } + this.active.add(activeItem); + return this; + } + + /** + * A list of pointers to currently running jobs. + * @return active + **/ + @ApiModelProperty(value = "A list of pointers to currently running jobs.") + public List getActive() { + return active; + } + + public void setActive(List active) { + this.active = active; + } + + public V1beta1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { + this.lastScheduleTime = lastScheduleTime; + return this; + } + + /** + * Information when was the last time the job was successfully scheduled. + * @return lastScheduleTime + **/ + @ApiModelProperty(value = "Information when was the last time the job was successfully scheduled.") + public DateTime getLastScheduleTime() { + return lastScheduleTime; + } + + public void setLastScheduleTime(DateTime lastScheduleTime) { + this.lastScheduleTime = lastScheduleTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CronJobStatus v1beta1CronJobStatus = (V1beta1CronJobStatus) o; + return Objects.equals(this.active, v1beta1CronJobStatus.active) && + Objects.equals(this.lastScheduleTime, v1beta1CronJobStatus.lastScheduleTime); + } + + @Override + public int hashCode() { + return Objects.hash(active, lastScheduleTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CronJobStatus {\n"); + + sb.append(" active: ").append(toIndentedString(active)).append("\n"); + sb.append(" lastScheduleTime: ").append(toIndentedString(lastScheduleTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinition.java new file mode 100644 index 0000000000..cec5a0bf70 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinition.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionSpec; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. + */ +@ApiModel(description = "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.") + +public class V1beta1CustomResourceDefinition { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta1CustomResourceDefinitionSpec spec = null; + + @SerializedName("status") + private V1beta1CustomResourceDefinitionStatus status = null; + + public V1beta1CustomResourceDefinition apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1CustomResourceDefinition kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1CustomResourceDefinition metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1CustomResourceDefinition spec(V1beta1CustomResourceDefinitionSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec describes how the user wants the resources to appear + * @return spec + **/ + @ApiModelProperty(value = "Spec describes how the user wants the resources to appear") + public V1beta1CustomResourceDefinitionSpec getSpec() { + return spec; + } + + public void setSpec(V1beta1CustomResourceDefinitionSpec spec) { + this.spec = spec; + } + + public V1beta1CustomResourceDefinition status(V1beta1CustomResourceDefinitionStatus status) { + this.status = status; + return this; + } + + /** + * Status indicates the actual state of the CustomResourceDefinition + * @return status + **/ + @ApiModelProperty(value = "Status indicates the actual state of the CustomResourceDefinition") + public V1beta1CustomResourceDefinitionStatus getStatus() { + return status; + } + + public void setStatus(V1beta1CustomResourceDefinitionStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinition v1beta1CustomResourceDefinition = (V1beta1CustomResourceDefinition) o; + return Objects.equals(this.apiVersion, v1beta1CustomResourceDefinition.apiVersion) && + Objects.equals(this.kind, v1beta1CustomResourceDefinition.kind) && + Objects.equals(this.metadata, v1beta1CustomResourceDefinition.metadata) && + Objects.equals(this.spec, v1beta1CustomResourceDefinition.spec) && + Objects.equals(this.status, v1beta1CustomResourceDefinition.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinition {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionCondition.java new file mode 100644 index 0000000000..a13cab7f0a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionCondition.java @@ -0,0 +1,187 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * CustomResourceDefinitionCondition contains details for the current condition of this pod. + */ +@ApiModel(description = "CustomResourceDefinitionCondition contains details for the current condition of this pod.") + +public class V1beta1CustomResourceDefinitionCondition { + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V1beta1CustomResourceDefinitionCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * Last time the condition transitioned from one status to another. + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V1beta1CustomResourceDefinitionCondition message(String message) { + this.message = message; + return this; + } + + /** + * Human-readable message indicating details about last transition. + * @return message + **/ + @ApiModelProperty(value = "Human-readable message indicating details about last transition.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V1beta1CustomResourceDefinitionCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * Unique, one-word, CamelCase reason for the condition's last transition. + * @return reason + **/ + @ApiModelProperty(value = "Unique, one-word, CamelCase reason for the condition's last transition.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V1beta1CustomResourceDefinitionCondition status(String status) { + this.status = status; + return this; + } + + /** + * Status is the status of the condition. Can be True, False, Unknown. + * @return status + **/ + @ApiModelProperty(required = true, value = "Status is the status of the condition. Can be True, False, Unknown.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V1beta1CustomResourceDefinitionCondition type(String type) { + this.type = type; + return this; + } + + /** + * Type is the type of the condition. + * @return type + **/ + @ApiModelProperty(required = true, value = "Type is the type of the condition.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinitionCondition v1beta1CustomResourceDefinitionCondition = (V1beta1CustomResourceDefinitionCondition) o; + return Objects.equals(this.lastTransitionTime, v1beta1CustomResourceDefinitionCondition.lastTransitionTime) && + Objects.equals(this.message, v1beta1CustomResourceDefinitionCondition.message) && + Objects.equals(this.reason, v1beta1CustomResourceDefinitionCondition.reason) && + Objects.equals(this.status, v1beta1CustomResourceDefinitionCondition.status) && + Objects.equals(this.type, v1beta1CustomResourceDefinitionCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastTransitionTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinitionCondition {\n"); + + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionList.java new file mode 100644 index 0000000000..19fbde7413 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta1CustomResourceDefinition; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * CustomResourceDefinitionList is a list of CustomResourceDefinition objects. + */ +@ApiModel(description = "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.") + +public class V1beta1CustomResourceDefinitionList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta1CustomResourceDefinitionList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1CustomResourceDefinitionList items(List items) { + this.items = items; + return this; + } + + public V1beta1CustomResourceDefinitionList addItemsItem(V1beta1CustomResourceDefinition itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items individual CustomResourceDefinitions + * @return items + **/ + @ApiModelProperty(required = true, value = "Items individual CustomResourceDefinitions") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta1CustomResourceDefinitionList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1CustomResourceDefinitionList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinitionList v1beta1CustomResourceDefinitionList = (V1beta1CustomResourceDefinitionList) o; + return Objects.equals(this.apiVersion, v1beta1CustomResourceDefinitionList.apiVersion) && + Objects.equals(this.items, v1beta1CustomResourceDefinitionList.items) && + Objects.equals(this.kind, v1beta1CustomResourceDefinitionList.kind) && + Objects.equals(this.metadata, v1beta1CustomResourceDefinitionList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinitionList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionNames.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionNames.java new file mode 100644 index 0000000000..efddb94bcb --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionNames.java @@ -0,0 +1,196 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition + */ +@ApiModel(description = "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition") + +public class V1beta1CustomResourceDefinitionNames { + @SerializedName("kind") + private String kind = null; + + @SerializedName("listKind") + private String listKind = null; + + @SerializedName("plural") + private String plural = null; + + @SerializedName("shortNames") + private List shortNames = null; + + @SerializedName("singular") + private String singular = null; + + public V1beta1CustomResourceDefinitionNames kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is the serialized kind of the resource. It is normally CamelCase and singular. + * @return kind + **/ + @ApiModelProperty(required = true, value = "Kind is the serialized kind of the resource. It is normally CamelCase and singular.") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1CustomResourceDefinitionNames listKind(String listKind) { + this.listKind = listKind; + return this; + } + + /** + * ListKind is the serialized kind of the list for this resource. Defaults to <kind>List. + * @return listKind + **/ + @ApiModelProperty(value = "ListKind is the serialized kind of the list for this resource. Defaults to List.") + public String getListKind() { + return listKind; + } + + public void setListKind(String listKind) { + this.listKind = listKind; + } + + public V1beta1CustomResourceDefinitionNames plural(String plural) { + this.plural = plural; + return this; + } + + /** + * Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase. + * @return plural + **/ + @ApiModelProperty(required = true, value = "Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase.") + public String getPlural() { + return plural; + } + + public void setPlural(String plural) { + this.plural = plural; + } + + public V1beta1CustomResourceDefinitionNames shortNames(List shortNames) { + this.shortNames = shortNames; + return this; + } + + public V1beta1CustomResourceDefinitionNames addShortNamesItem(String shortNamesItem) { + if (this.shortNames == null) { + this.shortNames = new ArrayList(); + } + this.shortNames.add(shortNamesItem); + return this; + } + + /** + * ShortNames are short names for the resource. It must be all lowercase. + * @return shortNames + **/ + @ApiModelProperty(value = "ShortNames are short names for the resource. It must be all lowercase.") + public List getShortNames() { + return shortNames; + } + + public void setShortNames(List shortNames) { + this.shortNames = shortNames; + } + + public V1beta1CustomResourceDefinitionNames singular(String singular) { + this.singular = singular; + return this; + } + + /** + * Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased <kind> + * @return singular + **/ + @ApiModelProperty(value = "Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased ") + public String getSingular() { + return singular; + } + + public void setSingular(String singular) { + this.singular = singular; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinitionNames v1beta1CustomResourceDefinitionNames = (V1beta1CustomResourceDefinitionNames) o; + return Objects.equals(this.kind, v1beta1CustomResourceDefinitionNames.kind) && + Objects.equals(this.listKind, v1beta1CustomResourceDefinitionNames.listKind) && + Objects.equals(this.plural, v1beta1CustomResourceDefinitionNames.plural) && + Objects.equals(this.shortNames, v1beta1CustomResourceDefinitionNames.shortNames) && + Objects.equals(this.singular, v1beta1CustomResourceDefinitionNames.singular); + } + + @Override + public int hashCode() { + return Objects.hash(kind, listKind, plural, shortNames, singular); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinitionNames {\n"); + + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" listKind: ").append(toIndentedString(listKind)).append("\n"); + sb.append(" plural: ").append(toIndentedString(plural)).append("\n"); + sb.append(" shortNames: ").append(toIndentedString(shortNames)).append("\n"); + sb.append(" singular: ").append(toIndentedString(singular)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionSpec.java new file mode 100644 index 0000000000..d9463087c1 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionSpec.java @@ -0,0 +1,188 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionNames; +import io.kubernetes.client.models.V1beta1CustomResourceValidation; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CustomResourceDefinitionSpec describes how a user wants their resource to appear + */ +@ApiModel(description = "CustomResourceDefinitionSpec describes how a user wants their resource to appear") + +public class V1beta1CustomResourceDefinitionSpec { + @SerializedName("group") + private String group = null; + + @SerializedName("names") + private V1beta1CustomResourceDefinitionNames names = null; + + @SerializedName("scope") + private String scope = null; + + @SerializedName("validation") + private V1beta1CustomResourceValidation validation = null; + + @SerializedName("version") + private String version = null; + + public V1beta1CustomResourceDefinitionSpec group(String group) { + this.group = group; + return this; + } + + /** + * Group is the group this resource belongs in + * @return group + **/ + @ApiModelProperty(required = true, value = "Group is the group this resource belongs in") + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + public V1beta1CustomResourceDefinitionSpec names(V1beta1CustomResourceDefinitionNames names) { + this.names = names; + return this; + } + + /** + * Names are the names used to describe this custom resource + * @return names + **/ + @ApiModelProperty(required = true, value = "Names are the names used to describe this custom resource") + public V1beta1CustomResourceDefinitionNames getNames() { + return names; + } + + public void setNames(V1beta1CustomResourceDefinitionNames names) { + this.names = names; + } + + public V1beta1CustomResourceDefinitionSpec scope(String scope) { + this.scope = scope; + return this; + } + + /** + * Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced + * @return scope + **/ + @ApiModelProperty(required = true, value = "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced") + public String getScope() { + return scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public V1beta1CustomResourceDefinitionSpec validation(V1beta1CustomResourceValidation validation) { + this.validation = validation; + return this; + } + + /** + * Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. + * @return validation + **/ + @ApiModelProperty(value = "Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.") + public V1beta1CustomResourceValidation getValidation() { + return validation; + } + + public void setValidation(V1beta1CustomResourceValidation validation) { + this.validation = validation; + } + + public V1beta1CustomResourceDefinitionSpec version(String version) { + this.version = version; + return this; + } + + /** + * Version is the version this resource belongs in + * @return version + **/ + @ApiModelProperty(required = true, value = "Version is the version this resource belongs in") + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinitionSpec v1beta1CustomResourceDefinitionSpec = (V1beta1CustomResourceDefinitionSpec) o; + return Objects.equals(this.group, v1beta1CustomResourceDefinitionSpec.group) && + Objects.equals(this.names, v1beta1CustomResourceDefinitionSpec.names) && + Objects.equals(this.scope, v1beta1CustomResourceDefinitionSpec.scope) && + Objects.equals(this.validation, v1beta1CustomResourceDefinitionSpec.validation) && + Objects.equals(this.version, v1beta1CustomResourceDefinitionSpec.version); + } + + @Override + public int hashCode() { + return Objects.hash(group, names, scope, validation, version); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinitionSpec {\n"); + + sb.append(" group: ").append(toIndentedString(group)).append("\n"); + sb.append(" names: ").append(toIndentedString(names)).append("\n"); + sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + sb.append(" validation: ").append(toIndentedString(validation)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionStatus.java new file mode 100644 index 0000000000..9e799eeebf --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceDefinitionStatus.java @@ -0,0 +1,126 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionCondition; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionNames; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition + */ +@ApiModel(description = "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition") + +public class V1beta1CustomResourceDefinitionStatus { + @SerializedName("acceptedNames") + private V1beta1CustomResourceDefinitionNames acceptedNames = null; + + @SerializedName("conditions") + private List conditions = new ArrayList(); + + public V1beta1CustomResourceDefinitionStatus acceptedNames(V1beta1CustomResourceDefinitionNames acceptedNames) { + this.acceptedNames = acceptedNames; + return this; + } + + /** + * AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec. + * @return acceptedNames + **/ + @ApiModelProperty(required = true, value = "AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec.") + public V1beta1CustomResourceDefinitionNames getAcceptedNames() { + return acceptedNames; + } + + public void setAcceptedNames(V1beta1CustomResourceDefinitionNames acceptedNames) { + this.acceptedNames = acceptedNames; + } + + public V1beta1CustomResourceDefinitionStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V1beta1CustomResourceDefinitionStatus addConditionsItem(V1beta1CustomResourceDefinitionCondition conditionsItem) { + this.conditions.add(conditionsItem); + return this; + } + + /** + * Conditions indicate state for particular aspects of a CustomResourceDefinition + * @return conditions + **/ + @ApiModelProperty(required = true, value = "Conditions indicate state for particular aspects of a CustomResourceDefinition") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceDefinitionStatus v1beta1CustomResourceDefinitionStatus = (V1beta1CustomResourceDefinitionStatus) o; + return Objects.equals(this.acceptedNames, v1beta1CustomResourceDefinitionStatus.acceptedNames) && + Objects.equals(this.conditions, v1beta1CustomResourceDefinitionStatus.conditions); + } + + @Override + public int hashCode() { + return Objects.hash(acceptedNames, conditions); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceDefinitionStatus {\n"); + + sb.append(" acceptedNames: ").append(toIndentedString(acceptedNames)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceValidation.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceValidation.java new file mode 100644 index 0000000000..c36c0d713f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1CustomResourceValidation.java @@ -0,0 +1,95 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1JSONSchemaProps; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * CustomResourceValidation is a list of validation methods for CustomResources. + */ +@ApiModel(description = "CustomResourceValidation is a list of validation methods for CustomResources.") + +public class V1beta1CustomResourceValidation { + @SerializedName("openAPIV3Schema") + private V1beta1JSONSchemaProps openAPIV3Schema = null; + + public V1beta1CustomResourceValidation openAPIV3Schema(V1beta1JSONSchemaProps openAPIV3Schema) { + this.openAPIV3Schema = openAPIV3Schema; + return this; + } + + /** + * OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. + * @return openAPIV3Schema + **/ + @ApiModelProperty(value = "OpenAPIV3Schema is the OpenAPI v3 schema to be validated against.") + public V1beta1JSONSchemaProps getOpenAPIV3Schema() { + return openAPIV3Schema; + } + + public void setOpenAPIV3Schema(V1beta1JSONSchemaProps openAPIV3Schema) { + this.openAPIV3Schema = openAPIV3Schema; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1CustomResourceValidation v1beta1CustomResourceValidation = (V1beta1CustomResourceValidation) o; + return Objects.equals(this.openAPIV3Schema, v1beta1CustomResourceValidation.openAPIV3Schema); + } + + @Override + public int hashCode() { + return Objects.hash(openAPIV3Schema); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1CustomResourceValidation {\n"); + + sb.append(" openAPIV3Schema: ").append(toIndentedString(openAPIV3Schema)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSet.java index 63efb46b11..8ef8a5b410 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSet.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * DaemonSet represents the configuration of a daemon set. + * DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. */ -@ApiModel(description = "DaemonSet represents the configuration of a daemon set.") +@ApiModel(description = "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.") public class V1beta1DaemonSet { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public V1beta1DaemonSet apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1DaemonSet kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1beta1DaemonSet metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1beta1DaemonSet spec(V1beta1DaemonSetSpec spec) { } /** - * The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1DaemonSetSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1beta1DaemonSet status(V1beta1DaemonSetStatus status) { } /** - * The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1DaemonSetStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetList.java index 7cd465ac44..4873b50f46 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1DaemonSetList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1DaemonSetList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1DaemonSetList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetSpec.java index 7605a5f2f1..af32c80939 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -35,6 +35,9 @@ public class V1beta1DaemonSetSpec { @SerializedName("minReadySeconds") private Integer minReadySeconds = null; + @SerializedName("revisionHistoryLimit") + private Integer revisionHistoryLimit = null; + @SerializedName("selector") private V1LabelSelector selector = null; @@ -65,16 +68,34 @@ public void setMinReadySeconds(Integer minReadySeconds) { this.minReadySeconds = minReadySeconds; } + public V1beta1DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + return this; + } + + /** + * The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + * @return revisionHistoryLimit + **/ + @ApiModelProperty(value = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + public V1beta1DaemonSetSpec selector(V1LabelSelector selector) { this.selector = selector; return this; } /** - * A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return selector **/ - @ApiModelProperty(value = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public V1LabelSelector getSelector() { return selector; } @@ -89,10 +110,10 @@ public V1beta1DaemonSetSpec template(V1PodTemplateSpec template) { } /** - * An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + * An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template * @return template **/ - @ApiModelProperty(required = true, value = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template") + @ApiModelProperty(required = true, value = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template") public V1PodTemplateSpec getTemplate() { return template; } @@ -107,10 +128,10 @@ public V1beta1DaemonSetSpec templateGeneration(Long templateGeneration) { } /** - * A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. + * DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. * @return templateGeneration **/ - @ApiModelProperty(value = "A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.") + @ApiModelProperty(value = "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.") public Long getTemplateGeneration() { return templateGeneration; } @@ -148,6 +169,7 @@ public boolean equals(java.lang.Object o) { } V1beta1DaemonSetSpec v1beta1DaemonSetSpec = (V1beta1DaemonSetSpec) o; return Objects.equals(this.minReadySeconds, v1beta1DaemonSetSpec.minReadySeconds) && + Objects.equals(this.revisionHistoryLimit, v1beta1DaemonSetSpec.revisionHistoryLimit) && Objects.equals(this.selector, v1beta1DaemonSetSpec.selector) && Objects.equals(this.template, v1beta1DaemonSetSpec.template) && Objects.equals(this.templateGeneration, v1beta1DaemonSetSpec.templateGeneration) && @@ -156,7 +178,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(minReadySeconds, selector, template, templateGeneration, updateStrategy); + return Objects.hash(minReadySeconds, revisionHistoryLimit, selector, template, templateGeneration, updateStrategy); } @@ -166,6 +188,7 @@ public String toString() { sb.append("class V1beta1DaemonSetSpec {\n"); sb.append(" minReadySeconds: ").append(toIndentedString(minReadySeconds)).append("\n"); + sb.append(" revisionHistoryLimit: ").append(toIndentedString(revisionHistoryLimit)).append("\n"); sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); sb.append(" template: ").append(toIndentedString(template)).append("\n"); sb.append(" templateGeneration: ").append(toIndentedString(templateGeneration)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetStatus.java index 943e719091..e8a99c7491 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -29,6 +29,9 @@ @ApiModel(description = "DaemonSetStatus represents the current status of a daemon set.") public class V1beta1DaemonSetStatus { + @SerializedName("collisionCount") + private Integer collisionCount = null; + @SerializedName("currentNumberScheduled") private Integer currentNumberScheduled = null; @@ -53,16 +56,34 @@ public class V1beta1DaemonSetStatus { @SerializedName("updatedNumberScheduled") private Integer updatedNumberScheduled = null; + public V1beta1DaemonSetStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + * @return collisionCount + **/ + @ApiModelProperty(value = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + public V1beta1DaemonSetStatus currentNumberScheduled(Integer currentNumberScheduled) { this.currentNumberScheduled = currentNumberScheduled; return this; } /** - * The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md + * The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ * @return currentNumberScheduled **/ - @ApiModelProperty(required = true, value = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md") + @ApiModelProperty(required = true, value = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") public Integer getCurrentNumberScheduled() { return currentNumberScheduled; } @@ -77,10 +98,10 @@ public V1beta1DaemonSetStatus desiredNumberScheduled(Integer desiredNumberSchedu } /** - * The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md + * The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ * @return desiredNumberScheduled **/ - @ApiModelProperty(required = true, value = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md") + @ApiModelProperty(required = true, value = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") public Integer getDesiredNumberScheduled() { return desiredNumberScheduled; } @@ -113,10 +134,10 @@ public V1beta1DaemonSetStatus numberMisscheduled(Integer numberMisscheduled) { } /** - * The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md + * The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ * @return numberMisscheduled **/ - @ApiModelProperty(required = true, value = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md") + @ApiModelProperty(required = true, value = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") public Integer getNumberMisscheduled() { return numberMisscheduled; } @@ -207,7 +228,8 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1DaemonSetStatus v1beta1DaemonSetStatus = (V1beta1DaemonSetStatus) o; - return Objects.equals(this.currentNumberScheduled, v1beta1DaemonSetStatus.currentNumberScheduled) && + return Objects.equals(this.collisionCount, v1beta1DaemonSetStatus.collisionCount) && + Objects.equals(this.currentNumberScheduled, v1beta1DaemonSetStatus.currentNumberScheduled) && Objects.equals(this.desiredNumberScheduled, v1beta1DaemonSetStatus.desiredNumberScheduled) && Objects.equals(this.numberAvailable, v1beta1DaemonSetStatus.numberAvailable) && Objects.equals(this.numberMisscheduled, v1beta1DaemonSetStatus.numberMisscheduled) && @@ -219,7 +241,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled); + return Objects.hash(collisionCount, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled); } @@ -228,6 +250,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1DaemonSetStatus {\n"); + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); sb.append(" currentNumberScheduled: ").append(toIndentedString(currentNumberScheduled)).append("\n"); sb.append(" desiredNumberScheduled: ").append(toIndentedString(desiredNumberScheduled)).append("\n"); sb.append(" numberAvailable: ").append(toIndentedString(numberAvailable)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetUpdateStrategy.java index db722372e3..28ae384cde 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetUpdateStrategy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1DaemonSetUpdateStrategy.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Eviction.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Eviction.java index bd35a234a7..f8769033eb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Eviction.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Eviction.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -49,10 +49,10 @@ public V1beta1Eviction apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -85,10 +85,10 @@ public V1beta1Eviction kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ExternalDocumentation.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ExternalDocumentation.java new file mode 100644 index 0000000000..13add19f5d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ExternalDocumentation.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ExternalDocumentation allows referencing an external resource for extended documentation. + */ +@ApiModel(description = "ExternalDocumentation allows referencing an external resource for extended documentation.") + +public class V1beta1ExternalDocumentation { + @SerializedName("description") + private String description = null; + + @SerializedName("url") + private String url = null; + + public V1beta1ExternalDocumentation description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @ApiModelProperty(value = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public V1beta1ExternalDocumentation url(String url) { + this.url = url; + return this; + } + + /** + * Get url + * @return url + **/ + @ApiModelProperty(value = "") + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ExternalDocumentation v1beta1ExternalDocumentation = (V1beta1ExternalDocumentation) o; + return Objects.equals(this.description, v1beta1ExternalDocumentation.description) && + Objects.equals(this.url, v1beta1ExternalDocumentation.url); + } + + @Override + public int hashCode() { + return Objects.hash(description, url); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ExternalDocumentation {\n"); + + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" url: ").append(toIndentedString(url)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1FSGroupStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1FSGroupStrategyOptions.java index 7541071470..9f88e79e00 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1FSGroupStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1FSGroupStrategyOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressPath.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressPath.java index 4b07c47683..62badabc90 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressPath.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressPath.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressRuleValue.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressRuleValue.java index 57e3f23a7d..f36c275e53 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressRuleValue.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HTTPIngressRuleValue.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HostPortRange.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HostPortRange.java index 2b991a9a21..43847c0b4b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HostPortRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1HostPortRange.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IDRange.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IDRange.java index 45c272b0f4..ec5e524d9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IDRange.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IDRange.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IPBlock.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IPBlock.java new file mode 100644 index 0000000000..f40cafae52 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IPBlock.java @@ -0,0 +1,127 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. + */ +@ApiModel(description = "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.") + +public class V1beta1IPBlock { + @SerializedName("cidr") + private String cidr = null; + + @SerializedName("except") + private List except = null; + + public V1beta1IPBlock cidr(String cidr) { + this.cidr = cidr; + return this; + } + + /** + * CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" + * @return cidr + **/ + @ApiModelProperty(required = true, value = "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"") + public String getCidr() { + return cidr; + } + + public void setCidr(String cidr) { + this.cidr = cidr; + } + + public V1beta1IPBlock except(List except) { + this.except = except; + return this; + } + + public V1beta1IPBlock addExceptItem(String exceptItem) { + if (this.except == null) { + this.except = new ArrayList(); + } + this.except.add(exceptItem); + return this; + } + + /** + * Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range + * @return except + **/ + @ApiModelProperty(value = "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range") + public List getExcept() { + return except; + } + + public void setExcept(List except) { + this.except = except; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1IPBlock v1beta1IPBlock = (V1beta1IPBlock) o; + return Objects.equals(this.cidr, v1beta1IPBlock.cidr) && + Objects.equals(this.except, v1beta1IPBlock.except); + } + + @Override + public int hashCode() { + return Objects.hash(cidr, except); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1IPBlock {\n"); + + sb.append(" cidr: ").append(toIndentedString(cidr)).append("\n"); + sb.append(" except: ").append(toIndentedString(except)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Ingress.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Ingress.java index 4770471e16..f162fc3a69 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Ingress.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Ingress.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1Ingress apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1Ingress kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1beta1Ingress metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1beta1Ingress spec(V1beta1IngressSpec spec) { } /** - * Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1IngressSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1beta1Ingress status(V1beta1IngressStatus status) { } /** - * Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1IngressStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressBackend.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressBackend.java index 554a45fb09..20147e0d17 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressBackend.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressBackend.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressList.java index fd7a79b127..fae9841cce 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1IngressList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1IngressList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1IngressList metadata(V1ListMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressRule.java index 1d0e2eff10..76e77dd787 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressRule.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressSpec.java index a055a782d1..8d2ffb5f3b 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressStatus.java index 792484e332..12d1d55cf0 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressTLS.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressTLS.java index b2312a390a..7e8b3947c8 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressTLS.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1IngressTLS.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSON.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSON.java new file mode 100644 index 0000000000..8f5fc4c480 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSON.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. + */ +@ApiModel(description = "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.") + +public class V1beta1JSON { + @SerializedName("Raw") + private byte[] raw = null; + + public V1beta1JSON raw(byte[] raw) { + this.raw = raw; + return this; + } + + /** + * Get raw + * @return raw + **/ + @ApiModelProperty(required = true, value = "") + public byte[] getRaw() { + return raw; + } + + public void setRaw(byte[] raw) { + this.raw = raw; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSON v1beta1JSON = (V1beta1JSON) o; + return Objects.equals(this.raw, v1beta1JSON.raw); + } + + @Override + public int hashCode() { + return Objects.hash(raw); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSON {\n"); + + sb.append(" raw: ").append(toIndentedString(raw)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaProps.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaProps.java new file mode 100644 index 0000000000..9f0e9bc946 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaProps.java @@ -0,0 +1,981 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1ExternalDocumentation; +import io.kubernetes.client.models.V1beta1JSON; +import io.kubernetes.client.models.V1beta1JSONSchemaProps; +import io.kubernetes.client.models.V1beta1JSONSchemaPropsOrArray; +import io.kubernetes.client.models.V1beta1JSONSchemaPropsOrBool; +import io.kubernetes.client.models.V1beta1JSONSchemaPropsOrStringArray; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). + */ +@ApiModel(description = "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).") + +public class V1beta1JSONSchemaProps { + @SerializedName("$ref") + private String ref = null; + + @SerializedName("$schema") + private String schema = null; + + @SerializedName("additionalItems") + private V1beta1JSONSchemaPropsOrBool additionalItems = null; + + @SerializedName("additionalProperties") + private V1beta1JSONSchemaPropsOrBool additionalProperties = null; + + @SerializedName("allOf") + private List allOf = null; + + @SerializedName("anyOf") + private List anyOf = null; + + @SerializedName("default") + private V1beta1JSON _default = null; + + @SerializedName("definitions") + private Map definitions = null; + + @SerializedName("dependencies") + private Map dependencies = null; + + @SerializedName("description") + private String description = null; + + @SerializedName("enum") + private List _enum = null; + + @SerializedName("example") + private V1beta1JSON example = null; + + @SerializedName("exclusiveMaximum") + private Boolean exclusiveMaximum = null; + + @SerializedName("exclusiveMinimum") + private Boolean exclusiveMinimum = null; + + @SerializedName("externalDocs") + private V1beta1ExternalDocumentation externalDocs = null; + + @SerializedName("format") + private String format = null; + + @SerializedName("id") + private String id = null; + + @SerializedName("items") + private V1beta1JSONSchemaPropsOrArray items = null; + + @SerializedName("maxItems") + private Long maxItems = null; + + @SerializedName("maxLength") + private Long maxLength = null; + + @SerializedName("maxProperties") + private Long maxProperties = null; + + @SerializedName("maximum") + private Double maximum = null; + + @SerializedName("minItems") + private Long minItems = null; + + @SerializedName("minLength") + private Long minLength = null; + + @SerializedName("minProperties") + private Long minProperties = null; + + @SerializedName("minimum") + private Double minimum = null; + + @SerializedName("multipleOf") + private Double multipleOf = null; + + @SerializedName("not") + private V1beta1JSONSchemaProps not = null; + + @SerializedName("oneOf") + private List oneOf = null; + + @SerializedName("pattern") + private String pattern = null; + + @SerializedName("patternProperties") + private Map patternProperties = null; + + @SerializedName("properties") + private Map properties = null; + + @SerializedName("required") + private List required = null; + + @SerializedName("title") + private String title = null; + + @SerializedName("type") + private String type = null; + + @SerializedName("uniqueItems") + private Boolean uniqueItems = null; + + public V1beta1JSONSchemaProps ref(String ref) { + this.ref = ref; + return this; + } + + /** + * Get ref + * @return ref + **/ + @ApiModelProperty(value = "") + public String getRef() { + return ref; + } + + public void setRef(String ref) { + this.ref = ref; + } + + public V1beta1JSONSchemaProps schema(String schema) { + this.schema = schema; + return this; + } + + /** + * Get schema + * @return schema + **/ + @ApiModelProperty(value = "") + public String getSchema() { + return schema; + } + + public void setSchema(String schema) { + this.schema = schema; + } + + public V1beta1JSONSchemaProps additionalItems(V1beta1JSONSchemaPropsOrBool additionalItems) { + this.additionalItems = additionalItems; + return this; + } + + /** + * Get additionalItems + * @return additionalItems + **/ + @ApiModelProperty(value = "") + public V1beta1JSONSchemaPropsOrBool getAdditionalItems() { + return additionalItems; + } + + public void setAdditionalItems(V1beta1JSONSchemaPropsOrBool additionalItems) { + this.additionalItems = additionalItems; + } + + public V1beta1JSONSchemaProps additionalProperties(V1beta1JSONSchemaPropsOrBool additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get additionalProperties + * @return additionalProperties + **/ + @ApiModelProperty(value = "") + public V1beta1JSONSchemaPropsOrBool getAdditionalProperties() { + return additionalProperties; + } + + public void setAdditionalProperties(V1beta1JSONSchemaPropsOrBool additionalProperties) { + this.additionalProperties = additionalProperties; + } + + public V1beta1JSONSchemaProps allOf(List allOf) { + this.allOf = allOf; + return this; + } + + public V1beta1JSONSchemaProps addAllOfItem(V1beta1JSONSchemaProps allOfItem) { + if (this.allOf == null) { + this.allOf = new ArrayList(); + } + this.allOf.add(allOfItem); + return this; + } + + /** + * Get allOf + * @return allOf + **/ + @ApiModelProperty(value = "") + public List getAllOf() { + return allOf; + } + + public void setAllOf(List allOf) { + this.allOf = allOf; + } + + public V1beta1JSONSchemaProps anyOf(List anyOf) { + this.anyOf = anyOf; + return this; + } + + public V1beta1JSONSchemaProps addAnyOfItem(V1beta1JSONSchemaProps anyOfItem) { + if (this.anyOf == null) { + this.anyOf = new ArrayList(); + } + this.anyOf.add(anyOfItem); + return this; + } + + /** + * Get anyOf + * @return anyOf + **/ + @ApiModelProperty(value = "") + public List getAnyOf() { + return anyOf; + } + + public void setAnyOf(List anyOf) { + this.anyOf = anyOf; + } + + public V1beta1JSONSchemaProps _default(V1beta1JSON _default) { + this._default = _default; + return this; + } + + /** + * Get _default + * @return _default + **/ + @ApiModelProperty(value = "") + public V1beta1JSON getDefault() { + return _default; + } + + public void setDefault(V1beta1JSON _default) { + this._default = _default; + } + + public V1beta1JSONSchemaProps definitions(Map definitions) { + this.definitions = definitions; + return this; + } + + public V1beta1JSONSchemaProps putDefinitionsItem(String key, V1beta1JSONSchemaProps definitionsItem) { + if (this.definitions == null) { + this.definitions = new HashMap(); + } + this.definitions.put(key, definitionsItem); + return this; + } + + /** + * Get definitions + * @return definitions + **/ + @ApiModelProperty(value = "") + public Map getDefinitions() { + return definitions; + } + + public void setDefinitions(Map definitions) { + this.definitions = definitions; + } + + public V1beta1JSONSchemaProps dependencies(Map dependencies) { + this.dependencies = dependencies; + return this; + } + + public V1beta1JSONSchemaProps putDependenciesItem(String key, V1beta1JSONSchemaPropsOrStringArray dependenciesItem) { + if (this.dependencies == null) { + this.dependencies = new HashMap(); + } + this.dependencies.put(key, dependenciesItem); + return this; + } + + /** + * Get dependencies + * @return dependencies + **/ + @ApiModelProperty(value = "") + public Map getDependencies() { + return dependencies; + } + + public void setDependencies(Map dependencies) { + this.dependencies = dependencies; + } + + public V1beta1JSONSchemaProps description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @ApiModelProperty(value = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public V1beta1JSONSchemaProps _enum(List _enum) { + this._enum = _enum; + return this; + } + + public V1beta1JSONSchemaProps addEnumItem(V1beta1JSON _enumItem) { + if (this._enum == null) { + this._enum = new ArrayList(); + } + this._enum.add(_enumItem); + return this; + } + + /** + * Get _enum + * @return _enum + **/ + @ApiModelProperty(value = "") + public List getEnum() { + return _enum; + } + + public void setEnum(List _enum) { + this._enum = _enum; + } + + public V1beta1JSONSchemaProps example(V1beta1JSON example) { + this.example = example; + return this; + } + + /** + * Get example + * @return example + **/ + @ApiModelProperty(value = "") + public V1beta1JSON getExample() { + return example; + } + + public void setExample(V1beta1JSON example) { + this.example = example; + } + + public V1beta1JSONSchemaProps exclusiveMaximum(Boolean exclusiveMaximum) { + this.exclusiveMaximum = exclusiveMaximum; + return this; + } + + /** + * Get exclusiveMaximum + * @return exclusiveMaximum + **/ + @ApiModelProperty(value = "") + public Boolean isExclusiveMaximum() { + return exclusiveMaximum; + } + + public void setExclusiveMaximum(Boolean exclusiveMaximum) { + this.exclusiveMaximum = exclusiveMaximum; + } + + public V1beta1JSONSchemaProps exclusiveMinimum(Boolean exclusiveMinimum) { + this.exclusiveMinimum = exclusiveMinimum; + return this; + } + + /** + * Get exclusiveMinimum + * @return exclusiveMinimum + **/ + @ApiModelProperty(value = "") + public Boolean isExclusiveMinimum() { + return exclusiveMinimum; + } + + public void setExclusiveMinimum(Boolean exclusiveMinimum) { + this.exclusiveMinimum = exclusiveMinimum; + } + + public V1beta1JSONSchemaProps externalDocs(V1beta1ExternalDocumentation externalDocs) { + this.externalDocs = externalDocs; + return this; + } + + /** + * Get externalDocs + * @return externalDocs + **/ + @ApiModelProperty(value = "") + public V1beta1ExternalDocumentation getExternalDocs() { + return externalDocs; + } + + public void setExternalDocs(V1beta1ExternalDocumentation externalDocs) { + this.externalDocs = externalDocs; + } + + public V1beta1JSONSchemaProps format(String format) { + this.format = format; + return this; + } + + /** + * Get format + * @return format + **/ + @ApiModelProperty(value = "") + public String getFormat() { + return format; + } + + public void setFormat(String format) { + this.format = format; + } + + public V1beta1JSONSchemaProps id(String id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + **/ + @ApiModelProperty(value = "") + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public V1beta1JSONSchemaProps items(V1beta1JSONSchemaPropsOrArray items) { + this.items = items; + return this; + } + + /** + * Get items + * @return items + **/ + @ApiModelProperty(value = "") + public V1beta1JSONSchemaPropsOrArray getItems() { + return items; + } + + public void setItems(V1beta1JSONSchemaPropsOrArray items) { + this.items = items; + } + + public V1beta1JSONSchemaProps maxItems(Long maxItems) { + this.maxItems = maxItems; + return this; + } + + /** + * Get maxItems + * @return maxItems + **/ + @ApiModelProperty(value = "") + public Long getMaxItems() { + return maxItems; + } + + public void setMaxItems(Long maxItems) { + this.maxItems = maxItems; + } + + public V1beta1JSONSchemaProps maxLength(Long maxLength) { + this.maxLength = maxLength; + return this; + } + + /** + * Get maxLength + * @return maxLength + **/ + @ApiModelProperty(value = "") + public Long getMaxLength() { + return maxLength; + } + + public void setMaxLength(Long maxLength) { + this.maxLength = maxLength; + } + + public V1beta1JSONSchemaProps maxProperties(Long maxProperties) { + this.maxProperties = maxProperties; + return this; + } + + /** + * Get maxProperties + * @return maxProperties + **/ + @ApiModelProperty(value = "") + public Long getMaxProperties() { + return maxProperties; + } + + public void setMaxProperties(Long maxProperties) { + this.maxProperties = maxProperties; + } + + public V1beta1JSONSchemaProps maximum(Double maximum) { + this.maximum = maximum; + return this; + } + + /** + * Get maximum + * @return maximum + **/ + @ApiModelProperty(value = "") + public Double getMaximum() { + return maximum; + } + + public void setMaximum(Double maximum) { + this.maximum = maximum; + } + + public V1beta1JSONSchemaProps minItems(Long minItems) { + this.minItems = minItems; + return this; + } + + /** + * Get minItems + * @return minItems + **/ + @ApiModelProperty(value = "") + public Long getMinItems() { + return minItems; + } + + public void setMinItems(Long minItems) { + this.minItems = minItems; + } + + public V1beta1JSONSchemaProps minLength(Long minLength) { + this.minLength = minLength; + return this; + } + + /** + * Get minLength + * @return minLength + **/ + @ApiModelProperty(value = "") + public Long getMinLength() { + return minLength; + } + + public void setMinLength(Long minLength) { + this.minLength = minLength; + } + + public V1beta1JSONSchemaProps minProperties(Long minProperties) { + this.minProperties = minProperties; + return this; + } + + /** + * Get minProperties + * @return minProperties + **/ + @ApiModelProperty(value = "") + public Long getMinProperties() { + return minProperties; + } + + public void setMinProperties(Long minProperties) { + this.minProperties = minProperties; + } + + public V1beta1JSONSchemaProps minimum(Double minimum) { + this.minimum = minimum; + return this; + } + + /** + * Get minimum + * @return minimum + **/ + @ApiModelProperty(value = "") + public Double getMinimum() { + return minimum; + } + + public void setMinimum(Double minimum) { + this.minimum = minimum; + } + + public V1beta1JSONSchemaProps multipleOf(Double multipleOf) { + this.multipleOf = multipleOf; + return this; + } + + /** + * Get multipleOf + * @return multipleOf + **/ + @ApiModelProperty(value = "") + public Double getMultipleOf() { + return multipleOf; + } + + public void setMultipleOf(Double multipleOf) { + this.multipleOf = multipleOf; + } + + public V1beta1JSONSchemaProps not(V1beta1JSONSchemaProps not) { + this.not = not; + return this; + } + + /** + * Get not + * @return not + **/ + @ApiModelProperty(value = "") + public V1beta1JSONSchemaProps getNot() { + return not; + } + + public void setNot(V1beta1JSONSchemaProps not) { + this.not = not; + } + + public V1beta1JSONSchemaProps oneOf(List oneOf) { + this.oneOf = oneOf; + return this; + } + + public V1beta1JSONSchemaProps addOneOfItem(V1beta1JSONSchemaProps oneOfItem) { + if (this.oneOf == null) { + this.oneOf = new ArrayList(); + } + this.oneOf.add(oneOfItem); + return this; + } + + /** + * Get oneOf + * @return oneOf + **/ + @ApiModelProperty(value = "") + public List getOneOf() { + return oneOf; + } + + public void setOneOf(List oneOf) { + this.oneOf = oneOf; + } + + public V1beta1JSONSchemaProps pattern(String pattern) { + this.pattern = pattern; + return this; + } + + /** + * Get pattern + * @return pattern + **/ + @ApiModelProperty(value = "") + public String getPattern() { + return pattern; + } + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + public V1beta1JSONSchemaProps patternProperties(Map patternProperties) { + this.patternProperties = patternProperties; + return this; + } + + public V1beta1JSONSchemaProps putPatternPropertiesItem(String key, V1beta1JSONSchemaProps patternPropertiesItem) { + if (this.patternProperties == null) { + this.patternProperties = new HashMap(); + } + this.patternProperties.put(key, patternPropertiesItem); + return this; + } + + /** + * Get patternProperties + * @return patternProperties + **/ + @ApiModelProperty(value = "") + public Map getPatternProperties() { + return patternProperties; + } + + public void setPatternProperties(Map patternProperties) { + this.patternProperties = patternProperties; + } + + public V1beta1JSONSchemaProps properties(Map properties) { + this.properties = properties; + return this; + } + + public V1beta1JSONSchemaProps putPropertiesItem(String key, V1beta1JSONSchemaProps propertiesItem) { + if (this.properties == null) { + this.properties = new HashMap(); + } + this.properties.put(key, propertiesItem); + return this; + } + + /** + * Get properties + * @return properties + **/ + @ApiModelProperty(value = "") + public Map getProperties() { + return properties; + } + + public void setProperties(Map properties) { + this.properties = properties; + } + + public V1beta1JSONSchemaProps required(List required) { + this.required = required; + return this; + } + + public V1beta1JSONSchemaProps addRequiredItem(String requiredItem) { + if (this.required == null) { + this.required = new ArrayList(); + } + this.required.add(requiredItem); + return this; + } + + /** + * Get required + * @return required + **/ + @ApiModelProperty(value = "") + public List getRequired() { + return required; + } + + public void setRequired(List required) { + this.required = required; + } + + public V1beta1JSONSchemaProps title(String title) { + this.title = title; + return this; + } + + /** + * Get title + * @return title + **/ + @ApiModelProperty(value = "") + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public V1beta1JSONSchemaProps type(String type) { + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @ApiModelProperty(value = "") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public V1beta1JSONSchemaProps uniqueItems(Boolean uniqueItems) { + this.uniqueItems = uniqueItems; + return this; + } + + /** + * Get uniqueItems + * @return uniqueItems + **/ + @ApiModelProperty(value = "") + public Boolean isUniqueItems() { + return uniqueItems; + } + + public void setUniqueItems(Boolean uniqueItems) { + this.uniqueItems = uniqueItems; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSONSchemaProps v1beta1JSONSchemaProps = (V1beta1JSONSchemaProps) o; + return Objects.equals(this.ref, v1beta1JSONSchemaProps.ref) && + Objects.equals(this.schema, v1beta1JSONSchemaProps.schema) && + Objects.equals(this.additionalItems, v1beta1JSONSchemaProps.additionalItems) && + Objects.equals(this.additionalProperties, v1beta1JSONSchemaProps.additionalProperties) && + Objects.equals(this.allOf, v1beta1JSONSchemaProps.allOf) && + Objects.equals(this.anyOf, v1beta1JSONSchemaProps.anyOf) && + Objects.equals(this._default, v1beta1JSONSchemaProps._default) && + Objects.equals(this.definitions, v1beta1JSONSchemaProps.definitions) && + Objects.equals(this.dependencies, v1beta1JSONSchemaProps.dependencies) && + Objects.equals(this.description, v1beta1JSONSchemaProps.description) && + Objects.equals(this._enum, v1beta1JSONSchemaProps._enum) && + Objects.equals(this.example, v1beta1JSONSchemaProps.example) && + Objects.equals(this.exclusiveMaximum, v1beta1JSONSchemaProps.exclusiveMaximum) && + Objects.equals(this.exclusiveMinimum, v1beta1JSONSchemaProps.exclusiveMinimum) && + Objects.equals(this.externalDocs, v1beta1JSONSchemaProps.externalDocs) && + Objects.equals(this.format, v1beta1JSONSchemaProps.format) && + Objects.equals(this.id, v1beta1JSONSchemaProps.id) && + Objects.equals(this.items, v1beta1JSONSchemaProps.items) && + Objects.equals(this.maxItems, v1beta1JSONSchemaProps.maxItems) && + Objects.equals(this.maxLength, v1beta1JSONSchemaProps.maxLength) && + Objects.equals(this.maxProperties, v1beta1JSONSchemaProps.maxProperties) && + Objects.equals(this.maximum, v1beta1JSONSchemaProps.maximum) && + Objects.equals(this.minItems, v1beta1JSONSchemaProps.minItems) && + Objects.equals(this.minLength, v1beta1JSONSchemaProps.minLength) && + Objects.equals(this.minProperties, v1beta1JSONSchemaProps.minProperties) && + Objects.equals(this.minimum, v1beta1JSONSchemaProps.minimum) && + Objects.equals(this.multipleOf, v1beta1JSONSchemaProps.multipleOf) && + Objects.equals(this.not, v1beta1JSONSchemaProps.not) && + Objects.equals(this.oneOf, v1beta1JSONSchemaProps.oneOf) && + Objects.equals(this.pattern, v1beta1JSONSchemaProps.pattern) && + Objects.equals(this.patternProperties, v1beta1JSONSchemaProps.patternProperties) && + Objects.equals(this.properties, v1beta1JSONSchemaProps.properties) && + Objects.equals(this.required, v1beta1JSONSchemaProps.required) && + Objects.equals(this.title, v1beta1JSONSchemaProps.title) && + Objects.equals(this.type, v1beta1JSONSchemaProps.type) && + Objects.equals(this.uniqueItems, v1beta1JSONSchemaProps.uniqueItems); + } + + @Override + public int hashCode() { + return Objects.hash(ref, schema, additionalItems, additionalProperties, allOf, anyOf, _default, definitions, dependencies, description, _enum, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, id, items, maxItems, maxLength, maxProperties, maximum, minItems, minLength, minProperties, minimum, multipleOf, not, oneOf, pattern, patternProperties, properties, required, title, type, uniqueItems); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSONSchemaProps {\n"); + + sb.append(" ref: ").append(toIndentedString(ref)).append("\n"); + sb.append(" schema: ").append(toIndentedString(schema)).append("\n"); + sb.append(" additionalItems: ").append(toIndentedString(additionalItems)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append(" allOf: ").append(toIndentedString(allOf)).append("\n"); + sb.append(" anyOf: ").append(toIndentedString(anyOf)).append("\n"); + sb.append(" _default: ").append(toIndentedString(_default)).append("\n"); + sb.append(" definitions: ").append(toIndentedString(definitions)).append("\n"); + sb.append(" dependencies: ").append(toIndentedString(dependencies)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" _enum: ").append(toIndentedString(_enum)).append("\n"); + sb.append(" example: ").append(toIndentedString(example)).append("\n"); + sb.append(" exclusiveMaximum: ").append(toIndentedString(exclusiveMaximum)).append("\n"); + sb.append(" exclusiveMinimum: ").append(toIndentedString(exclusiveMinimum)).append("\n"); + sb.append(" externalDocs: ").append(toIndentedString(externalDocs)).append("\n"); + sb.append(" format: ").append(toIndentedString(format)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" maxItems: ").append(toIndentedString(maxItems)).append("\n"); + sb.append(" maxLength: ").append(toIndentedString(maxLength)).append("\n"); + sb.append(" maxProperties: ").append(toIndentedString(maxProperties)).append("\n"); + sb.append(" maximum: ").append(toIndentedString(maximum)).append("\n"); + sb.append(" minItems: ").append(toIndentedString(minItems)).append("\n"); + sb.append(" minLength: ").append(toIndentedString(minLength)).append("\n"); + sb.append(" minProperties: ").append(toIndentedString(minProperties)).append("\n"); + sb.append(" minimum: ").append(toIndentedString(minimum)).append("\n"); + sb.append(" multipleOf: ").append(toIndentedString(multipleOf)).append("\n"); + sb.append(" not: ").append(toIndentedString(not)).append("\n"); + sb.append(" oneOf: ").append(toIndentedString(oneOf)).append("\n"); + sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n"); + sb.append(" patternProperties: ").append(toIndentedString(patternProperties)).append("\n"); + sb.append(" properties: ").append(toIndentedString(properties)).append("\n"); + sb.append(" required: ").append(toIndentedString(required)).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" uniqueItems: ").append(toIndentedString(uniqueItems)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrArray.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrArray.java new file mode 100644 index 0000000000..c4239bdbdb --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrArray.java @@ -0,0 +1,125 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1JSONSchemaProps; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. + */ +@ApiModel(description = "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.") + +public class V1beta1JSONSchemaPropsOrArray { + @SerializedName("JSONSchemas") + private List jsONSchemas = new ArrayList(); + + @SerializedName("Schema") + private V1beta1JSONSchemaProps schema = null; + + public V1beta1JSONSchemaPropsOrArray jsONSchemas(List jsONSchemas) { + this.jsONSchemas = jsONSchemas; + return this; + } + + public V1beta1JSONSchemaPropsOrArray addJsONSchemasItem(V1beta1JSONSchemaProps jsONSchemasItem) { + this.jsONSchemas.add(jsONSchemasItem); + return this; + } + + /** + * Get jsONSchemas + * @return jsONSchemas + **/ + @ApiModelProperty(required = true, value = "") + public List getJsONSchemas() { + return jsONSchemas; + } + + public void setJsONSchemas(List jsONSchemas) { + this.jsONSchemas = jsONSchemas; + } + + public V1beta1JSONSchemaPropsOrArray schema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + return this; + } + + /** + * Get schema + * @return schema + **/ + @ApiModelProperty(required = true, value = "") + public V1beta1JSONSchemaProps getSchema() { + return schema; + } + + public void setSchema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSONSchemaPropsOrArray v1beta1JSONSchemaPropsOrArray = (V1beta1JSONSchemaPropsOrArray) o; + return Objects.equals(this.jsONSchemas, v1beta1JSONSchemaPropsOrArray.jsONSchemas) && + Objects.equals(this.schema, v1beta1JSONSchemaPropsOrArray.schema); + } + + @Override + public int hashCode() { + return Objects.hash(jsONSchemas, schema); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSONSchemaPropsOrArray {\n"); + + sb.append(" jsONSchemas: ").append(toIndentedString(jsONSchemas)).append("\n"); + sb.append(" schema: ").append(toIndentedString(schema)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrBool.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrBool.java new file mode 100644 index 0000000000..bee2c56ee6 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrBool.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1JSONSchemaProps; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. + */ +@ApiModel(description = "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.") + +public class V1beta1JSONSchemaPropsOrBool { + @SerializedName("Allows") + private Boolean allows = null; + + @SerializedName("Schema") + private V1beta1JSONSchemaProps schema = null; + + public V1beta1JSONSchemaPropsOrBool allows(Boolean allows) { + this.allows = allows; + return this; + } + + /** + * Get allows + * @return allows + **/ + @ApiModelProperty(required = true, value = "") + public Boolean isAllows() { + return allows; + } + + public void setAllows(Boolean allows) { + this.allows = allows; + } + + public V1beta1JSONSchemaPropsOrBool schema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + return this; + } + + /** + * Get schema + * @return schema + **/ + @ApiModelProperty(required = true, value = "") + public V1beta1JSONSchemaProps getSchema() { + return schema; + } + + public void setSchema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSONSchemaPropsOrBool v1beta1JSONSchemaPropsOrBool = (V1beta1JSONSchemaPropsOrBool) o; + return Objects.equals(this.allows, v1beta1JSONSchemaPropsOrBool.allows) && + Objects.equals(this.schema, v1beta1JSONSchemaPropsOrBool.schema); + } + + @Override + public int hashCode() { + return Objects.hash(allows, schema); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSONSchemaPropsOrBool {\n"); + + sb.append(" allows: ").append(toIndentedString(allows)).append("\n"); + sb.append(" schema: ").append(toIndentedString(schema)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrStringArray.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrStringArray.java new file mode 100644 index 0000000000..6c2f1ca15f --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JSONSchemaPropsOrStringArray.java @@ -0,0 +1,125 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1JSONSchemaProps; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. + */ +@ApiModel(description = "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.") + +public class V1beta1JSONSchemaPropsOrStringArray { + @SerializedName("Property") + private List property = new ArrayList(); + + @SerializedName("Schema") + private V1beta1JSONSchemaProps schema = null; + + public V1beta1JSONSchemaPropsOrStringArray property(List property) { + this.property = property; + return this; + } + + public V1beta1JSONSchemaPropsOrStringArray addPropertyItem(String propertyItem) { + this.property.add(propertyItem); + return this; + } + + /** + * Get property + * @return property + **/ + @ApiModelProperty(required = true, value = "") + public List getProperty() { + return property; + } + + public void setProperty(List property) { + this.property = property; + } + + public V1beta1JSONSchemaPropsOrStringArray schema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + return this; + } + + /** + * Get schema + * @return schema + **/ + @ApiModelProperty(required = true, value = "") + public V1beta1JSONSchemaProps getSchema() { + return schema; + } + + public void setSchema(V1beta1JSONSchemaProps schema) { + this.schema = schema; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JSONSchemaPropsOrStringArray v1beta1JSONSchemaPropsOrStringArray = (V1beta1JSONSchemaPropsOrStringArray) o; + return Objects.equals(this.property, v1beta1JSONSchemaPropsOrStringArray.property) && + Objects.equals(this.schema, v1beta1JSONSchemaPropsOrStringArray.schema); + } + + @Override + public int hashCode() { + return Objects.hash(property, schema); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JSONSchemaPropsOrStringArray {\n"); + + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" schema: ").append(toIndentedString(schema)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JobTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JobTemplateSpec.java new file mode 100644 index 0000000000..7b7306a3d9 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1JobTemplateSpec.java @@ -0,0 +1,119 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1JobSpec; +import io.kubernetes.client.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * JobTemplateSpec describes the data a Job should have when created from a template + */ +@ApiModel(description = "JobTemplateSpec describes the data a Job should have when created from a template") + +public class V1beta1JobTemplateSpec { + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1JobSpec spec = null; + + public V1beta1JobTemplateSpec metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1JobTemplateSpec spec(V1JobSpec spec) { + this.spec = spec; + return this; + } + + /** + * Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return spec + **/ + @ApiModelProperty(value = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1JobSpec getSpec() { + return spec; + } + + public void setSpec(V1JobSpec spec) { + this.spec = spec; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1JobTemplateSpec v1beta1JobTemplateSpec = (V1beta1JobTemplateSpec) o; + return Objects.equals(this.metadata, v1beta1JobTemplateSpec.metadata) && + Objects.equals(this.spec, v1beta1JobTemplateSpec.spec); + } + + @Override + public int hashCode() { + return Objects.hash(metadata, spec); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1JobTemplateSpec {\n"); + + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1LocalSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1LocalSubjectAccessReview.java index 52f13fc2cb..828cbf7327 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1LocalSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1LocalSubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1LocalSubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1LocalSubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicy.java index 4dcbf57539..4a5f90d97d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicy.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -26,8 +26,9 @@ import java.io.IOException; /** - * V1beta1NetworkPolicy + * NetworkPolicy describes what network traffic is allowed for a set of Pods */ +@ApiModel(description = "NetworkPolicy describes what network traffic is allowed for a set of Pods") public class V1beta1NetworkPolicy { @SerializedName("apiVersion") @@ -48,10 +49,10 @@ public V1beta1NetworkPolicy apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -66,10 +67,10 @@ public V1beta1NetworkPolicy kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -84,10 +85,10 @@ public V1beta1NetworkPolicy metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyEgressRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyEgressRule.java new file mode 100644 index 0000000000..186042883b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyEgressRule.java @@ -0,0 +1,137 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1NetworkPolicyPeer; +import io.kubernetes.client.models.V1beta1NetworkPolicyPort; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 + */ +@ApiModel(description = "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8") + +public class V1beta1NetworkPolicyEgressRule { + @SerializedName("ports") + private List ports = null; + + @SerializedName("to") + private List to = null; + + public V1beta1NetworkPolicyEgressRule ports(List ports) { + this.ports = ports; + return this; + } + + public V1beta1NetworkPolicyEgressRule addPortsItem(V1beta1NetworkPolicyPort portsItem) { + if (this.ports == null) { + this.ports = new ArrayList(); + } + this.ports.add(portsItem); + return this; + } + + /** + * List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + * @return ports + **/ + @ApiModelProperty(value = "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.") + public List getPorts() { + return ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + + public V1beta1NetworkPolicyEgressRule to(List to) { + this.to = to; + return this; + } + + public V1beta1NetworkPolicyEgressRule addToItem(V1beta1NetworkPolicyPeer toItem) { + if (this.to == null) { + this.to = new ArrayList(); + } + this.to.add(toItem); + return this; + } + + /** + * List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. + * @return to + **/ + @ApiModelProperty(value = "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.") + public List getTo() { + return to; + } + + public void setTo(List to) { + this.to = to; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1NetworkPolicyEgressRule v1beta1NetworkPolicyEgressRule = (V1beta1NetworkPolicyEgressRule) o; + return Objects.equals(this.ports, v1beta1NetworkPolicyEgressRule.ports) && + Objects.equals(this.to, v1beta1NetworkPolicyEgressRule.to); + } + + @Override + public int hashCode() { + return Objects.hash(ports, to); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1NetworkPolicyEgressRule {\n"); + + sb.append(" ports: ").append(toIndentedString(ports)).append("\n"); + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyIngressRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyIngressRule.java index 19df7ede3d..6bc582ba80 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyIngressRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyIngressRule.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1NetworkPolicyIngressRule addFromItem(V1beta1NetworkPolicyPeer from } /** - * List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. + * List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. * @return from **/ - @ApiModelProperty(value = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.") + @ApiModelProperty(value = "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.") public List getFrom() { return from; } @@ -79,10 +79,10 @@ public V1beta1NetworkPolicyIngressRule addPortsItem(V1beta1NetworkPolicyPort por } /** - * List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. + * List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. * @return ports **/ - @ApiModelProperty(value = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.") + @ApiModelProperty(value = "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.") public List getPorts() { return ports; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyList.java index 27f6a179cf..b889069306 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1NetworkPolicyList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1NetworkPolicyList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1NetworkPolicyList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPeer.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPeer.java index 2cd635985a..54bb06753a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPeer.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPeer.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1beta1IPBlock; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -29,22 +30,43 @@ */ public class V1beta1NetworkPolicyPeer { + @SerializedName("ipBlock") + private V1beta1IPBlock ipBlock = null; + @SerializedName("namespaceSelector") private V1LabelSelector namespaceSelector = null; @SerializedName("podSelector") private V1LabelSelector podSelector = null; + public V1beta1NetworkPolicyPeer ipBlock(V1beta1IPBlock ipBlock) { + this.ipBlock = ipBlock; + return this; + } + + /** + * IPBlock defines policy on a particular IPBlock + * @return ipBlock + **/ + @ApiModelProperty(value = "IPBlock defines policy on a particular IPBlock") + public V1beta1IPBlock getIpBlock() { + return ipBlock; + } + + public void setIpBlock(V1beta1IPBlock ipBlock) { + this.ipBlock = ipBlock; + } + public V1beta1NetworkPolicyPeer namespaceSelector(V1LabelSelector namespaceSelector) { this.namespaceSelector = namespaceSelector; return this; } /** - * Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces. + * Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. * @return namespaceSelector **/ - @ApiModelProperty(value = "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.") + @ApiModelProperty(value = "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.") public V1LabelSelector getNamespaceSelector() { return namespaceSelector; } @@ -59,10 +81,10 @@ public V1beta1NetworkPolicyPeer podSelector(V1LabelSelector podSelector) { } /** - * This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace. + * This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. * @return podSelector **/ - @ApiModelProperty(value = "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.") + @ApiModelProperty(value = "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.") public V1LabelSelector getPodSelector() { return podSelector; } @@ -81,13 +103,14 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1NetworkPolicyPeer v1beta1NetworkPolicyPeer = (V1beta1NetworkPolicyPeer) o; - return Objects.equals(this.namespaceSelector, v1beta1NetworkPolicyPeer.namespaceSelector) && + return Objects.equals(this.ipBlock, v1beta1NetworkPolicyPeer.ipBlock) && + Objects.equals(this.namespaceSelector, v1beta1NetworkPolicyPeer.namespaceSelector) && Objects.equals(this.podSelector, v1beta1NetworkPolicyPeer.podSelector); } @Override public int hashCode() { - return Objects.hash(namespaceSelector, podSelector); + return Objects.hash(ipBlock, namespaceSelector, podSelector); } @@ -96,6 +119,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1NetworkPolicyPeer {\n"); + sb.append(" ipBlock: ").append(toIndentedString(ipBlock)).append("\n"); sb.append(" namespaceSelector: ").append(toIndentedString(namespaceSelector)).append("\n"); sb.append(" podSelector: ").append(toIndentedString(podSelector)).append("\n"); sb.append("}"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPort.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPort.java index a50144b56e..69df733645 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPort.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicyPort.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicySpec.java index 3a1c90e02a..a15d725ab2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NetworkPolicySpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1beta1NetworkPolicyEgressRule; import io.kubernetes.client.models.V1beta1NetworkPolicyIngressRule; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -32,12 +33,44 @@ */ public class V1beta1NetworkPolicySpec { + @SerializedName("egress") + private List egress = null; + @SerializedName("ingress") private List ingress = null; @SerializedName("podSelector") private V1LabelSelector podSelector = null; + @SerializedName("policyTypes") + private List policyTypes = null; + + public V1beta1NetworkPolicySpec egress(List egress) { + this.egress = egress; + return this; + } + + public V1beta1NetworkPolicySpec addEgressItem(V1beta1NetworkPolicyEgressRule egressItem) { + if (this.egress == null) { + this.egress = new ArrayList(); + } + this.egress.add(egressItem); + return this; + } + + /** + * List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 + * @return egress + **/ + @ApiModelProperty(value = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8") + public List getEgress() { + return egress; + } + + public void setEgress(List egress) { + this.egress = egress; + } + public V1beta1NetworkPolicySpec ingress(List ingress) { this.ingress = ingress; return this; @@ -52,10 +85,10 @@ public V1beta1NetworkPolicySpec addIngressItem(V1beta1NetworkPolicyIngressRule i } /** - * List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list. + * List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). * @return ingress **/ - @ApiModelProperty(value = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list.") + @ApiModelProperty(value = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default).") public List getIngress() { return ingress; } @@ -82,6 +115,32 @@ public void setPodSelector(V1LabelSelector podSelector) { this.podSelector = podSelector; } + public V1beta1NetworkPolicySpec policyTypes(List policyTypes) { + this.policyTypes = policyTypes; + return this; + } + + public V1beta1NetworkPolicySpec addPolicyTypesItem(String policyTypesItem) { + if (this.policyTypes == null) { + this.policyTypes = new ArrayList(); + } + this.policyTypes.add(policyTypesItem); + return this; + } + + /** + * List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8 + * @return policyTypes + **/ + @ApiModelProperty(value = "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8") + public List getPolicyTypes() { + return policyTypes; + } + + public void setPolicyTypes(List policyTypes) { + this.policyTypes = policyTypes; + } + @Override public boolean equals(java.lang.Object o) { @@ -92,13 +151,15 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1NetworkPolicySpec v1beta1NetworkPolicySpec = (V1beta1NetworkPolicySpec) o; - return Objects.equals(this.ingress, v1beta1NetworkPolicySpec.ingress) && - Objects.equals(this.podSelector, v1beta1NetworkPolicySpec.podSelector); + return Objects.equals(this.egress, v1beta1NetworkPolicySpec.egress) && + Objects.equals(this.ingress, v1beta1NetworkPolicySpec.ingress) && + Objects.equals(this.podSelector, v1beta1NetworkPolicySpec.podSelector) && + Objects.equals(this.policyTypes, v1beta1NetworkPolicySpec.policyTypes); } @Override public int hashCode() { - return Objects.hash(ingress, podSelector); + return Objects.hash(egress, ingress, podSelector, policyTypes); } @@ -107,8 +168,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1NetworkPolicySpec {\n"); + sb.append(" egress: ").append(toIndentedString(egress)).append("\n"); sb.append(" ingress: ").append(toIndentedString(ingress)).append("\n"); sb.append(" podSelector: ").append(toIndentedString(podSelector)).append("\n"); + sb.append(" policyTypes: ").append(toIndentedString(policyTypes)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceAttributes.java index 98e923bcf9..6c70b15805 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceAttributes.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceRule.java new file mode 100644 index 0000000000..7b4c0fc8ab --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1NonResourceRule.java @@ -0,0 +1,132 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * NonResourceRule holds information that describes a rule for the non-resource + */ +@ApiModel(description = "NonResourceRule holds information that describes a rule for the non-resource") + +public class V1beta1NonResourceRule { + @SerializedName("nonResourceURLs") + private List nonResourceURLs = null; + + @SerializedName("verbs") + private List verbs = new ArrayList(); + + public V1beta1NonResourceRule nonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + return this; + } + + public V1beta1NonResourceRule addNonResourceURLsItem(String nonResourceURLsItem) { + if (this.nonResourceURLs == null) { + this.nonResourceURLs = new ArrayList(); + } + this.nonResourceURLs.add(nonResourceURLsItem); + return this; + } + + /** + * NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all. + * @return nonResourceURLs + **/ + @ApiModelProperty(value = "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.") + public List getNonResourceURLs() { + return nonResourceURLs; + } + + public void setNonResourceURLs(List nonResourceURLs) { + this.nonResourceURLs = nonResourceURLs; + } + + public V1beta1NonResourceRule verbs(List verbs) { + this.verbs = verbs; + return this; + } + + public V1beta1NonResourceRule addVerbsItem(String verbsItem) { + this.verbs.add(verbsItem); + return this; + } + + /** + * Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all. + * @return verbs + **/ + @ApiModelProperty(required = true, value = "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.") + public List getVerbs() { + return verbs; + } + + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1NonResourceRule v1beta1NonResourceRule = (V1beta1NonResourceRule) o; + return Objects.equals(this.nonResourceURLs, v1beta1NonResourceRule.nonResourceURLs) && + Objects.equals(this.verbs, v1beta1NonResourceRule.verbs); + } + + @Override + public int hashCode() { + return Objects.hash(nonResourceURLs, verbs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1NonResourceRule {\n"); + + sb.append(" nonResourceURLs: ").append(toIndentedString(nonResourceURLs)).append("\n"); + sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudget.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudget.java index 35647f0679..d869296a6d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudget.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudget.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1PodDisruptionBudget apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1PodDisruptionBudget kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetList.java index 9e2f5cd90a..eea4f513e6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1PodDisruptionBudgetList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1PodDisruptionBudgetList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetSpec.java index 8e0e77ea18..d3cd39b820 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -30,12 +30,33 @@ @ApiModel(description = "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.") public class V1beta1PodDisruptionBudgetSpec { + @SerializedName("maxUnavailable") + private String maxUnavailable = null; + @SerializedName("minAvailable") private String minAvailable = null; @SerializedName("selector") private V1LabelSelector selector = null; + public V1beta1PodDisruptionBudgetSpec maxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + return this; + } + + /** + * An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\". + * @return maxUnavailable + **/ + @ApiModelProperty(value = "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".") + public String getMaxUnavailable() { + return maxUnavailable; + } + + public void setMaxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + } + public V1beta1PodDisruptionBudgetSpec minAvailable(String minAvailable) { this.minAvailable = minAvailable; return this; @@ -82,13 +103,14 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1PodDisruptionBudgetSpec v1beta1PodDisruptionBudgetSpec = (V1beta1PodDisruptionBudgetSpec) o; - return Objects.equals(this.minAvailable, v1beta1PodDisruptionBudgetSpec.minAvailable) && + return Objects.equals(this.maxUnavailable, v1beta1PodDisruptionBudgetSpec.maxUnavailable) && + Objects.equals(this.minAvailable, v1beta1PodDisruptionBudgetSpec.minAvailable) && Objects.equals(this.selector, v1beta1PodDisruptionBudgetSpec.selector); } @Override public int hashCode() { - return Objects.hash(minAvailable, selector); + return Objects.hash(maxUnavailable, minAvailable, selector); } @@ -97,6 +119,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1PodDisruptionBudgetSpec {\n"); + sb.append(" maxUnavailable: ").append(toIndentedString(maxUnavailable)).append("\n"); sb.append(" minAvailable: ").append(toIndentedString(minAvailable)).append("\n"); sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); sb.append("}"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetStatus.java index 8201e58e19..cb050ace6f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodDisruptionBudgetStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicy.java index 44057241d0..7ab82e6166 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicy.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicy.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -49,10 +49,10 @@ public V1beta1PodSecurityPolicy apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -67,10 +67,10 @@ public V1beta1PodSecurityPolicy kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -85,10 +85,10 @@ public V1beta1PodSecurityPolicy metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicyList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicyList.java index 21f50012e5..91521a6364 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicyList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicyList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1PodSecurityPolicyList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1PodSecurityPolicyList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1PodSecurityPolicyList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicySpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicySpec.java index 3ca8bad618..d70fa688df 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicySpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PodSecurityPolicySpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1AllowedHostPath; import io.kubernetes.client.models.V1beta1FSGroupStrategyOptions; import io.kubernetes.client.models.V1beta1HostPortRange; import io.kubernetes.client.models.V1beta1RunAsUserStrategyOptions; @@ -36,12 +37,21 @@ @ApiModel(description = "Pod Security Policy Spec defines the policy enforced.") public class V1beta1PodSecurityPolicySpec { + @SerializedName("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation = null; + @SerializedName("allowedCapabilities") private List allowedCapabilities = null; + @SerializedName("allowedHostPaths") + private List allowedHostPaths = null; + @SerializedName("defaultAddCapabilities") private List defaultAddCapabilities = null; + @SerializedName("defaultAllowPrivilegeEscalation") + private Boolean defaultAllowPrivilegeEscalation = null; + @SerializedName("fsGroup") private V1beta1FSGroupStrategyOptions fsGroup = null; @@ -78,6 +88,24 @@ public class V1beta1PodSecurityPolicySpec { @SerializedName("volumes") private List volumes = null; + public V1beta1PodSecurityPolicySpec allowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + return this; + } + + /** + * AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. + * @return allowPrivilegeEscalation + **/ + @ApiModelProperty(value = "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation.") + public Boolean isAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + public V1beta1PodSecurityPolicySpec allowedCapabilities(List allowedCapabilities) { this.allowedCapabilities = allowedCapabilities; return this; @@ -104,6 +132,32 @@ public void setAllowedCapabilities(List allowedCapabilities) { this.allowedCapabilities = allowedCapabilities; } + public V1beta1PodSecurityPolicySpec allowedHostPaths(List allowedHostPaths) { + this.allowedHostPaths = allowedHostPaths; + return this; + } + + public V1beta1PodSecurityPolicySpec addAllowedHostPathsItem(V1beta1AllowedHostPath allowedHostPathsItem) { + if (this.allowedHostPaths == null) { + this.allowedHostPaths = new ArrayList(); + } + this.allowedHostPaths.add(allowedHostPathsItem); + return this; + } + + /** + * is a white list of allowed host paths. Empty indicates that all host paths may be used. + * @return allowedHostPaths + **/ + @ApiModelProperty(value = "is a white list of allowed host paths. Empty indicates that all host paths may be used.") + public List getAllowedHostPaths() { + return allowedHostPaths; + } + + public void setAllowedHostPaths(List allowedHostPaths) { + this.allowedHostPaths = allowedHostPaths; + } + public V1beta1PodSecurityPolicySpec defaultAddCapabilities(List defaultAddCapabilities) { this.defaultAddCapabilities = defaultAddCapabilities; return this; @@ -130,6 +184,24 @@ public void setDefaultAddCapabilities(List defaultAddCapabilities) { this.defaultAddCapabilities = defaultAddCapabilities; } + public V1beta1PodSecurityPolicySpec defaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation) { + this.defaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; + return this; + } + + /** + * DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + * @return defaultAllowPrivilegeEscalation + **/ + @ApiModelProperty(value = "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.") + public Boolean isDefaultAllowPrivilegeEscalation() { + return defaultAllowPrivilegeEscalation; + } + + public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation) { + this.defaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; + } + public V1beta1PodSecurityPolicySpec fsGroup(V1beta1FSGroupStrategyOptions fsGroup) { this.fsGroup = fsGroup; return this; @@ -380,8 +452,11 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1PodSecurityPolicySpec v1beta1PodSecurityPolicySpec = (V1beta1PodSecurityPolicySpec) o; - return Objects.equals(this.allowedCapabilities, v1beta1PodSecurityPolicySpec.allowedCapabilities) && + return Objects.equals(this.allowPrivilegeEscalation, v1beta1PodSecurityPolicySpec.allowPrivilegeEscalation) && + Objects.equals(this.allowedCapabilities, v1beta1PodSecurityPolicySpec.allowedCapabilities) && + Objects.equals(this.allowedHostPaths, v1beta1PodSecurityPolicySpec.allowedHostPaths) && Objects.equals(this.defaultAddCapabilities, v1beta1PodSecurityPolicySpec.defaultAddCapabilities) && + Objects.equals(this.defaultAllowPrivilegeEscalation, v1beta1PodSecurityPolicySpec.defaultAllowPrivilegeEscalation) && Objects.equals(this.fsGroup, v1beta1PodSecurityPolicySpec.fsGroup) && Objects.equals(this.hostIPC, v1beta1PodSecurityPolicySpec.hostIPC) && Objects.equals(this.hostNetwork, v1beta1PodSecurityPolicySpec.hostNetwork) && @@ -398,7 +473,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(allowedCapabilities, defaultAddCapabilities, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsUser, seLinux, supplementalGroups, volumes); + return Objects.hash(allowPrivilegeEscalation, allowedCapabilities, allowedHostPaths, defaultAddCapabilities, defaultAllowPrivilegeEscalation, fsGroup, hostIPC, hostNetwork, hostPID, hostPorts, privileged, readOnlyRootFilesystem, requiredDropCapabilities, runAsUser, seLinux, supplementalGroups, volumes); } @@ -407,8 +482,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1PodSecurityPolicySpec {\n"); + sb.append(" allowPrivilegeEscalation: ").append(toIndentedString(allowPrivilegeEscalation)).append("\n"); sb.append(" allowedCapabilities: ").append(toIndentedString(allowedCapabilities)).append("\n"); + sb.append(" allowedHostPaths: ").append(toIndentedString(allowedHostPaths)).append("\n"); sb.append(" defaultAddCapabilities: ").append(toIndentedString(defaultAddCapabilities)).append("\n"); + sb.append(" defaultAllowPrivilegeEscalation: ").append(toIndentedString(defaultAllowPrivilegeEscalation)).append("\n"); sb.append(" fsGroup: ").append(toIndentedString(fsGroup)).append("\n"); sb.append(" hostIPC: ").append(toIndentedString(hostIPC)).append("\n"); sb.append(" hostNetwork: ").append(toIndentedString(hostNetwork)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PolicyRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PolicyRule.java index bd3eb4fb24..120306c4d9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PolicyRule.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1PolicyRule.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSet.java index a073b8c8f9..59d17fbc3f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSet.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * ReplicaSet represents the configuration of a ReplicaSet. + * DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet represents the configuration of a ReplicaSet. */ -@ApiModel(description = "ReplicaSet represents the configuration of a ReplicaSet.") +@ApiModel(description = "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet represents the configuration of a ReplicaSet.") public class V1beta1ReplicaSet { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public V1beta1ReplicaSet apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1ReplicaSet kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V1beta1ReplicaSet metadata(V1ObjectMeta metadata) { } /** - * If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V1beta1ReplicaSet spec(V1beta1ReplicaSetSpec spec) { } /** - * Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1ReplicaSetSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V1beta1ReplicaSet status(V1beta1ReplicaSetStatus status) { } /** - * Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1beta1ReplicaSetStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetCondition.java index 2486684da8..d1514fdf7f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetCondition.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetCondition.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetList.java index c4e3fe3ca3..71a87fef7a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1ReplicaSetList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V1beta1ReplicaSetList addItemsItem(V1beta1ReplicaSet itemsItem) { } /** - * List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller + * List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller * @return items **/ - @ApiModelProperty(required = true, value = "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller") + @ApiModelProperty(required = true, value = "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V1beta1ReplicaSetList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1ReplicaSetList metadata(V1ListMeta metadata) { } /** - * Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetSpec.java index 07bfda7fea..9b2562b269 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -67,10 +67,10 @@ public V1beta1ReplicaSetSpec replicas(Integer replicas) { } /** - * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller * @return replicas **/ - @ApiModelProperty(value = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller") + @ApiModelProperty(value = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller") public Integer getReplicas() { return replicas; } @@ -85,10 +85,10 @@ public V1beta1ReplicaSetSpec selector(V1LabelSelector selector) { } /** - * Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return selector **/ - @ApiModelProperty(value = "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public V1LabelSelector getSelector() { return selector; } @@ -103,10 +103,10 @@ public V1beta1ReplicaSetSpec template(V1PodTemplateSpec template) { } /** - * Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template + * Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template * @return template **/ - @ApiModelProperty(value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template") + @ApiModelProperty(value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template") public V1PodTemplateSpec getTemplate() { return template; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetStatus.java index 09bc21292b..b0c91fe622 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ReplicaSetStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -154,10 +154,10 @@ public V1beta1ReplicaSetStatus replicas(Integer replicas) { } /** - * Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller + * Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller * @return replicas **/ - @ApiModelProperty(required = true, value = "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller") + @ApiModelProperty(required = true, value = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller") public Integer getReplicas() { return replicas; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceAttributes.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceAttributes.java index 3323330054..9758deb196 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceAttributes.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceAttributes.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceRule.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceRule.java new file mode 100644 index 0000000000..2adac7285a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ResourceRule.java @@ -0,0 +1,194 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + */ +@ApiModel(description = "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + +public class V1beta1ResourceRule { + @SerializedName("apiGroups") + private List apiGroups = null; + + @SerializedName("resourceNames") + private List resourceNames = null; + + @SerializedName("resources") + private List resources = null; + + @SerializedName("verbs") + private List verbs = new ArrayList(); + + public V1beta1ResourceRule apiGroups(List apiGroups) { + this.apiGroups = apiGroups; + return this; + } + + public V1beta1ResourceRule addApiGroupsItem(String apiGroupsItem) { + if (this.apiGroups == null) { + this.apiGroups = new ArrayList(); + } + this.apiGroups.add(apiGroupsItem); + return this; + } + + /** + * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. + * @return apiGroups + **/ + @ApiModelProperty(value = "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.") + public List getApiGroups() { + return apiGroups; + } + + public void setApiGroups(List apiGroups) { + this.apiGroups = apiGroups; + } + + public V1beta1ResourceRule resourceNames(List resourceNames) { + this.resourceNames = resourceNames; + return this; + } + + public V1beta1ResourceRule addResourceNamesItem(String resourceNamesItem) { + if (this.resourceNames == null) { + this.resourceNames = new ArrayList(); + } + this.resourceNames.add(resourceNamesItem); + return this; + } + + /** + * ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. + * @return resourceNames + **/ + @ApiModelProperty(value = "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.") + public List getResourceNames() { + return resourceNames; + } + + public void setResourceNames(List resourceNames) { + this.resourceNames = resourceNames; + } + + public V1beta1ResourceRule resources(List resources) { + this.resources = resources; + return this; + } + + public V1beta1ResourceRule addResourcesItem(String resourcesItem) { + if (this.resources == null) { + this.resources = new ArrayList(); + } + this.resources.add(resourcesItem); + return this; + } + + /** + * Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. + * @return resources + **/ + @ApiModelProperty(value = "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.") + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public V1beta1ResourceRule verbs(List verbs) { + this.verbs = verbs; + return this; + } + + public V1beta1ResourceRule addVerbsItem(String verbsItem) { + this.verbs.add(verbsItem); + return this; + } + + /** + * Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. + * @return verbs + **/ + @ApiModelProperty(required = true, value = "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.") + public List getVerbs() { + return verbs; + } + + public void setVerbs(List verbs) { + this.verbs = verbs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ResourceRule v1beta1ResourceRule = (V1beta1ResourceRule) o; + return Objects.equals(this.apiGroups, v1beta1ResourceRule.apiGroups) && + Objects.equals(this.resourceNames, v1beta1ResourceRule.resourceNames) && + Objects.equals(this.resources, v1beta1ResourceRule.resources) && + Objects.equals(this.verbs, v1beta1ResourceRule.verbs); + } + + @Override + public int hashCode() { + return Objects.hash(apiGroups, resourceNames, resources, verbs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ResourceRule {\n"); + + sb.append(" apiGroups: ").append(toIndentedString(apiGroups)).append("\n"); + sb.append(" resourceNames: ").append(toIndentedString(resourceNames)).append("\n"); + sb.append(" resources: ").append(toIndentedString(resources)).append("\n"); + sb.append(" verbs: ").append(toIndentedString(verbs)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Role.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Role.java index 948eccd609..ec938e71a9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Role.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Role.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1Role apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -69,10 +69,10 @@ public V1beta1Role kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBinding.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBinding.java index 2e844b206e..e42e9cfd41 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBinding.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBinding.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -55,10 +55,10 @@ public V1beta1RoleBinding apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -73,10 +73,10 @@ public V1beta1RoleBinding kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBindingList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBindingList.java index 88bcc392cc..99d417917f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBindingList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleBindingList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1RoleBindingList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1RoleBindingList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleList.java index 45dad8a68b..9509864efb 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1RoleList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1RoleList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleRef.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleRef.java index d18505758a..68b84642fc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleRef.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RoleRef.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateDaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateDaemonSet.java index a447f26c9d..edc631e64a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateDaemonSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateDaemonSet.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateStatefulSetStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateStatefulSetStrategy.java new file mode 100644 index 0000000000..bda2644391 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RollingUpdateStatefulSetStrategy.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + */ +@ApiModel(description = "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.") + +public class V1beta1RollingUpdateStatefulSetStrategy { + @SerializedName("partition") + private Integer partition = null; + + public V1beta1RollingUpdateStatefulSetStrategy partition(Integer partition) { + this.partition = partition; + return this; + } + + /** + * Partition indicates the ordinal at which the StatefulSet should be partitioned. + * @return partition + **/ + @ApiModelProperty(value = "Partition indicates the ordinal at which the StatefulSet should be partitioned.") + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1RollingUpdateStatefulSetStrategy v1beta1RollingUpdateStatefulSetStrategy = (V1beta1RollingUpdateStatefulSetStrategy) o; + return Objects.equals(this.partition, v1beta1RollingUpdateStatefulSetStrategy.partition); + } + + @Override + public int hashCode() { + return Objects.hash(partition); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1RollingUpdateStatefulSetStrategy {\n"); + + sb.append(" partition: ").append(toIndentedString(partition)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RunAsUserStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RunAsUserStrategyOptions.java index c2c9fc2af8..95e51a0e8d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RunAsUserStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1RunAsUserStrategyOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SELinuxStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SELinuxStrategyOptions.java index 7ad5543439..4d2c2a37f3 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SELinuxStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SELinuxStrategyOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -60,10 +60,10 @@ public V1beta1SELinuxStrategyOptions seLinuxOptions(V1SELinuxOptions seLinuxOpti } /** - * seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + * seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md * @return seLinuxOptions **/ - @ApiModelProperty(value = "seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context") + @ApiModelProperty(value = "seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md") public V1SELinuxOptions getSeLinuxOptions() { return seLinuxOptions; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReview.java index 2627fa60e6..991b8e6e8a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1SelfSubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1SelfSubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReviewSpec.java index c4cff2a35e..db62e6bcf4 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectAccessReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReview.java new file mode 100644 index 0000000000..19b3558911 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReview.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta1SelfSubjectRulesReviewSpec; +import io.kubernetes.client.models.V1beta1SubjectRulesReviewStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. + */ +@ApiModel(description = "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.") + +public class V1beta1SelfSubjectRulesReview { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta1SelfSubjectRulesReviewSpec spec = null; + + @SerializedName("status") + private V1beta1SubjectRulesReviewStatus status = null; + + public V1beta1SelfSubjectRulesReview apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta1SelfSubjectRulesReview kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta1SelfSubjectRulesReview metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta1SelfSubjectRulesReview spec(V1beta1SelfSubjectRulesReviewSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec holds information about the request being evaluated. + * @return spec + **/ + @ApiModelProperty(required = true, value = "Spec holds information about the request being evaluated.") + public V1beta1SelfSubjectRulesReviewSpec getSpec() { + return spec; + } + + public void setSpec(V1beta1SelfSubjectRulesReviewSpec spec) { + this.spec = spec; + } + + public V1beta1SelfSubjectRulesReview status(V1beta1SubjectRulesReviewStatus status) { + this.status = status; + return this; + } + + /** + * Status is filled in by the server and indicates the set of actions a user can perform. + * @return status + **/ + @ApiModelProperty(value = "Status is filled in by the server and indicates the set of actions a user can perform.") + public V1beta1SubjectRulesReviewStatus getStatus() { + return status; + } + + public void setStatus(V1beta1SubjectRulesReviewStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1SelfSubjectRulesReview v1beta1SelfSubjectRulesReview = (V1beta1SelfSubjectRulesReview) o; + return Objects.equals(this.apiVersion, v1beta1SelfSubjectRulesReview.apiVersion) && + Objects.equals(this.kind, v1beta1SelfSubjectRulesReview.kind) && + Objects.equals(this.metadata, v1beta1SelfSubjectRulesReview.metadata) && + Objects.equals(this.spec, v1beta1SelfSubjectRulesReview.spec) && + Objects.equals(this.status, v1beta1SelfSubjectRulesReview.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1SelfSubjectRulesReview {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReviewSpec.java new file mode 100644 index 0000000000..5caf641402 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SelfSubjectRulesReviewSpec.java @@ -0,0 +1,93 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * V1beta1SelfSubjectRulesReviewSpec + */ + +public class V1beta1SelfSubjectRulesReviewSpec { + @SerializedName("namespace") + private String namespace = null; + + public V1beta1SelfSubjectRulesReviewSpec namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace to evaluate rules for. Required. + * @return namespace + **/ + @ApiModelProperty(value = "Namespace to evaluate rules for. Required.") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1SelfSubjectRulesReviewSpec v1beta1SelfSubjectRulesReviewSpec = (V1beta1SelfSubjectRulesReviewSpec) o; + return Objects.equals(this.namespace, v1beta1SelfSubjectRulesReviewSpec.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1SelfSubjectRulesReviewSpec {\n"); + + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ServiceReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ServiceReference.java new file mode 100644 index 0000000000..42f23eff40 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ServiceReference.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ServiceReference holds a reference to Service.legacy.k8s.io + */ +@ApiModel(description = "ServiceReference holds a reference to Service.legacy.k8s.io") + +public class V1beta1ServiceReference { + @SerializedName("name") + private String name = null; + + @SerializedName("namespace") + private String namespace = null; + + public V1beta1ServiceReference name(String name) { + this.name = name; + return this; + } + + /** + * Name is the name of the service + * @return name + **/ + @ApiModelProperty(value = "Name is the name of the service") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public V1beta1ServiceReference namespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Namespace is the namespace of the service + * @return namespace + **/ + @ApiModelProperty(value = "Namespace is the namespace of the service") + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1ServiceReference v1beta1ServiceReference = (V1beta1ServiceReference) o; + return Objects.equals(this.name, v1beta1ServiceReference.name) && + Objects.equals(this.namespace, v1beta1ServiceReference.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(name, namespace); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1ServiceReference {\n"); + + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSet.java index acc1d1fb96..a761e2aa64 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSet.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSet.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -27,9 +27,9 @@ import java.io.IOException; /** - * StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + * DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. */ -@ApiModel(description = "StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.") +@ApiModel(description = "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.") public class V1beta1StatefulSet { @SerializedName("apiVersion") @@ -53,10 +53,10 @@ public V1beta1StatefulSet apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1StatefulSet kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetList.java index 5b55d9803e..1a846e8008 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1StatefulSetList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1StatefulSetList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetSpec.java index 2e56d1d7a1..eb4fd2e065 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -22,6 +22,7 @@ import io.kubernetes.client.models.V1LabelSelector; import io.kubernetes.client.models.V1PersistentVolumeClaim; import io.kubernetes.client.models.V1PodTemplateSpec; +import io.kubernetes.client.models.V1beta1StatefulSetUpdateStrategy; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -34,9 +35,15 @@ @ApiModel(description = "A StatefulSetSpec is the specification of a StatefulSet.") public class V1beta1StatefulSetSpec { + @SerializedName("podManagementPolicy") + private String podManagementPolicy = null; + @SerializedName("replicas") private Integer replicas = null; + @SerializedName("revisionHistoryLimit") + private Integer revisionHistoryLimit = null; + @SerializedName("selector") private V1LabelSelector selector = null; @@ -46,19 +53,40 @@ public class V1beta1StatefulSetSpec { @SerializedName("template") private V1PodTemplateSpec template = null; + @SerializedName("updateStrategy") + private V1beta1StatefulSetUpdateStrategy updateStrategy = null; + @SerializedName("volumeClaimTemplates") private List volumeClaimTemplates = null; + public V1beta1StatefulSetSpec podManagementPolicy(String podManagementPolicy) { + this.podManagementPolicy = podManagementPolicy; + return this; + } + + /** + * podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + * @return podManagementPolicy + **/ + @ApiModelProperty(value = "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.") + public String getPodManagementPolicy() { + return podManagementPolicy; + } + + public void setPodManagementPolicy(String podManagementPolicy) { + this.podManagementPolicy = podManagementPolicy; + } + public V1beta1StatefulSetSpec replicas(Integer replicas) { this.replicas = replicas; return this; } /** - * Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + * replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. * @return replicas **/ - @ApiModelProperty(value = "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.") + @ApiModelProperty(value = "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.") public Integer getReplicas() { return replicas; } @@ -67,16 +95,34 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + public V1beta1StatefulSetSpec revisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + return this; + } + + /** + * revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + * @return revisionHistoryLimit + **/ + @ApiModelProperty(value = "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + public V1beta1StatefulSetSpec selector(V1LabelSelector selector) { this.selector = selector; return this; } /** - * Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors * @return selector **/ - @ApiModelProperty(value = "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + @ApiModelProperty(value = "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") public V1LabelSelector getSelector() { return selector; } @@ -91,10 +137,10 @@ public V1beta1StatefulSetSpec serviceName(String serviceName) { } /** - * ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + * serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. * @return serviceName **/ - @ApiModelProperty(required = true, value = "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.") + @ApiModelProperty(required = true, value = "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.") public String getServiceName() { return serviceName; } @@ -109,10 +155,10 @@ public V1beta1StatefulSetSpec template(V1PodTemplateSpec template) { } /** - * Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. + * template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. * @return template **/ - @ApiModelProperty(required = true, value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.") + @ApiModelProperty(required = true, value = "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.") public V1PodTemplateSpec getTemplate() { return template; } @@ -121,6 +167,24 @@ public void setTemplate(V1PodTemplateSpec template) { this.template = template; } + public V1beta1StatefulSetSpec updateStrategy(V1beta1StatefulSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + return this; + } + + /** + * updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. + * @return updateStrategy + **/ + @ApiModelProperty(value = "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.") + public V1beta1StatefulSetUpdateStrategy getUpdateStrategy() { + return updateStrategy; + } + + public void setUpdateStrategy(V1beta1StatefulSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + } + public V1beta1StatefulSetSpec volumeClaimTemplates(List volumeClaimTemplates) { this.volumeClaimTemplates = volumeClaimTemplates; return this; @@ -135,10 +199,10 @@ public V1beta1StatefulSetSpec addVolumeClaimTemplatesItem(V1PersistentVolumeClai } /** - * VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. + * volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. * @return volumeClaimTemplates **/ - @ApiModelProperty(value = "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.") + @ApiModelProperty(value = "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.") public List getVolumeClaimTemplates() { return volumeClaimTemplates; } @@ -157,16 +221,19 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1StatefulSetSpec v1beta1StatefulSetSpec = (V1beta1StatefulSetSpec) o; - return Objects.equals(this.replicas, v1beta1StatefulSetSpec.replicas) && + return Objects.equals(this.podManagementPolicy, v1beta1StatefulSetSpec.podManagementPolicy) && + Objects.equals(this.replicas, v1beta1StatefulSetSpec.replicas) && + Objects.equals(this.revisionHistoryLimit, v1beta1StatefulSetSpec.revisionHistoryLimit) && Objects.equals(this.selector, v1beta1StatefulSetSpec.selector) && Objects.equals(this.serviceName, v1beta1StatefulSetSpec.serviceName) && Objects.equals(this.template, v1beta1StatefulSetSpec.template) && + Objects.equals(this.updateStrategy, v1beta1StatefulSetSpec.updateStrategy) && Objects.equals(this.volumeClaimTemplates, v1beta1StatefulSetSpec.volumeClaimTemplates); } @Override public int hashCode() { - return Objects.hash(replicas, selector, serviceName, template, volumeClaimTemplates); + return Objects.hash(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates); } @@ -175,10 +242,13 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1StatefulSetSpec {\n"); + sb.append(" podManagementPolicy: ").append(toIndentedString(podManagementPolicy)).append("\n"); sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" revisionHistoryLimit: ").append(toIndentedString(revisionHistoryLimit)).append("\n"); sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); sb.append(" serviceName: ").append(toIndentedString(serviceName)).append("\n"); sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" updateStrategy: ").append(toIndentedString(updateStrategy)).append("\n"); sb.append(" volumeClaimTemplates: ").append(toIndentedString(volumeClaimTemplates)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetStatus.java index bd7f892944..cd8b602236 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -29,22 +29,94 @@ @ApiModel(description = "StatefulSetStatus represents the current state of a StatefulSet.") public class V1beta1StatefulSetStatus { + @SerializedName("collisionCount") + private Integer collisionCount = null; + + @SerializedName("currentReplicas") + private Integer currentReplicas = null; + + @SerializedName("currentRevision") + private String currentRevision = null; + @SerializedName("observedGeneration") private Long observedGeneration = null; + @SerializedName("readyReplicas") + private Integer readyReplicas = null; + @SerializedName("replicas") private Integer replicas = null; + @SerializedName("updateRevision") + private String updateRevision = null; + + @SerializedName("updatedReplicas") + private Integer updatedReplicas = null; + + public V1beta1StatefulSetStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + * @return collisionCount + **/ + @ApiModelProperty(value = "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + + public V1beta1StatefulSetStatus currentReplicas(Integer currentReplicas) { + this.currentReplicas = currentReplicas; + return this; + } + + /** + * currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + * @return currentReplicas + **/ + @ApiModelProperty(value = "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.") + public Integer getCurrentReplicas() { + return currentReplicas; + } + + public void setCurrentReplicas(Integer currentReplicas) { + this.currentReplicas = currentReplicas; + } + + public V1beta1StatefulSetStatus currentRevision(String currentRevision) { + this.currentRevision = currentRevision; + return this; + } + + /** + * currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + * @return currentRevision + **/ + @ApiModelProperty(value = "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).") + public String getCurrentRevision() { + return currentRevision; + } + + public void setCurrentRevision(String currentRevision) { + this.currentRevision = currentRevision; + } + public V1beta1StatefulSetStatus observedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; return this; } /** - * most recent generation observed by this StatefulSet. + * observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. * @return observedGeneration **/ - @ApiModelProperty(value = "most recent generation observed by this StatefulSet.") + @ApiModelProperty(value = "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.") public Long getObservedGeneration() { return observedGeneration; } @@ -53,16 +125,34 @@ public void setObservedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; } + public V1beta1StatefulSetStatus readyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + return this; + } + + /** + * readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + * @return readyReplicas + **/ + @ApiModelProperty(value = "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.") + public Integer getReadyReplicas() { + return readyReplicas; + } + + public void setReadyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + } + public V1beta1StatefulSetStatus replicas(Integer replicas) { this.replicas = replicas; return this; } /** - * Replicas is the number of actual replicas. + * replicas is the number of Pods created by the StatefulSet controller. * @return replicas **/ - @ApiModelProperty(required = true, value = "Replicas is the number of actual replicas.") + @ApiModelProperty(required = true, value = "replicas is the number of Pods created by the StatefulSet controller.") public Integer getReplicas() { return replicas; } @@ -71,6 +161,42 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + public V1beta1StatefulSetStatus updateRevision(String updateRevision) { + this.updateRevision = updateRevision; + return this; + } + + /** + * updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + * @return updateRevision + **/ + @ApiModelProperty(value = "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)") + public String getUpdateRevision() { + return updateRevision; + } + + public void setUpdateRevision(String updateRevision) { + this.updateRevision = updateRevision; + } + + public V1beta1StatefulSetStatus updatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + return this; + } + + /** + * updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. + * @return updatedReplicas + **/ + @ApiModelProperty(value = "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.") + public Integer getUpdatedReplicas() { + return updatedReplicas; + } + + public void setUpdatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + } + @Override public boolean equals(java.lang.Object o) { @@ -81,13 +207,19 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1StatefulSetStatus v1beta1StatefulSetStatus = (V1beta1StatefulSetStatus) o; - return Objects.equals(this.observedGeneration, v1beta1StatefulSetStatus.observedGeneration) && - Objects.equals(this.replicas, v1beta1StatefulSetStatus.replicas); + return Objects.equals(this.collisionCount, v1beta1StatefulSetStatus.collisionCount) && + Objects.equals(this.currentReplicas, v1beta1StatefulSetStatus.currentReplicas) && + Objects.equals(this.currentRevision, v1beta1StatefulSetStatus.currentRevision) && + Objects.equals(this.observedGeneration, v1beta1StatefulSetStatus.observedGeneration) && + Objects.equals(this.readyReplicas, v1beta1StatefulSetStatus.readyReplicas) && + Objects.equals(this.replicas, v1beta1StatefulSetStatus.replicas) && + Objects.equals(this.updateRevision, v1beta1StatefulSetStatus.updateRevision) && + Objects.equals(this.updatedReplicas, v1beta1StatefulSetStatus.updatedReplicas); } @Override public int hashCode() { - return Objects.hash(observedGeneration, replicas); + return Objects.hash(collisionCount, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas); } @@ -96,8 +228,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1StatefulSetStatus {\n"); + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); + sb.append(" currentReplicas: ").append(toIndentedString(currentReplicas)).append("\n"); + sb.append(" currentRevision: ").append(toIndentedString(currentRevision)).append("\n"); sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); + sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" updateRevision: ").append(toIndentedString(updateRevision)).append("\n"); + sb.append(" updatedReplicas: ").append(toIndentedString(updatedReplicas)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetUpdateStrategy.java new file mode 100644 index 0000000000..11c1861e59 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StatefulSetUpdateStrategy.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1RollingUpdateStatefulSetStrategy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + */ +@ApiModel(description = "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.") + +public class V1beta1StatefulSetUpdateStrategy { + @SerializedName("rollingUpdate") + private V1beta1RollingUpdateStatefulSetStrategy rollingUpdate = null; + + @SerializedName("type") + private String type = null; + + public V1beta1StatefulSetUpdateStrategy rollingUpdate(V1beta1RollingUpdateStatefulSetStrategy rollingUpdate) { + this.rollingUpdate = rollingUpdate; + return this; + } + + /** + * RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. + * @return rollingUpdate + **/ + @ApiModelProperty(value = "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.") + public V1beta1RollingUpdateStatefulSetStrategy getRollingUpdate() { + return rollingUpdate; + } + + public void setRollingUpdate(V1beta1RollingUpdateStatefulSetStrategy rollingUpdate) { + this.rollingUpdate = rollingUpdate; + } + + public V1beta1StatefulSetUpdateStrategy type(String type) { + this.type = type; + return this; + } + + /** + * Type indicates the type of the StatefulSetUpdateStrategy. + * @return type + **/ + @ApiModelProperty(value = "Type indicates the type of the StatefulSetUpdateStrategy.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1StatefulSetUpdateStrategy v1beta1StatefulSetUpdateStrategy = (V1beta1StatefulSetUpdateStrategy) o; + return Objects.equals(this.rollingUpdate, v1beta1StatefulSetUpdateStrategy.rollingUpdate) && + Objects.equals(this.type, v1beta1StatefulSetUpdateStrategy.type); + } + + @Override + public int hashCode() { + return Objects.hash(rollingUpdate, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1StatefulSetUpdateStrategy {\n"); + + sb.append(" rollingUpdate: ").append(toIndentedString(rollingUpdate)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClass.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClass.java index ea4fbc7735..b96d90d1cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClass.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClass.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -23,6 +23,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -33,6 +34,9 @@ @ApiModel(description = "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.") public class V1beta1StorageClass { + @SerializedName("allowVolumeExpansion") + private Boolean allowVolumeExpansion = null; + @SerializedName("apiVersion") private String apiVersion = null; @@ -42,22 +46,46 @@ public class V1beta1StorageClass { @SerializedName("metadata") private V1ObjectMeta metadata = null; + @SerializedName("mountOptions") + private List mountOptions = null; + @SerializedName("parameters") private Map parameters = null; @SerializedName("provisioner") private String provisioner = null; + @SerializedName("reclaimPolicy") + private String reclaimPolicy = null; + + public V1beta1StorageClass allowVolumeExpansion(Boolean allowVolumeExpansion) { + this.allowVolumeExpansion = allowVolumeExpansion; + return this; + } + + /** + * AllowVolumeExpansion shows whether the storage class allow volume expand + * @return allowVolumeExpansion + **/ + @ApiModelProperty(value = "AllowVolumeExpansion shows whether the storage class allow volume expand") + public Boolean isAllowVolumeExpansion() { + return allowVolumeExpansion; + } + + public void setAllowVolumeExpansion(Boolean allowVolumeExpansion) { + this.allowVolumeExpansion = allowVolumeExpansion; + } + public V1beta1StorageClass apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -72,10 +100,10 @@ public V1beta1StorageClass kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -90,10 +118,10 @@ public V1beta1StorageClass metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -102,6 +130,32 @@ public void setMetadata(V1ObjectMeta metadata) { this.metadata = metadata; } + public V1beta1StorageClass mountOptions(List mountOptions) { + this.mountOptions = mountOptions; + return this; + } + + public V1beta1StorageClass addMountOptionsItem(String mountOptionsItem) { + if (this.mountOptions == null) { + this.mountOptions = new ArrayList(); + } + this.mountOptions.add(mountOptionsItem); + return this; + } + + /** + * Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid. + * @return mountOptions + **/ + @ApiModelProperty(value = "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.") + public List getMountOptions() { + return mountOptions; + } + + public void setMountOptions(List mountOptions) { + this.mountOptions = mountOptions; + } + public V1beta1StorageClass parameters(Map parameters) { this.parameters = parameters; return this; @@ -146,6 +200,24 @@ public void setProvisioner(String provisioner) { this.provisioner = provisioner; } + public V1beta1StorageClass reclaimPolicy(String reclaimPolicy) { + this.reclaimPolicy = reclaimPolicy; + return this; + } + + /** + * Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. + * @return reclaimPolicy + **/ + @ApiModelProperty(value = "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.") + public String getReclaimPolicy() { + return reclaimPolicy; + } + + public void setReclaimPolicy(String reclaimPolicy) { + this.reclaimPolicy = reclaimPolicy; + } + @Override public boolean equals(java.lang.Object o) { @@ -156,16 +228,19 @@ public boolean equals(java.lang.Object o) { return false; } V1beta1StorageClass v1beta1StorageClass = (V1beta1StorageClass) o; - return Objects.equals(this.apiVersion, v1beta1StorageClass.apiVersion) && + return Objects.equals(this.allowVolumeExpansion, v1beta1StorageClass.allowVolumeExpansion) && + Objects.equals(this.apiVersion, v1beta1StorageClass.apiVersion) && Objects.equals(this.kind, v1beta1StorageClass.kind) && Objects.equals(this.metadata, v1beta1StorageClass.metadata) && + Objects.equals(this.mountOptions, v1beta1StorageClass.mountOptions) && Objects.equals(this.parameters, v1beta1StorageClass.parameters) && - Objects.equals(this.provisioner, v1beta1StorageClass.provisioner); + Objects.equals(this.provisioner, v1beta1StorageClass.provisioner) && + Objects.equals(this.reclaimPolicy, v1beta1StorageClass.reclaimPolicy); } @Override public int hashCode() { - return Objects.hash(apiVersion, kind, metadata, parameters, provisioner); + return Objects.hash(allowVolumeExpansion, apiVersion, kind, metadata, mountOptions, parameters, provisioner, reclaimPolicy); } @@ -174,11 +249,14 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class V1beta1StorageClass {\n"); + sb.append(" allowVolumeExpansion: ").append(toIndentedString(allowVolumeExpansion)).append("\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" mountOptions: ").append(toIndentedString(mountOptions)).append("\n"); sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); sb.append(" provisioner: ").append(toIndentedString(provisioner)).append("\n"); + sb.append(" reclaimPolicy: ").append(toIndentedString(reclaimPolicy)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClassList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClassList.java index de18cfecc3..886f32e139 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClassList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1StorageClassList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V1beta1StorageClassList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -92,10 +92,10 @@ public V1beta1StorageClassList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V1beta1StorageClassList metadata(V1ListMeta metadata) { } /** - * Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Subject.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Subject.java index a968f75e44..542a8f5e65 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Subject.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1Subject.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReview.java index a123ea2285..90fc4574cc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1SubjectAccessReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1SubjectAccessReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewSpec.java index e6aaa7e461..b6e222f30e 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -47,6 +47,9 @@ public class V1beta1SubjectAccessReviewSpec { @SerializedName("resourceAttributes") private V1beta1ResourceAttributes resourceAttributes = null; + @SerializedName("uid") + private String uid = null; + @SerializedName("user") private String user = null; @@ -138,6 +141,24 @@ public void setResourceAttributes(V1beta1ResourceAttributes resourceAttributes) this.resourceAttributes = resourceAttributes; } + public V1beta1SubjectAccessReviewSpec uid(String uid) { + this.uid = uid; + return this; + } + + /** + * UID information about the requesting user. + * @return uid + **/ + @ApiModelProperty(value = "UID information about the requesting user.") + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + public V1beta1SubjectAccessReviewSpec user(String user) { this.user = user; return this; @@ -170,12 +191,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.group, v1beta1SubjectAccessReviewSpec.group) && Objects.equals(this.nonResourceAttributes, v1beta1SubjectAccessReviewSpec.nonResourceAttributes) && Objects.equals(this.resourceAttributes, v1beta1SubjectAccessReviewSpec.resourceAttributes) && + Objects.equals(this.uid, v1beta1SubjectAccessReviewSpec.uid) && Objects.equals(this.user, v1beta1SubjectAccessReviewSpec.user); } @Override public int hashCode() { - return Objects.hash(extra, group, nonResourceAttributes, resourceAttributes, user); + return Objects.hash(extra, group, nonResourceAttributes, resourceAttributes, uid, user); } @@ -188,6 +210,7 @@ public String toString() { sb.append(" group: ").append(toIndentedString(group)).append("\n"); sb.append(" nonResourceAttributes: ").append(toIndentedString(nonResourceAttributes)).append("\n"); sb.append(" resourceAttributes: ").append(toIndentedString(resourceAttributes)).append("\n"); + sb.append(" uid: ").append(toIndentedString(uid)).append("\n"); sb.append(" user: ").append(toIndentedString(user)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewStatus.java index 6c09b68963..8346c0fdfa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectAccessReviewStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectRulesReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectRulesReviewStatus.java new file mode 100644 index 0000000000..335f539eca --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SubjectRulesReviewStatus.java @@ -0,0 +1,177 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta1NonResourceRule; +import io.kubernetes.client.models.V1beta1ResourceRule; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. + */ +@ApiModel(description = "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.") + +public class V1beta1SubjectRulesReviewStatus { + @SerializedName("evaluationError") + private String evaluationError = null; + + @SerializedName("incomplete") + private Boolean incomplete = null; + + @SerializedName("nonResourceRules") + private List nonResourceRules = new ArrayList(); + + @SerializedName("resourceRules") + private List resourceRules = new ArrayList(); + + public V1beta1SubjectRulesReviewStatus evaluationError(String evaluationError) { + this.evaluationError = evaluationError; + return this; + } + + /** + * EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete. + * @return evaluationError + **/ + @ApiModelProperty(value = "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.") + public String getEvaluationError() { + return evaluationError; + } + + public void setEvaluationError(String evaluationError) { + this.evaluationError = evaluationError; + } + + public V1beta1SubjectRulesReviewStatus incomplete(Boolean incomplete) { + this.incomplete = incomplete; + return this; + } + + /** + * Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. + * @return incomplete + **/ + @ApiModelProperty(required = true, value = "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.") + public Boolean isIncomplete() { + return incomplete; + } + + public void setIncomplete(Boolean incomplete) { + this.incomplete = incomplete; + } + + public V1beta1SubjectRulesReviewStatus nonResourceRules(List nonResourceRules) { + this.nonResourceRules = nonResourceRules; + return this; + } + + public V1beta1SubjectRulesReviewStatus addNonResourceRulesItem(V1beta1NonResourceRule nonResourceRulesItem) { + this.nonResourceRules.add(nonResourceRulesItem); + return this; + } + + /** + * NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + * @return nonResourceRules + **/ + @ApiModelProperty(required = true, value = "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + public List getNonResourceRules() { + return nonResourceRules; + } + + public void setNonResourceRules(List nonResourceRules) { + this.nonResourceRules = nonResourceRules; + } + + public V1beta1SubjectRulesReviewStatus resourceRules(List resourceRules) { + this.resourceRules = resourceRules; + return this; + } + + public V1beta1SubjectRulesReviewStatus addResourceRulesItem(V1beta1ResourceRule resourceRulesItem) { + this.resourceRules.add(resourceRulesItem); + return this; + } + + /** + * ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. + * @return resourceRules + **/ + @ApiModelProperty(required = true, value = "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.") + public List getResourceRules() { + return resourceRules; + } + + public void setResourceRules(List resourceRules) { + this.resourceRules = resourceRules; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta1SubjectRulesReviewStatus v1beta1SubjectRulesReviewStatus = (V1beta1SubjectRulesReviewStatus) o; + return Objects.equals(this.evaluationError, v1beta1SubjectRulesReviewStatus.evaluationError) && + Objects.equals(this.incomplete, v1beta1SubjectRulesReviewStatus.incomplete) && + Objects.equals(this.nonResourceRules, v1beta1SubjectRulesReviewStatus.nonResourceRules) && + Objects.equals(this.resourceRules, v1beta1SubjectRulesReviewStatus.resourceRules); + } + + @Override + public int hashCode() { + return Objects.hash(evaluationError, incomplete, nonResourceRules, resourceRules); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta1SubjectRulesReviewStatus {\n"); + + sb.append(" evaluationError: ").append(toIndentedString(evaluationError)).append("\n"); + sb.append(" incomplete: ").append(toIndentedString(incomplete)).append("\n"); + sb.append(" nonResourceRules: ").append(toIndentedString(nonResourceRules)).append("\n"); + sb.append(" resourceRules: ").append(toIndentedString(resourceRules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SupplementalGroupsStrategyOptions.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SupplementalGroupsStrategyOptions.java index 7a281e37c1..502892671d 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SupplementalGroupsStrategyOptions.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1SupplementalGroupsStrategyOptions.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReview.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReview.java index 45114fbafc..a0000e9afa 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReview.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReview.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V1beta1TokenReview apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V1beta1TokenReview kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewSpec.java index 90c4f8dd5b..2741511569 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewStatus.java index 554791e855..d05eac0899 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1TokenReviewStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1UserInfo.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1UserInfo.java index cc58c9836a..f9ed57a47f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1UserInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1UserInfo.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevision.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevision.java new file mode 100644 index 0000000000..565ce2b117 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevision.java @@ -0,0 +1,188 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.RuntimeRawExtension; +import io.kubernetes.client.models.V1ObjectMeta; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + */ +@ApiModel(description = "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.") + +public class V1beta2ControllerRevision { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("data") + private RuntimeRawExtension data = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("revision") + private Long revision = null; + + public V1beta2ControllerRevision apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2ControllerRevision data(RuntimeRawExtension data) { + this.data = data; + return this; + } + + /** + * Data is the serialized representation of the state. + * @return data + **/ + @ApiModelProperty(value = "Data is the serialized representation of the state.") + public RuntimeRawExtension getData() { + return data; + } + + public void setData(RuntimeRawExtension data) { + this.data = data; + } + + public V1beta2ControllerRevision kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2ControllerRevision metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2ControllerRevision revision(Long revision) { + this.revision = revision; + return this; + } + + /** + * Revision indicates the revision of the state represented by Data. + * @return revision + **/ + @ApiModelProperty(required = true, value = "Revision indicates the revision of the state represented by Data.") + public Long getRevision() { + return revision; + } + + public void setRevision(Long revision) { + this.revision = revision; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ControllerRevision v1beta2ControllerRevision = (V1beta2ControllerRevision) o; + return Objects.equals(this.apiVersion, v1beta2ControllerRevision.apiVersion) && + Objects.equals(this.data, v1beta2ControllerRevision.data) && + Objects.equals(this.kind, v1beta2ControllerRevision.kind) && + Objects.equals(this.metadata, v1beta2ControllerRevision.metadata) && + Objects.equals(this.revision, v1beta2ControllerRevision.revision); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, data, kind, metadata, revision); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ControllerRevision {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" revision: ").append(toIndentedString(revision)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevisionList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevisionList.java new file mode 100644 index 0000000000..f0f529556c --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ControllerRevisionList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta2ControllerRevision; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ControllerRevisionList is a resource containing a list of ControllerRevision objects. + */ +@ApiModel(description = "ControllerRevisionList is a resource containing a list of ControllerRevision objects.") + +public class V1beta2ControllerRevisionList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta2ControllerRevisionList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2ControllerRevisionList items(List items) { + this.items = items; + return this; + } + + public V1beta2ControllerRevisionList addItemsItem(V1beta2ControllerRevision itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Items is the list of ControllerRevisions + * @return items + **/ + @ApiModelProperty(required = true, value = "Items is the list of ControllerRevisions") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta2ControllerRevisionList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2ControllerRevisionList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ControllerRevisionList v1beta2ControllerRevisionList = (V1beta2ControllerRevisionList) o; + return Objects.equals(this.apiVersion, v1beta2ControllerRevisionList.apiVersion) && + Objects.equals(this.items, v1beta2ControllerRevisionList.items) && + Objects.equals(this.kind, v1beta2ControllerRevisionList.kind) && + Objects.equals(this.metadata, v1beta2ControllerRevisionList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ControllerRevisionList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSet.java new file mode 100644 index 0000000000..51fdd200f9 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSet.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta2DaemonSetSpec; +import io.kubernetes.client.models.V1beta2DaemonSetStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DaemonSet represents the configuration of a daemon set. + */ +@ApiModel(description = "DaemonSet represents the configuration of a daemon set.") + +public class V1beta2DaemonSet { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta2DaemonSetSpec spec = null; + + @SerializedName("status") + private V1beta2DaemonSetStatus status = null; + + public V1beta2DaemonSet apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2DaemonSet kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2DaemonSet metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2DaemonSet spec(V1beta2DaemonSetSpec spec) { + this.spec = spec; + return this; + } + + /** + * The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return spec + **/ + @ApiModelProperty(value = "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta2DaemonSetSpec getSpec() { + return spec; + } + + public void setSpec(V1beta2DaemonSetSpec spec) { + this.spec = spec; + } + + public V1beta2DaemonSet status(V1beta2DaemonSetStatus status) { + this.status = status; + return this; + } + + /** + * The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return status + **/ + @ApiModelProperty(value = "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta2DaemonSetStatus getStatus() { + return status; + } + + public void setStatus(V1beta2DaemonSetStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DaemonSet v1beta2DaemonSet = (V1beta2DaemonSet) o; + return Objects.equals(this.apiVersion, v1beta2DaemonSet.apiVersion) && + Objects.equals(this.kind, v1beta2DaemonSet.kind) && + Objects.equals(this.metadata, v1beta2DaemonSet.metadata) && + Objects.equals(this.spec, v1beta2DaemonSet.spec) && + Objects.equals(this.status, v1beta2DaemonSet.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DaemonSet {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetList.java new file mode 100644 index 0000000000..ebcfbcaa4b --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta2DaemonSet; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * DaemonSetList is a collection of daemon sets. + */ +@ApiModel(description = "DaemonSetList is a collection of daemon sets.") + +public class V1beta2DaemonSetList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta2DaemonSetList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2DaemonSetList items(List items) { + this.items = items; + return this; + } + + public V1beta2DaemonSetList addItemsItem(V1beta2DaemonSet itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * A list of daemon sets. + * @return items + **/ + @ApiModelProperty(required = true, value = "A list of daemon sets.") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta2DaemonSetList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2DaemonSetList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DaemonSetList v1beta2DaemonSetList = (V1beta2DaemonSetList) o; + return Objects.equals(this.apiVersion, v1beta2DaemonSetList.apiVersion) && + Objects.equals(this.items, v1beta2DaemonSetList.items) && + Objects.equals(this.kind, v1beta2DaemonSetList.kind) && + Objects.equals(this.metadata, v1beta2DaemonSetList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DaemonSetList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetSpec.java new file mode 100644 index 0000000000..89b2eb6ea6 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetSpec.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1PodTemplateSpec; +import io.kubernetes.client.models.V1beta2DaemonSetUpdateStrategy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DaemonSetSpec is the specification of a daemon set. + */ +@ApiModel(description = "DaemonSetSpec is the specification of a daemon set.") + +public class V1beta2DaemonSetSpec { + @SerializedName("minReadySeconds") + private Integer minReadySeconds = null; + + @SerializedName("revisionHistoryLimit") + private Integer revisionHistoryLimit = null; + + @SerializedName("selector") + private V1LabelSelector selector = null; + + @SerializedName("template") + private V1PodTemplateSpec template = null; + + @SerializedName("updateStrategy") + private V1beta2DaemonSetUpdateStrategy updateStrategy = null; + + public V1beta2DaemonSetSpec minReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + return this; + } + + /** + * The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). + * @return minReadySeconds + **/ + @ApiModelProperty(value = "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).") + public Integer getMinReadySeconds() { + return minReadySeconds; + } + + public void setMinReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + } + + public V1beta2DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + return this; + } + + /** + * The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + * @return revisionHistoryLimit + **/ + @ApiModelProperty(value = "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + + public V1beta2DaemonSetSpec selector(V1LabelSelector selector) { + this.selector = selector; + return this; + } + + /** + * A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + * @return selector + **/ + @ApiModelProperty(value = "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") + public V1LabelSelector getSelector() { + return selector; + } + + public void setSelector(V1LabelSelector selector) { + this.selector = selector; + } + + public V1beta2DaemonSetSpec template(V1PodTemplateSpec template) { + this.template = template; + return this; + } + + /** + * An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + * @return template + **/ + @ApiModelProperty(required = true, value = "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template") + public V1PodTemplateSpec getTemplate() { + return template; + } + + public void setTemplate(V1PodTemplateSpec template) { + this.template = template; + } + + public V1beta2DaemonSetSpec updateStrategy(V1beta2DaemonSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + return this; + } + + /** + * An update strategy to replace existing DaemonSet pods with new pods. + * @return updateStrategy + **/ + @ApiModelProperty(value = "An update strategy to replace existing DaemonSet pods with new pods.") + public V1beta2DaemonSetUpdateStrategy getUpdateStrategy() { + return updateStrategy; + } + + public void setUpdateStrategy(V1beta2DaemonSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DaemonSetSpec v1beta2DaemonSetSpec = (V1beta2DaemonSetSpec) o; + return Objects.equals(this.minReadySeconds, v1beta2DaemonSetSpec.minReadySeconds) && + Objects.equals(this.revisionHistoryLimit, v1beta2DaemonSetSpec.revisionHistoryLimit) && + Objects.equals(this.selector, v1beta2DaemonSetSpec.selector) && + Objects.equals(this.template, v1beta2DaemonSetSpec.template) && + Objects.equals(this.updateStrategy, v1beta2DaemonSetSpec.updateStrategy); + } + + @Override + public int hashCode() { + return Objects.hash(minReadySeconds, revisionHistoryLimit, selector, template, updateStrategy); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DaemonSetSpec {\n"); + + sb.append(" minReadySeconds: ").append(toIndentedString(minReadySeconds)).append("\n"); + sb.append(" revisionHistoryLimit: ").append(toIndentedString(revisionHistoryLimit)).append("\n"); + sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" updateStrategy: ").append(toIndentedString(updateStrategy)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetStatus.java new file mode 100644 index 0000000000..f08682cd32 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetStatus.java @@ -0,0 +1,278 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DaemonSetStatus represents the current status of a daemon set. + */ +@ApiModel(description = "DaemonSetStatus represents the current status of a daemon set.") + +public class V1beta2DaemonSetStatus { + @SerializedName("collisionCount") + private Integer collisionCount = null; + + @SerializedName("currentNumberScheduled") + private Integer currentNumberScheduled = null; + + @SerializedName("desiredNumberScheduled") + private Integer desiredNumberScheduled = null; + + @SerializedName("numberAvailable") + private Integer numberAvailable = null; + + @SerializedName("numberMisscheduled") + private Integer numberMisscheduled = null; + + @SerializedName("numberReady") + private Integer numberReady = null; + + @SerializedName("numberUnavailable") + private Integer numberUnavailable = null; + + @SerializedName("observedGeneration") + private Long observedGeneration = null; + + @SerializedName("updatedNumberScheduled") + private Integer updatedNumberScheduled = null; + + public V1beta2DaemonSetStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + * @return collisionCount + **/ + @ApiModelProperty(value = "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + + public V1beta2DaemonSetStatus currentNumberScheduled(Integer currentNumberScheduled) { + this.currentNumberScheduled = currentNumberScheduled; + return this; + } + + /** + * The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + * @return currentNumberScheduled + **/ + @ApiModelProperty(required = true, value = "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") + public Integer getCurrentNumberScheduled() { + return currentNumberScheduled; + } + + public void setCurrentNumberScheduled(Integer currentNumberScheduled) { + this.currentNumberScheduled = currentNumberScheduled; + } + + public V1beta2DaemonSetStatus desiredNumberScheduled(Integer desiredNumberScheduled) { + this.desiredNumberScheduled = desiredNumberScheduled; + return this; + } + + /** + * The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + * @return desiredNumberScheduled + **/ + @ApiModelProperty(required = true, value = "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") + public Integer getDesiredNumberScheduled() { + return desiredNumberScheduled; + } + + public void setDesiredNumberScheduled(Integer desiredNumberScheduled) { + this.desiredNumberScheduled = desiredNumberScheduled; + } + + public V1beta2DaemonSetStatus numberAvailable(Integer numberAvailable) { + this.numberAvailable = numberAvailable; + return this; + } + + /** + * The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) + * @return numberAvailable + **/ + @ApiModelProperty(value = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)") + public Integer getNumberAvailable() { + return numberAvailable; + } + + public void setNumberAvailable(Integer numberAvailable) { + this.numberAvailable = numberAvailable; + } + + public V1beta2DaemonSetStatus numberMisscheduled(Integer numberMisscheduled) { + this.numberMisscheduled = numberMisscheduled; + return this; + } + + /** + * The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + * @return numberMisscheduled + **/ + @ApiModelProperty(required = true, value = "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/") + public Integer getNumberMisscheduled() { + return numberMisscheduled; + } + + public void setNumberMisscheduled(Integer numberMisscheduled) { + this.numberMisscheduled = numberMisscheduled; + } + + public V1beta2DaemonSetStatus numberReady(Integer numberReady) { + this.numberReady = numberReady; + return this; + } + + /** + * The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. + * @return numberReady + **/ + @ApiModelProperty(required = true, value = "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.") + public Integer getNumberReady() { + return numberReady; + } + + public void setNumberReady(Integer numberReady) { + this.numberReady = numberReady; + } + + public V1beta2DaemonSetStatus numberUnavailable(Integer numberUnavailable) { + this.numberUnavailable = numberUnavailable; + return this; + } + + /** + * The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) + * @return numberUnavailable + **/ + @ApiModelProperty(value = "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)") + public Integer getNumberUnavailable() { + return numberUnavailable; + } + + public void setNumberUnavailable(Integer numberUnavailable) { + this.numberUnavailable = numberUnavailable; + } + + public V1beta2DaemonSetStatus observedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + return this; + } + + /** + * The most recent generation observed by the daemon set controller. + * @return observedGeneration + **/ + @ApiModelProperty(value = "The most recent generation observed by the daemon set controller.") + public Long getObservedGeneration() { + return observedGeneration; + } + + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + public V1beta2DaemonSetStatus updatedNumberScheduled(Integer updatedNumberScheduled) { + this.updatedNumberScheduled = updatedNumberScheduled; + return this; + } + + /** + * The total number of nodes that are running updated daemon pod + * @return updatedNumberScheduled + **/ + @ApiModelProperty(value = "The total number of nodes that are running updated daemon pod") + public Integer getUpdatedNumberScheduled() { + return updatedNumberScheduled; + } + + public void setUpdatedNumberScheduled(Integer updatedNumberScheduled) { + this.updatedNumberScheduled = updatedNumberScheduled; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DaemonSetStatus v1beta2DaemonSetStatus = (V1beta2DaemonSetStatus) o; + return Objects.equals(this.collisionCount, v1beta2DaemonSetStatus.collisionCount) && + Objects.equals(this.currentNumberScheduled, v1beta2DaemonSetStatus.currentNumberScheduled) && + Objects.equals(this.desiredNumberScheduled, v1beta2DaemonSetStatus.desiredNumberScheduled) && + Objects.equals(this.numberAvailable, v1beta2DaemonSetStatus.numberAvailable) && + Objects.equals(this.numberMisscheduled, v1beta2DaemonSetStatus.numberMisscheduled) && + Objects.equals(this.numberReady, v1beta2DaemonSetStatus.numberReady) && + Objects.equals(this.numberUnavailable, v1beta2DaemonSetStatus.numberUnavailable) && + Objects.equals(this.observedGeneration, v1beta2DaemonSetStatus.observedGeneration) && + Objects.equals(this.updatedNumberScheduled, v1beta2DaemonSetStatus.updatedNumberScheduled); + } + + @Override + public int hashCode() { + return Objects.hash(collisionCount, currentNumberScheduled, desiredNumberScheduled, numberAvailable, numberMisscheduled, numberReady, numberUnavailable, observedGeneration, updatedNumberScheduled); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DaemonSetStatus {\n"); + + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); + sb.append(" currentNumberScheduled: ").append(toIndentedString(currentNumberScheduled)).append("\n"); + sb.append(" desiredNumberScheduled: ").append(toIndentedString(desiredNumberScheduled)).append("\n"); + sb.append(" numberAvailable: ").append(toIndentedString(numberAvailable)).append("\n"); + sb.append(" numberMisscheduled: ").append(toIndentedString(numberMisscheduled)).append("\n"); + sb.append(" numberReady: ").append(toIndentedString(numberReady)).append("\n"); + sb.append(" numberUnavailable: ").append(toIndentedString(numberUnavailable)).append("\n"); + sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); + sb.append(" updatedNumberScheduled: ").append(toIndentedString(updatedNumberScheduled)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetUpdateStrategy.java new file mode 100644 index 0000000000..25d843003d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DaemonSetUpdateStrategy.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta2RollingUpdateDaemonSet; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. + */ +@ApiModel(description = "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.") + +public class V1beta2DaemonSetUpdateStrategy { + @SerializedName("rollingUpdate") + private V1beta2RollingUpdateDaemonSet rollingUpdate = null; + + @SerializedName("type") + private String type = null; + + public V1beta2DaemonSetUpdateStrategy rollingUpdate(V1beta2RollingUpdateDaemonSet rollingUpdate) { + this.rollingUpdate = rollingUpdate; + return this; + } + + /** + * Rolling update config params. Present only if type = \"RollingUpdate\". + * @return rollingUpdate + **/ + @ApiModelProperty(value = "Rolling update config params. Present only if type = \"RollingUpdate\".") + public V1beta2RollingUpdateDaemonSet getRollingUpdate() { + return rollingUpdate; + } + + public void setRollingUpdate(V1beta2RollingUpdateDaemonSet rollingUpdate) { + this.rollingUpdate = rollingUpdate; + } + + public V1beta2DaemonSetUpdateStrategy type(String type) { + this.type = type; + return this; + } + + /** + * Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. + * @return type + **/ + @ApiModelProperty(value = "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DaemonSetUpdateStrategy v1beta2DaemonSetUpdateStrategy = (V1beta2DaemonSetUpdateStrategy) o; + return Objects.equals(this.rollingUpdate, v1beta2DaemonSetUpdateStrategy.rollingUpdate) && + Objects.equals(this.type, v1beta2DaemonSetUpdateStrategy.type); + } + + @Override + public int hashCode() { + return Objects.hash(rollingUpdate, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DaemonSetUpdateStrategy {\n"); + + sb.append(" rollingUpdate: ").append(toIndentedString(rollingUpdate)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Deployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Deployment.java new file mode 100644 index 0000000000..73510f5750 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Deployment.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta2DeploymentSpec; +import io.kubernetes.client.models.V1beta2DeploymentStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Deployment enables declarative updates for Pods and ReplicaSets. + */ +@ApiModel(description = "Deployment enables declarative updates for Pods and ReplicaSets.") + +public class V1beta2Deployment { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta2DeploymentSpec spec = null; + + @SerializedName("status") + private V1beta2DeploymentStatus status = null; + + public V1beta2Deployment apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2Deployment kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2Deployment metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2Deployment spec(V1beta2DeploymentSpec spec) { + this.spec = spec; + return this; + } + + /** + * Specification of the desired behavior of the Deployment. + * @return spec + **/ + @ApiModelProperty(value = "Specification of the desired behavior of the Deployment.") + public V1beta2DeploymentSpec getSpec() { + return spec; + } + + public void setSpec(V1beta2DeploymentSpec spec) { + this.spec = spec; + } + + public V1beta2Deployment status(V1beta2DeploymentStatus status) { + this.status = status; + return this; + } + + /** + * Most recently observed status of the Deployment. + * @return status + **/ + @ApiModelProperty(value = "Most recently observed status of the Deployment.") + public V1beta2DeploymentStatus getStatus() { + return status; + } + + public void setStatus(V1beta2DeploymentStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2Deployment v1beta2Deployment = (V1beta2Deployment) o; + return Objects.equals(this.apiVersion, v1beta2Deployment.apiVersion) && + Objects.equals(this.kind, v1beta2Deployment.kind) && + Objects.equals(this.metadata, v1beta2Deployment.metadata) && + Objects.equals(this.spec, v1beta2Deployment.spec) && + Objects.equals(this.status, v1beta2Deployment.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2Deployment {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentCondition.java new file mode 100644 index 0000000000..cb75628255 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentCondition.java @@ -0,0 +1,210 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * DeploymentCondition describes the state of a deployment at a certain point. + */ +@ApiModel(description = "DeploymentCondition describes the state of a deployment at a certain point.") + +public class V1beta2DeploymentCondition { + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("lastUpdateTime") + private DateTime lastUpdateTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V1beta2DeploymentCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * Last time the condition transitioned from one status to another. + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "Last time the condition transitioned from one status to another.") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V1beta2DeploymentCondition lastUpdateTime(DateTime lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + return this; + } + + /** + * The last time this condition was updated. + * @return lastUpdateTime + **/ + @ApiModelProperty(value = "The last time this condition was updated.") + public DateTime getLastUpdateTime() { + return lastUpdateTime; + } + + public void setLastUpdateTime(DateTime lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + } + + public V1beta2DeploymentCondition message(String message) { + this.message = message; + return this; + } + + /** + * A human readable message indicating details about the transition. + * @return message + **/ + @ApiModelProperty(value = "A human readable message indicating details about the transition.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V1beta2DeploymentCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason for the condition's last transition. + * @return reason + **/ + @ApiModelProperty(value = "The reason for the condition's last transition.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V1beta2DeploymentCondition status(String status) { + this.status = status; + return this; + } + + /** + * Status of the condition, one of True, False, Unknown. + * @return status + **/ + @ApiModelProperty(required = true, value = "Status of the condition, one of True, False, Unknown.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V1beta2DeploymentCondition type(String type) { + this.type = type; + return this; + } + + /** + * Type of deployment condition. + * @return type + **/ + @ApiModelProperty(required = true, value = "Type of deployment condition.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DeploymentCondition v1beta2DeploymentCondition = (V1beta2DeploymentCondition) o; + return Objects.equals(this.lastTransitionTime, v1beta2DeploymentCondition.lastTransitionTime) && + Objects.equals(this.lastUpdateTime, v1beta2DeploymentCondition.lastUpdateTime) && + Objects.equals(this.message, v1beta2DeploymentCondition.message) && + Objects.equals(this.reason, v1beta2DeploymentCondition.reason) && + Objects.equals(this.status, v1beta2DeploymentCondition.status) && + Objects.equals(this.type, v1beta2DeploymentCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastTransitionTime, lastUpdateTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DeploymentCondition {\n"); + + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" lastUpdateTime: ").append(toIndentedString(lastUpdateTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResourceList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentList.java similarity index 68% rename from kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResourceList.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentList.java index 66284baf9a..b6c8a898f6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta1ThirdPartyResourceList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1ListMeta; -import io.kubernetes.client.models.V1beta1ThirdPartyResource; +import io.kubernetes.client.models.V1beta2Deployment; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -28,16 +28,16 @@ import java.util.List; /** - * ThirdPartyResourceList is a list of ThirdPartyResources. + * DeploymentList is a list of Deployments. */ -@ApiModel(description = "ThirdPartyResourceList is a list of ThirdPartyResources.") +@ApiModel(description = "DeploymentList is a list of Deployments.") -public class V1beta1ThirdPartyResourceList { +public class V1beta2DeploymentList { @SerializedName("apiVersion") private String apiVersion = null; @SerializedName("items") - private List items = new ArrayList(); + private List items = new ArrayList(); @SerializedName("kind") private String kind = null; @@ -45,16 +45,16 @@ public class V1beta1ThirdPartyResourceList { @SerializedName("metadata") private V1ListMeta metadata = null; - public V1beta1ThirdPartyResourceList apiVersion(String apiVersion) { + public V1beta2DeploymentList apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -63,39 +63,39 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } - public V1beta1ThirdPartyResourceList items(List items) { + public V1beta2DeploymentList items(List items) { this.items = items; return this; } - public V1beta1ThirdPartyResourceList addItemsItem(V1beta1ThirdPartyResource itemsItem) { + public V1beta2DeploymentList addItemsItem(V1beta2Deployment itemsItem) { this.items.add(itemsItem); return this; } /** - * Items is the list of ThirdPartyResources. + * Items is the list of Deployments. * @return items **/ - @ApiModelProperty(required = true, value = "Items is the list of ThirdPartyResources.") - public List getItems() { + @ApiModelProperty(required = true, value = "Items is the list of Deployments.") + public List getItems() { return items; } - public void setItems(List items) { + public void setItems(List items) { this.items = items; } - public V1beta1ThirdPartyResourceList kind(String kind) { + public V1beta2DeploymentList kind(String kind) { this.kind = kind; return this; } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -104,7 +104,7 @@ public void setKind(String kind) { this.kind = kind; } - public V1beta1ThirdPartyResourceList metadata(V1ListMeta metadata) { + public V1beta2DeploymentList metadata(V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -131,11 +131,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V1beta1ThirdPartyResourceList v1beta1ThirdPartyResourceList = (V1beta1ThirdPartyResourceList) o; - return Objects.equals(this.apiVersion, v1beta1ThirdPartyResourceList.apiVersion) && - Objects.equals(this.items, v1beta1ThirdPartyResourceList.items) && - Objects.equals(this.kind, v1beta1ThirdPartyResourceList.kind) && - Objects.equals(this.metadata, v1beta1ThirdPartyResourceList.metadata); + V1beta2DeploymentList v1beta2DeploymentList = (V1beta2DeploymentList) o; + return Objects.equals(this.apiVersion, v1beta2DeploymentList.apiVersion) && + Objects.equals(this.items, v1beta2DeploymentList.items) && + Objects.equals(this.kind, v1beta2DeploymentList.kind) && + Objects.equals(this.metadata, v1beta2DeploymentList.metadata); } @Override @@ -147,7 +147,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V1beta1ThirdPartyResourceList {\n"); + sb.append("class V1beta2DeploymentList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentSpec.java new file mode 100644 index 0000000000..247018bc4d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentSpec.java @@ -0,0 +1,258 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1PodTemplateSpec; +import io.kubernetes.client.models.V1beta2DeploymentStrategy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DeploymentSpec is the specification of the desired behavior of the Deployment. + */ +@ApiModel(description = "DeploymentSpec is the specification of the desired behavior of the Deployment.") + +public class V1beta2DeploymentSpec { + @SerializedName("minReadySeconds") + private Integer minReadySeconds = null; + + @SerializedName("paused") + private Boolean paused = null; + + @SerializedName("progressDeadlineSeconds") + private Integer progressDeadlineSeconds = null; + + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("revisionHistoryLimit") + private Integer revisionHistoryLimit = null; + + @SerializedName("selector") + private V1LabelSelector selector = null; + + @SerializedName("strategy") + private V1beta2DeploymentStrategy strategy = null; + + @SerializedName("template") + private V1PodTemplateSpec template = null; + + public V1beta2DeploymentSpec minReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + return this; + } + + /** + * Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + * @return minReadySeconds + **/ + @ApiModelProperty(value = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)") + public Integer getMinReadySeconds() { + return minReadySeconds; + } + + public void setMinReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + } + + public V1beta2DeploymentSpec paused(Boolean paused) { + this.paused = paused; + return this; + } + + /** + * Indicates that the deployment is paused. + * @return paused + **/ + @ApiModelProperty(value = "Indicates that the deployment is paused.") + public Boolean isPaused() { + return paused; + } + + public void setPaused(Boolean paused) { + this.paused = paused; + } + + public V1beta2DeploymentSpec progressDeadlineSeconds(Integer progressDeadlineSeconds) { + this.progressDeadlineSeconds = progressDeadlineSeconds; + return this; + } + + /** + * The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + * @return progressDeadlineSeconds + **/ + @ApiModelProperty(value = "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.") + public Integer getProgressDeadlineSeconds() { + return progressDeadlineSeconds; + } + + public void setProgressDeadlineSeconds(Integer progressDeadlineSeconds) { + this.progressDeadlineSeconds = progressDeadlineSeconds; + } + + public V1beta2DeploymentSpec replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + * @return replicas + **/ + @ApiModelProperty(value = "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2DeploymentSpec revisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + return this; + } + + /** + * The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + * @return revisionHistoryLimit + **/ + @ApiModelProperty(value = "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + + public V1beta2DeploymentSpec selector(V1LabelSelector selector) { + this.selector = selector; + return this; + } + + /** + * Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. + * @return selector + **/ + @ApiModelProperty(value = "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.") + public V1LabelSelector getSelector() { + return selector; + } + + public void setSelector(V1LabelSelector selector) { + this.selector = selector; + } + + public V1beta2DeploymentSpec strategy(V1beta2DeploymentStrategy strategy) { + this.strategy = strategy; + return this; + } + + /** + * The deployment strategy to use to replace existing pods with new ones. + * @return strategy + **/ + @ApiModelProperty(value = "The deployment strategy to use to replace existing pods with new ones.") + public V1beta2DeploymentStrategy getStrategy() { + return strategy; + } + + public void setStrategy(V1beta2DeploymentStrategy strategy) { + this.strategy = strategy; + } + + public V1beta2DeploymentSpec template(V1PodTemplateSpec template) { + this.template = template; + return this; + } + + /** + * Template describes the pods that will be created. + * @return template + **/ + @ApiModelProperty(required = true, value = "Template describes the pods that will be created.") + public V1PodTemplateSpec getTemplate() { + return template; + } + + public void setTemplate(V1PodTemplateSpec template) { + this.template = template; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DeploymentSpec v1beta2DeploymentSpec = (V1beta2DeploymentSpec) o; + return Objects.equals(this.minReadySeconds, v1beta2DeploymentSpec.minReadySeconds) && + Objects.equals(this.paused, v1beta2DeploymentSpec.paused) && + Objects.equals(this.progressDeadlineSeconds, v1beta2DeploymentSpec.progressDeadlineSeconds) && + Objects.equals(this.replicas, v1beta2DeploymentSpec.replicas) && + Objects.equals(this.revisionHistoryLimit, v1beta2DeploymentSpec.revisionHistoryLimit) && + Objects.equals(this.selector, v1beta2DeploymentSpec.selector) && + Objects.equals(this.strategy, v1beta2DeploymentSpec.strategy) && + Objects.equals(this.template, v1beta2DeploymentSpec.template); + } + + @Override + public int hashCode() { + return Objects.hash(minReadySeconds, paused, progressDeadlineSeconds, replicas, revisionHistoryLimit, selector, strategy, template); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DeploymentSpec {\n"); + + sb.append(" minReadySeconds: ").append(toIndentedString(minReadySeconds)).append("\n"); + sb.append(" paused: ").append(toIndentedString(paused)).append("\n"); + sb.append(" progressDeadlineSeconds: ").append(toIndentedString(progressDeadlineSeconds)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" revisionHistoryLimit: ").append(toIndentedString(revisionHistoryLimit)).append("\n"); + sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); + sb.append(" strategy: ").append(toIndentedString(strategy)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStatus.java new file mode 100644 index 0000000000..cec7377a0d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStatus.java @@ -0,0 +1,266 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta2DeploymentCondition; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * DeploymentStatus is the most recently observed status of the Deployment. + */ +@ApiModel(description = "DeploymentStatus is the most recently observed status of the Deployment.") + +public class V1beta2DeploymentStatus { + @SerializedName("availableReplicas") + private Integer availableReplicas = null; + + @SerializedName("collisionCount") + private Integer collisionCount = null; + + @SerializedName("conditions") + private List conditions = null; + + @SerializedName("observedGeneration") + private Long observedGeneration = null; + + @SerializedName("readyReplicas") + private Integer readyReplicas = null; + + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("unavailableReplicas") + private Integer unavailableReplicas = null; + + @SerializedName("updatedReplicas") + private Integer updatedReplicas = null; + + public V1beta2DeploymentStatus availableReplicas(Integer availableReplicas) { + this.availableReplicas = availableReplicas; + return this; + } + + /** + * Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + * @return availableReplicas + **/ + @ApiModelProperty(value = "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.") + public Integer getAvailableReplicas() { + return availableReplicas; + } + + public void setAvailableReplicas(Integer availableReplicas) { + this.availableReplicas = availableReplicas; + } + + public V1beta2DeploymentStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + * @return collisionCount + **/ + @ApiModelProperty(value = "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + + public V1beta2DeploymentStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V1beta2DeploymentStatus addConditionsItem(V1beta2DeploymentCondition conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * Represents the latest available observations of a deployment's current state. + * @return conditions + **/ + @ApiModelProperty(value = "Represents the latest available observations of a deployment's current state.") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + public V1beta2DeploymentStatus observedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + return this; + } + + /** + * The generation observed by the deployment controller. + * @return observedGeneration + **/ + @ApiModelProperty(value = "The generation observed by the deployment controller.") + public Long getObservedGeneration() { + return observedGeneration; + } + + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + public V1beta2DeploymentStatus readyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + return this; + } + + /** + * Total number of ready pods targeted by this deployment. + * @return readyReplicas + **/ + @ApiModelProperty(value = "Total number of ready pods targeted by this deployment.") + public Integer getReadyReplicas() { + return readyReplicas; + } + + public void setReadyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + } + + public V1beta2DeploymentStatus replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * Total number of non-terminated pods targeted by this deployment (their labels match the selector). + * @return replicas + **/ + @ApiModelProperty(value = "Total number of non-terminated pods targeted by this deployment (their labels match the selector).") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2DeploymentStatus unavailableReplicas(Integer unavailableReplicas) { + this.unavailableReplicas = unavailableReplicas; + return this; + } + + /** + * Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + * @return unavailableReplicas + **/ + @ApiModelProperty(value = "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.") + public Integer getUnavailableReplicas() { + return unavailableReplicas; + } + + public void setUnavailableReplicas(Integer unavailableReplicas) { + this.unavailableReplicas = unavailableReplicas; + } + + public V1beta2DeploymentStatus updatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + return this; + } + + /** + * Total number of non-terminated pods targeted by this deployment that have the desired template spec. + * @return updatedReplicas + **/ + @ApiModelProperty(value = "Total number of non-terminated pods targeted by this deployment that have the desired template spec.") + public Integer getUpdatedReplicas() { + return updatedReplicas; + } + + public void setUpdatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DeploymentStatus v1beta2DeploymentStatus = (V1beta2DeploymentStatus) o; + return Objects.equals(this.availableReplicas, v1beta2DeploymentStatus.availableReplicas) && + Objects.equals(this.collisionCount, v1beta2DeploymentStatus.collisionCount) && + Objects.equals(this.conditions, v1beta2DeploymentStatus.conditions) && + Objects.equals(this.observedGeneration, v1beta2DeploymentStatus.observedGeneration) && + Objects.equals(this.readyReplicas, v1beta2DeploymentStatus.readyReplicas) && + Objects.equals(this.replicas, v1beta2DeploymentStatus.replicas) && + Objects.equals(this.unavailableReplicas, v1beta2DeploymentStatus.unavailableReplicas) && + Objects.equals(this.updatedReplicas, v1beta2DeploymentStatus.updatedReplicas); + } + + @Override + public int hashCode() { + return Objects.hash(availableReplicas, collisionCount, conditions, observedGeneration, readyReplicas, replicas, unavailableReplicas, updatedReplicas); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DeploymentStatus {\n"); + + sb.append(" availableReplicas: ").append(toIndentedString(availableReplicas)).append("\n"); + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); + sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" unavailableReplicas: ").append(toIndentedString(unavailableReplicas)).append("\n"); + sb.append(" updatedReplicas: ").append(toIndentedString(updatedReplicas)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStrategy.java new file mode 100644 index 0000000000..0cf45858b5 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2DeploymentStrategy.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta2RollingUpdateDeployment; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * DeploymentStrategy describes how to replace existing pods with new ones. + */ +@ApiModel(description = "DeploymentStrategy describes how to replace existing pods with new ones.") + +public class V1beta2DeploymentStrategy { + @SerializedName("rollingUpdate") + private V1beta2RollingUpdateDeployment rollingUpdate = null; + + @SerializedName("type") + private String type = null; + + public V1beta2DeploymentStrategy rollingUpdate(V1beta2RollingUpdateDeployment rollingUpdate) { + this.rollingUpdate = rollingUpdate; + return this; + } + + /** + * Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. + * @return rollingUpdate + **/ + @ApiModelProperty(value = "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.") + public V1beta2RollingUpdateDeployment getRollingUpdate() { + return rollingUpdate; + } + + public void setRollingUpdate(V1beta2RollingUpdateDeployment rollingUpdate) { + this.rollingUpdate = rollingUpdate; + } + + public V1beta2DeploymentStrategy type(String type) { + this.type = type; + return this; + } + + /** + * Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. + * @return type + **/ + @ApiModelProperty(value = "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2DeploymentStrategy v1beta2DeploymentStrategy = (V1beta2DeploymentStrategy) o; + return Objects.equals(this.rollingUpdate, v1beta2DeploymentStrategy.rollingUpdate) && + Objects.equals(this.type, v1beta2DeploymentStrategy.type); + } + + @Override + public int hashCode() { + return Objects.hash(rollingUpdate, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2DeploymentStrategy {\n"); + + sb.append(" rollingUpdate: ").append(toIndentedString(rollingUpdate)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSet.java new file mode 100644 index 0000000000..d1abf0dd3c --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSet.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta2ReplicaSetSpec; +import io.kubernetes.client.models.V1beta2ReplicaSetStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ReplicaSet represents the configuration of a ReplicaSet. + */ +@ApiModel(description = "ReplicaSet represents the configuration of a ReplicaSet.") + +public class V1beta2ReplicaSet { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta2ReplicaSetSpec spec = null; + + @SerializedName("status") + private V1beta2ReplicaSetStatus status = null; + + public V1beta2ReplicaSet apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2ReplicaSet kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2ReplicaSet metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + * @return metadata + **/ + @ApiModelProperty(value = "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2ReplicaSet spec(V1beta2ReplicaSetSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return spec + **/ + @ApiModelProperty(value = "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta2ReplicaSetSpec getSpec() { + return spec; + } + + public void setSpec(V1beta2ReplicaSetSpec spec) { + this.spec = spec; + } + + public V1beta2ReplicaSet status(V1beta2ReplicaSetStatus status) { + this.status = status; + return this; + } + + /** + * Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + * @return status + **/ + @ApiModelProperty(value = "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") + public V1beta2ReplicaSetStatus getStatus() { + return status; + } + + public void setStatus(V1beta2ReplicaSetStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ReplicaSet v1beta2ReplicaSet = (V1beta2ReplicaSet) o; + return Objects.equals(this.apiVersion, v1beta2ReplicaSet.apiVersion) && + Objects.equals(this.kind, v1beta2ReplicaSet.kind) && + Objects.equals(this.metadata, v1beta2ReplicaSet.metadata) && + Objects.equals(this.spec, v1beta2ReplicaSet.spec) && + Objects.equals(this.status, v1beta2ReplicaSet.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ReplicaSet {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetCondition.java new file mode 100644 index 0000000000..c6db8ee6d1 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetCondition.java @@ -0,0 +1,187 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * ReplicaSetCondition describes the state of a replica set at a certain point. + */ +@ApiModel(description = "ReplicaSetCondition describes the state of a replica set at a certain point.") + +public class V1beta2ReplicaSetCondition { + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V1beta2ReplicaSetCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * The last time the condition transitioned from one status to another. + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "The last time the condition transitioned from one status to another.") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V1beta2ReplicaSetCondition message(String message) { + this.message = message; + return this; + } + + /** + * A human readable message indicating details about the transition. + * @return message + **/ + @ApiModelProperty(value = "A human readable message indicating details about the transition.") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V1beta2ReplicaSetCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * The reason for the condition's last transition. + * @return reason + **/ + @ApiModelProperty(value = "The reason for the condition's last transition.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V1beta2ReplicaSetCondition status(String status) { + this.status = status; + return this; + } + + /** + * Status of the condition, one of True, False, Unknown. + * @return status + **/ + @ApiModelProperty(required = true, value = "Status of the condition, one of True, False, Unknown.") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V1beta2ReplicaSetCondition type(String type) { + this.type = type; + return this; + } + + /** + * Type of replica set condition. + * @return type + **/ + @ApiModelProperty(required = true, value = "Type of replica set condition.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ReplicaSetCondition v1beta2ReplicaSetCondition = (V1beta2ReplicaSetCondition) o; + return Objects.equals(this.lastTransitionTime, v1beta2ReplicaSetCondition.lastTransitionTime) && + Objects.equals(this.message, v1beta2ReplicaSetCondition.message) && + Objects.equals(this.reason, v1beta2ReplicaSetCondition.reason) && + Objects.equals(this.status, v1beta2ReplicaSetCondition.status) && + Objects.equals(this.type, v1beta2ReplicaSetCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastTransitionTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ReplicaSetCondition {\n"); + + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetList.java new file mode 100644 index 0000000000..a6f6ccac8a --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta2ReplicaSet; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ReplicaSetList is a collection of ReplicaSets. + */ +@ApiModel(description = "ReplicaSetList is a collection of ReplicaSets.") + +public class V1beta2ReplicaSetList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta2ReplicaSetList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2ReplicaSetList items(List items) { + this.items = items; + return this; + } + + public V1beta2ReplicaSetList addItemsItem(V1beta2ReplicaSet itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + * @return items + **/ + @ApiModelProperty(required = true, value = "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta2ReplicaSetList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2ReplicaSetList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return metadata + **/ + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ReplicaSetList v1beta2ReplicaSetList = (V1beta2ReplicaSetList) o; + return Objects.equals(this.apiVersion, v1beta2ReplicaSetList.apiVersion) && + Objects.equals(this.items, v1beta2ReplicaSetList.items) && + Objects.equals(this.kind, v1beta2ReplicaSetList.kind) && + Objects.equals(this.metadata, v1beta2ReplicaSetList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ReplicaSetList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetSpec.java new file mode 100644 index 0000000000..fff01305b9 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetSpec.java @@ -0,0 +1,165 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1PodTemplateSpec; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ReplicaSetSpec is the specification of a ReplicaSet. + */ +@ApiModel(description = "ReplicaSetSpec is the specification of a ReplicaSet.") + +public class V1beta2ReplicaSetSpec { + @SerializedName("minReadySeconds") + private Integer minReadySeconds = null; + + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("selector") + private V1LabelSelector selector = null; + + @SerializedName("template") + private V1PodTemplateSpec template = null; + + public V1beta2ReplicaSetSpec minReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + return this; + } + + /** + * Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + * @return minReadySeconds + **/ + @ApiModelProperty(value = "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)") + public Integer getMinReadySeconds() { + return minReadySeconds; + } + + public void setMinReadySeconds(Integer minReadySeconds) { + this.minReadySeconds = minReadySeconds; + } + + public V1beta2ReplicaSetSpec replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + * @return replicas + **/ + @ApiModelProperty(value = "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2ReplicaSetSpec selector(V1LabelSelector selector) { + this.selector = selector; + return this; + } + + /** + * Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + * @return selector + **/ + @ApiModelProperty(value = "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") + public V1LabelSelector getSelector() { + return selector; + } + + public void setSelector(V1LabelSelector selector) { + this.selector = selector; + } + + public V1beta2ReplicaSetSpec template(V1PodTemplateSpec template) { + this.template = template; + return this; + } + + /** + * Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + * @return template + **/ + @ApiModelProperty(value = "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template") + public V1PodTemplateSpec getTemplate() { + return template; + } + + public void setTemplate(V1PodTemplateSpec template) { + this.template = template; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ReplicaSetSpec v1beta2ReplicaSetSpec = (V1beta2ReplicaSetSpec) o; + return Objects.equals(this.minReadySeconds, v1beta2ReplicaSetSpec.minReadySeconds) && + Objects.equals(this.replicas, v1beta2ReplicaSetSpec.replicas) && + Objects.equals(this.selector, v1beta2ReplicaSetSpec.selector) && + Objects.equals(this.template, v1beta2ReplicaSetSpec.template); + } + + @Override + public int hashCode() { + return Objects.hash(minReadySeconds, replicas, selector, template); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ReplicaSetSpec {\n"); + + sb.append(" minReadySeconds: ").append(toIndentedString(minReadySeconds)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetStatus.java new file mode 100644 index 0000000000..ff27ecc3b7 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ReplicaSetStatus.java @@ -0,0 +1,220 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta2ReplicaSetCondition; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * ReplicaSetStatus represents the current status of a ReplicaSet. + */ +@ApiModel(description = "ReplicaSetStatus represents the current status of a ReplicaSet.") + +public class V1beta2ReplicaSetStatus { + @SerializedName("availableReplicas") + private Integer availableReplicas = null; + + @SerializedName("conditions") + private List conditions = null; + + @SerializedName("fullyLabeledReplicas") + private Integer fullyLabeledReplicas = null; + + @SerializedName("observedGeneration") + private Long observedGeneration = null; + + @SerializedName("readyReplicas") + private Integer readyReplicas = null; + + @SerializedName("replicas") + private Integer replicas = null; + + public V1beta2ReplicaSetStatus availableReplicas(Integer availableReplicas) { + this.availableReplicas = availableReplicas; + return this; + } + + /** + * The number of available replicas (ready for at least minReadySeconds) for this replica set. + * @return availableReplicas + **/ + @ApiModelProperty(value = "The number of available replicas (ready for at least minReadySeconds) for this replica set.") + public Integer getAvailableReplicas() { + return availableReplicas; + } + + public void setAvailableReplicas(Integer availableReplicas) { + this.availableReplicas = availableReplicas; + } + + public V1beta2ReplicaSetStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V1beta2ReplicaSetStatus addConditionsItem(V1beta2ReplicaSetCondition conditionsItem) { + if (this.conditions == null) { + this.conditions = new ArrayList(); + } + this.conditions.add(conditionsItem); + return this; + } + + /** + * Represents the latest available observations of a replica set's current state. + * @return conditions + **/ + @ApiModelProperty(value = "Represents the latest available observations of a replica set's current state.") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + public V1beta2ReplicaSetStatus fullyLabeledReplicas(Integer fullyLabeledReplicas) { + this.fullyLabeledReplicas = fullyLabeledReplicas; + return this; + } + + /** + * The number of pods that have labels matching the labels of the pod template of the replicaset. + * @return fullyLabeledReplicas + **/ + @ApiModelProperty(value = "The number of pods that have labels matching the labels of the pod template of the replicaset.") + public Integer getFullyLabeledReplicas() { + return fullyLabeledReplicas; + } + + public void setFullyLabeledReplicas(Integer fullyLabeledReplicas) { + this.fullyLabeledReplicas = fullyLabeledReplicas; + } + + public V1beta2ReplicaSetStatus observedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + return this; + } + + /** + * ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + * @return observedGeneration + **/ + @ApiModelProperty(value = "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.") + public Long getObservedGeneration() { + return observedGeneration; + } + + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + public V1beta2ReplicaSetStatus readyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + return this; + } + + /** + * The number of ready replicas for this replica set. + * @return readyReplicas + **/ + @ApiModelProperty(value = "The number of ready replicas for this replica set.") + public Integer getReadyReplicas() { + return readyReplicas; + } + + public void setReadyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + } + + public V1beta2ReplicaSetStatus replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + * @return replicas + **/ + @ApiModelProperty(required = true, value = "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ReplicaSetStatus v1beta2ReplicaSetStatus = (V1beta2ReplicaSetStatus) o; + return Objects.equals(this.availableReplicas, v1beta2ReplicaSetStatus.availableReplicas) && + Objects.equals(this.conditions, v1beta2ReplicaSetStatus.conditions) && + Objects.equals(this.fullyLabeledReplicas, v1beta2ReplicaSetStatus.fullyLabeledReplicas) && + Objects.equals(this.observedGeneration, v1beta2ReplicaSetStatus.observedGeneration) && + Objects.equals(this.readyReplicas, v1beta2ReplicaSetStatus.readyReplicas) && + Objects.equals(this.replicas, v1beta2ReplicaSetStatus.replicas); + } + + @Override + public int hashCode() { + return Objects.hash(availableReplicas, conditions, fullyLabeledReplicas, observedGeneration, readyReplicas, replicas); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ReplicaSetStatus {\n"); + + sb.append(" availableReplicas: ").append(toIndentedString(availableReplicas)).append("\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); + sb.append(" fullyLabeledReplicas: ").append(toIndentedString(fullyLabeledReplicas)).append("\n"); + sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); + sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDaemonSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDaemonSet.java new file mode 100644 index 0000000000..6bb40192c4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDaemonSet.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Spec to control the desired behavior of daemon set rolling update. + */ +@ApiModel(description = "Spec to control the desired behavior of daemon set rolling update.") + +public class V1beta2RollingUpdateDaemonSet { + @SerializedName("maxUnavailable") + private String maxUnavailable = null; + + public V1beta2RollingUpdateDaemonSet maxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + return this; + } + + /** + * The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. + * @return maxUnavailable + **/ + @ApiModelProperty(value = "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.") + public String getMaxUnavailable() { + return maxUnavailable; + } + + public void setMaxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2RollingUpdateDaemonSet v1beta2RollingUpdateDaemonSet = (V1beta2RollingUpdateDaemonSet) o; + return Objects.equals(this.maxUnavailable, v1beta2RollingUpdateDaemonSet.maxUnavailable); + } + + @Override + public int hashCode() { + return Objects.hash(maxUnavailable); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2RollingUpdateDaemonSet {\n"); + + sb.append(" maxUnavailable: ").append(toIndentedString(maxUnavailable)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDeployment.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDeployment.java new file mode 100644 index 0000000000..6a8a19db34 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateDeployment.java @@ -0,0 +1,117 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Spec to control the desired behavior of rolling update. + */ +@ApiModel(description = "Spec to control the desired behavior of rolling update.") + +public class V1beta2RollingUpdateDeployment { + @SerializedName("maxSurge") + private String maxSurge = null; + + @SerializedName("maxUnavailable") + private String maxUnavailable = null; + + public V1beta2RollingUpdateDeployment maxSurge(String maxSurge) { + this.maxSurge = maxSurge; + return this; + } + + /** + * The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + * @return maxSurge + **/ + @ApiModelProperty(value = "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.") + public String getMaxSurge() { + return maxSurge; + } + + public void setMaxSurge(String maxSurge) { + this.maxSurge = maxSurge; + } + + public V1beta2RollingUpdateDeployment maxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + return this; + } + + /** + * The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + * @return maxUnavailable + **/ + @ApiModelProperty(value = "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.") + public String getMaxUnavailable() { + return maxUnavailable; + } + + public void setMaxUnavailable(String maxUnavailable) { + this.maxUnavailable = maxUnavailable; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2RollingUpdateDeployment v1beta2RollingUpdateDeployment = (V1beta2RollingUpdateDeployment) o; + return Objects.equals(this.maxSurge, v1beta2RollingUpdateDeployment.maxSurge) && + Objects.equals(this.maxUnavailable, v1beta2RollingUpdateDeployment.maxUnavailable); + } + + @Override + public int hashCode() { + return Objects.hash(maxSurge, maxUnavailable); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2RollingUpdateDeployment {\n"); + + sb.append(" maxSurge: ").append(toIndentedString(maxSurge)).append("\n"); + sb.append(" maxUnavailable: ").append(toIndentedString(maxUnavailable)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateStatefulSetStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateStatefulSetStrategy.java new file mode 100644 index 0000000000..51a814ae3e --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2RollingUpdateStatefulSetStrategy.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + */ +@ApiModel(description = "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.") + +public class V1beta2RollingUpdateStatefulSetStrategy { + @SerializedName("partition") + private Integer partition = null; + + public V1beta2RollingUpdateStatefulSetStrategy partition(Integer partition) { + this.partition = partition; + return this; + } + + /** + * Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. + * @return partition + **/ + @ApiModelProperty(value = "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.") + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2RollingUpdateStatefulSetStrategy v1beta2RollingUpdateStatefulSetStrategy = (V1beta2RollingUpdateStatefulSetStrategy) o; + return Objects.equals(this.partition, v1beta2RollingUpdateStatefulSetStrategy.partition); + } + + @Override + public int hashCode() { + return Objects.hash(partition); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2RollingUpdateStatefulSetStrategy {\n"); + + sb.append(" partition: ").append(toIndentedString(partition)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Scale.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Scale.java new file mode 100644 index 0000000000..1a3deb7f1c --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2Scale.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta2ScaleSpec; +import io.kubernetes.client.models.V1beta2ScaleStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Scale represents a scaling request for a resource. + */ +@ApiModel(description = "Scale represents a scaling request for a resource.") + +public class V1beta2Scale { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta2ScaleSpec spec = null; + + @SerializedName("status") + private V1beta2ScaleStatus status = null; + + public V1beta2Scale apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2Scale kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2Scale metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. + * @return metadata + **/ + @ApiModelProperty(value = "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2Scale spec(V1beta2ScaleSpec spec) { + this.spec = spec; + return this; + } + + /** + * defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. + * @return spec + **/ + @ApiModelProperty(value = "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") + public V1beta2ScaleSpec getSpec() { + return spec; + } + + public void setSpec(V1beta2ScaleSpec spec) { + this.spec = spec; + } + + public V1beta2Scale status(V1beta2ScaleStatus status) { + this.status = status; + return this; + } + + /** + * current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only. + * @return status + **/ + @ApiModelProperty(value = "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.") + public V1beta2ScaleStatus getStatus() { + return status; + } + + public void setStatus(V1beta2ScaleStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2Scale v1beta2Scale = (V1beta2Scale) o; + return Objects.equals(this.apiVersion, v1beta2Scale.apiVersion) && + Objects.equals(this.kind, v1beta2Scale.kind) && + Objects.equals(this.metadata, v1beta2Scale.metadata) && + Objects.equals(this.spec, v1beta2Scale.spec) && + Objects.equals(this.status, v1beta2Scale.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2Scale {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleSpec.java new file mode 100644 index 0000000000..8e92581422 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleSpec.java @@ -0,0 +1,94 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * ScaleSpec describes the attributes of a scale subresource + */ +@ApiModel(description = "ScaleSpec describes the attributes of a scale subresource") + +public class V1beta2ScaleSpec { + @SerializedName("replicas") + private Integer replicas = null; + + public V1beta2ScaleSpec replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * desired number of instances for the scaled object. + * @return replicas + **/ + @ApiModelProperty(value = "desired number of instances for the scaled object.") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ScaleSpec v1beta2ScaleSpec = (V1beta2ScaleSpec) o; + return Objects.equals(this.replicas, v1beta2ScaleSpec.replicas); + } + + @Override + public int hashCode() { + return Objects.hash(replicas); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ScaleSpec {\n"); + + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleStatus.java new file mode 100644 index 0000000000..f9d9b0d1a9 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2ScaleStatus.java @@ -0,0 +1,151 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * ScaleStatus represents the current status of a scale subresource. + */ +@ApiModel(description = "ScaleStatus represents the current status of a scale subresource.") + +public class V1beta2ScaleStatus { + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("selector") + private Map selector = null; + + @SerializedName("targetSelector") + private String targetSelector = null; + + public V1beta2ScaleStatus replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * actual number of observed instances of the scaled object. + * @return replicas + **/ + @ApiModelProperty(required = true, value = "actual number of observed instances of the scaled object.") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2ScaleStatus selector(Map selector) { + this.selector = selector; + return this; + } + + public V1beta2ScaleStatus putSelectorItem(String key, String selectorItem) { + if (this.selector == null) { + this.selector = new HashMap(); + } + this.selector.put(key, selectorItem); + return this; + } + + /** + * label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors + * @return selector + **/ + @ApiModelProperty(value = "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors") + public Map getSelector() { + return selector; + } + + public void setSelector(Map selector) { + this.selector = selector; + } + + public V1beta2ScaleStatus targetSelector(String targetSelector) { + this.targetSelector = targetSelector; + return this; + } + + /** + * label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + * @return targetSelector + **/ + @ApiModelProperty(value = "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") + public String getTargetSelector() { + return targetSelector; + } + + public void setTargetSelector(String targetSelector) { + this.targetSelector = targetSelector; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2ScaleStatus v1beta2ScaleStatus = (V1beta2ScaleStatus) o; + return Objects.equals(this.replicas, v1beta2ScaleStatus.replicas) && + Objects.equals(this.selector, v1beta2ScaleStatus.selector) && + Objects.equals(this.targetSelector, v1beta2ScaleStatus.targetSelector); + } + + @Override + public int hashCode() { + return Objects.hash(replicas, selector, targetSelector); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2ScaleStatus {\n"); + + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); + sb.append(" targetSelector: ").append(toIndentedString(targetSelector)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSet.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSet.java new file mode 100644 index 0000000000..3f19d9b9da --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSet.java @@ -0,0 +1,189 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ObjectMeta; +import io.kubernetes.client.models.V1beta2StatefulSetSpec; +import io.kubernetes.client.models.V1beta2StatefulSetStatus; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + */ +@ApiModel(description = "StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.") + +public class V1beta2StatefulSet { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ObjectMeta metadata = null; + + @SerializedName("spec") + private V1beta2StatefulSetSpec spec = null; + + @SerializedName("status") + private V1beta2StatefulSetStatus status = null; + + public V1beta2StatefulSet apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2StatefulSet kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2StatefulSet metadata(V1ObjectMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ObjectMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ObjectMeta metadata) { + this.metadata = metadata; + } + + public V1beta2StatefulSet spec(V1beta2StatefulSetSpec spec) { + this.spec = spec; + return this; + } + + /** + * Spec defines the desired identities of pods in this set. + * @return spec + **/ + @ApiModelProperty(value = "Spec defines the desired identities of pods in this set.") + public V1beta2StatefulSetSpec getSpec() { + return spec; + } + + public void setSpec(V1beta2StatefulSetSpec spec) { + this.spec = spec; + } + + public V1beta2StatefulSet status(V1beta2StatefulSetStatus status) { + this.status = status; + return this; + } + + /** + * Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. + * @return status + **/ + @ApiModelProperty(value = "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.") + public V1beta2StatefulSetStatus getStatus() { + return status; + } + + public void setStatus(V1beta2StatefulSetStatus status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2StatefulSet v1beta2StatefulSet = (V1beta2StatefulSet) o; + return Objects.equals(this.apiVersion, v1beta2StatefulSet.apiVersion) && + Objects.equals(this.kind, v1beta2StatefulSet.kind) && + Objects.equals(this.metadata, v1beta2StatefulSet.metadata) && + Objects.equals(this.spec, v1beta2StatefulSet.spec) && + Objects.equals(this.status, v1beta2StatefulSet.status); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, kind, metadata, spec, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2StatefulSet {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" spec: ").append(toIndentedString(spec)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetList.java new file mode 100644 index 0000000000..06b546a88d --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetList.java @@ -0,0 +1,172 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1ListMeta; +import io.kubernetes.client.models.V1beta2StatefulSet; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * StatefulSetList is a collection of StatefulSets. + */ +@ApiModel(description = "StatefulSetList is a collection of StatefulSets.") + +public class V1beta2StatefulSetList { + @SerializedName("apiVersion") + private String apiVersion = null; + + @SerializedName("items") + private List items = new ArrayList(); + + @SerializedName("kind") + private String kind = null; + + @SerializedName("metadata") + private V1ListMeta metadata = null; + + public V1beta2StatefulSetList apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /** + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + * @return apiVersion + **/ + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + public V1beta2StatefulSetList items(List items) { + this.items = items; + return this; + } + + public V1beta2StatefulSetList addItemsItem(V1beta2StatefulSet itemsItem) { + this.items.add(itemsItem); + return this; + } + + /** + * Get items + * @return items + **/ + @ApiModelProperty(required = true, value = "") + public List getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public V1beta2StatefulSetList kind(String kind) { + this.kind = kind; + return this; + } + + /** + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + * @return kind + **/ + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public V1beta2StatefulSetList metadata(V1ListMeta metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get metadata + * @return metadata + **/ + @ApiModelProperty(value = "") + public V1ListMeta getMetadata() { + return metadata; + } + + public void setMetadata(V1ListMeta metadata) { + this.metadata = metadata; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2StatefulSetList v1beta2StatefulSetList = (V1beta2StatefulSetList) o; + return Objects.equals(this.apiVersion, v1beta2StatefulSetList.apiVersion) && + Objects.equals(this.items, v1beta2StatefulSetList.items) && + Objects.equals(this.kind, v1beta2StatefulSetList.kind) && + Objects.equals(this.metadata, v1beta2StatefulSetList.metadata); + } + + @Override + public int hashCode() { + return Objects.hash(apiVersion, items, kind, metadata); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2StatefulSetList {\n"); + + sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); + sb.append(" items: ").append(toIndentedString(items)).append("\n"); + sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); + sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetSpec.java new file mode 100644 index 0000000000..b31c3901e4 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetSpec.java @@ -0,0 +1,269 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1LabelSelector; +import io.kubernetes.client.models.V1PersistentVolumeClaim; +import io.kubernetes.client.models.V1PodTemplateSpec; +import io.kubernetes.client.models.V1beta2StatefulSetUpdateStrategy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * A StatefulSetSpec is the specification of a StatefulSet. + */ +@ApiModel(description = "A StatefulSetSpec is the specification of a StatefulSet.") + +public class V1beta2StatefulSetSpec { + @SerializedName("podManagementPolicy") + private String podManagementPolicy = null; + + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("revisionHistoryLimit") + private Integer revisionHistoryLimit = null; + + @SerializedName("selector") + private V1LabelSelector selector = null; + + @SerializedName("serviceName") + private String serviceName = null; + + @SerializedName("template") + private V1PodTemplateSpec template = null; + + @SerializedName("updateStrategy") + private V1beta2StatefulSetUpdateStrategy updateStrategy = null; + + @SerializedName("volumeClaimTemplates") + private List volumeClaimTemplates = null; + + public V1beta2StatefulSetSpec podManagementPolicy(String podManagementPolicy) { + this.podManagementPolicy = podManagementPolicy; + return this; + } + + /** + * podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + * @return podManagementPolicy + **/ + @ApiModelProperty(value = "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.") + public String getPodManagementPolicy() { + return podManagementPolicy; + } + + public void setPodManagementPolicy(String podManagementPolicy) { + this.podManagementPolicy = podManagementPolicy; + } + + public V1beta2StatefulSetSpec replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + * @return replicas + **/ + @ApiModelProperty(value = "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2StatefulSetSpec revisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + return this; + } + + /** + * revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + * @return revisionHistoryLimit + **/ + @ApiModelProperty(value = "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.") + public Integer getRevisionHistoryLimit() { + return revisionHistoryLimit; + } + + public void setRevisionHistoryLimit(Integer revisionHistoryLimit) { + this.revisionHistoryLimit = revisionHistoryLimit; + } + + public V1beta2StatefulSetSpec selector(V1LabelSelector selector) { + this.selector = selector; + return this; + } + + /** + * selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + * @return selector + **/ + @ApiModelProperty(value = "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors") + public V1LabelSelector getSelector() { + return selector; + } + + public void setSelector(V1LabelSelector selector) { + this.selector = selector; + } + + public V1beta2StatefulSetSpec serviceName(String serviceName) { + this.serviceName = serviceName; + return this; + } + + /** + * serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + * @return serviceName + **/ + @ApiModelProperty(required = true, value = "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.") + public String getServiceName() { + return serviceName; + } + + public void setServiceName(String serviceName) { + this.serviceName = serviceName; + } + + public V1beta2StatefulSetSpec template(V1PodTemplateSpec template) { + this.template = template; + return this; + } + + /** + * template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. + * @return template + **/ + @ApiModelProperty(required = true, value = "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.") + public V1PodTemplateSpec getTemplate() { + return template; + } + + public void setTemplate(V1PodTemplateSpec template) { + this.template = template; + } + + public V1beta2StatefulSetSpec updateStrategy(V1beta2StatefulSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + return this; + } + + /** + * updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. + * @return updateStrategy + **/ + @ApiModelProperty(value = "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.") + public V1beta2StatefulSetUpdateStrategy getUpdateStrategy() { + return updateStrategy; + } + + public void setUpdateStrategy(V1beta2StatefulSetUpdateStrategy updateStrategy) { + this.updateStrategy = updateStrategy; + } + + public V1beta2StatefulSetSpec volumeClaimTemplates(List volumeClaimTemplates) { + this.volumeClaimTemplates = volumeClaimTemplates; + return this; + } + + public V1beta2StatefulSetSpec addVolumeClaimTemplatesItem(V1PersistentVolumeClaim volumeClaimTemplatesItem) { + if (this.volumeClaimTemplates == null) { + this.volumeClaimTemplates = new ArrayList(); + } + this.volumeClaimTemplates.add(volumeClaimTemplatesItem); + return this; + } + + /** + * volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. + * @return volumeClaimTemplates + **/ + @ApiModelProperty(value = "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.") + public List getVolumeClaimTemplates() { + return volumeClaimTemplates; + } + + public void setVolumeClaimTemplates(List volumeClaimTemplates) { + this.volumeClaimTemplates = volumeClaimTemplates; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2StatefulSetSpec v1beta2StatefulSetSpec = (V1beta2StatefulSetSpec) o; + return Objects.equals(this.podManagementPolicy, v1beta2StatefulSetSpec.podManagementPolicy) && + Objects.equals(this.replicas, v1beta2StatefulSetSpec.replicas) && + Objects.equals(this.revisionHistoryLimit, v1beta2StatefulSetSpec.revisionHistoryLimit) && + Objects.equals(this.selector, v1beta2StatefulSetSpec.selector) && + Objects.equals(this.serviceName, v1beta2StatefulSetSpec.serviceName) && + Objects.equals(this.template, v1beta2StatefulSetSpec.template) && + Objects.equals(this.updateStrategy, v1beta2StatefulSetSpec.updateStrategy) && + Objects.equals(this.volumeClaimTemplates, v1beta2StatefulSetSpec.volumeClaimTemplates); + } + + @Override + public int hashCode() { + return Objects.hash(podManagementPolicy, replicas, revisionHistoryLimit, selector, serviceName, template, updateStrategy, volumeClaimTemplates); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2StatefulSetSpec {\n"); + + sb.append(" podManagementPolicy: ").append(toIndentedString(podManagementPolicy)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" revisionHistoryLimit: ").append(toIndentedString(revisionHistoryLimit)).append("\n"); + sb.append(" selector: ").append(toIndentedString(selector)).append("\n"); + sb.append(" serviceName: ").append(toIndentedString(serviceName)).append("\n"); + sb.append(" template: ").append(toIndentedString(template)).append("\n"); + sb.append(" updateStrategy: ").append(toIndentedString(updateStrategy)).append("\n"); + sb.append(" volumeClaimTemplates: ").append(toIndentedString(volumeClaimTemplates)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetStatus.java new file mode 100644 index 0000000000..7411b83683 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetStatus.java @@ -0,0 +1,255 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * StatefulSetStatus represents the current state of a StatefulSet. + */ +@ApiModel(description = "StatefulSetStatus represents the current state of a StatefulSet.") + +public class V1beta2StatefulSetStatus { + @SerializedName("collisionCount") + private Integer collisionCount = null; + + @SerializedName("currentReplicas") + private Integer currentReplicas = null; + + @SerializedName("currentRevision") + private String currentRevision = null; + + @SerializedName("observedGeneration") + private Long observedGeneration = null; + + @SerializedName("readyReplicas") + private Integer readyReplicas = null; + + @SerializedName("replicas") + private Integer replicas = null; + + @SerializedName("updateRevision") + private String updateRevision = null; + + @SerializedName("updatedReplicas") + private Integer updatedReplicas = null; + + public V1beta2StatefulSetStatus collisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + return this; + } + + /** + * collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + * @return collisionCount + **/ + @ApiModelProperty(value = "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.") + public Integer getCollisionCount() { + return collisionCount; + } + + public void setCollisionCount(Integer collisionCount) { + this.collisionCount = collisionCount; + } + + public V1beta2StatefulSetStatus currentReplicas(Integer currentReplicas) { + this.currentReplicas = currentReplicas; + return this; + } + + /** + * currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + * @return currentReplicas + **/ + @ApiModelProperty(value = "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.") + public Integer getCurrentReplicas() { + return currentReplicas; + } + + public void setCurrentReplicas(Integer currentReplicas) { + this.currentReplicas = currentReplicas; + } + + public V1beta2StatefulSetStatus currentRevision(String currentRevision) { + this.currentRevision = currentRevision; + return this; + } + + /** + * currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + * @return currentRevision + **/ + @ApiModelProperty(value = "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).") + public String getCurrentRevision() { + return currentRevision; + } + + public void setCurrentRevision(String currentRevision) { + this.currentRevision = currentRevision; + } + + public V1beta2StatefulSetStatus observedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + return this; + } + + /** + * observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. + * @return observedGeneration + **/ + @ApiModelProperty(value = "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.") + public Long getObservedGeneration() { + return observedGeneration; + } + + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + public V1beta2StatefulSetStatus readyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + return this; + } + + /** + * readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + * @return readyReplicas + **/ + @ApiModelProperty(value = "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.") + public Integer getReadyReplicas() { + return readyReplicas; + } + + public void setReadyReplicas(Integer readyReplicas) { + this.readyReplicas = readyReplicas; + } + + public V1beta2StatefulSetStatus replicas(Integer replicas) { + this.replicas = replicas; + return this; + } + + /** + * replicas is the number of Pods created by the StatefulSet controller. + * @return replicas + **/ + @ApiModelProperty(required = true, value = "replicas is the number of Pods created by the StatefulSet controller.") + public Integer getReplicas() { + return replicas; + } + + public void setReplicas(Integer replicas) { + this.replicas = replicas; + } + + public V1beta2StatefulSetStatus updateRevision(String updateRevision) { + this.updateRevision = updateRevision; + return this; + } + + /** + * updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + * @return updateRevision + **/ + @ApiModelProperty(value = "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)") + public String getUpdateRevision() { + return updateRevision; + } + + public void setUpdateRevision(String updateRevision) { + this.updateRevision = updateRevision; + } + + public V1beta2StatefulSetStatus updatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + return this; + } + + /** + * updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. + * @return updatedReplicas + **/ + @ApiModelProperty(value = "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.") + public Integer getUpdatedReplicas() { + return updatedReplicas; + } + + public void setUpdatedReplicas(Integer updatedReplicas) { + this.updatedReplicas = updatedReplicas; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2StatefulSetStatus v1beta2StatefulSetStatus = (V1beta2StatefulSetStatus) o; + return Objects.equals(this.collisionCount, v1beta2StatefulSetStatus.collisionCount) && + Objects.equals(this.currentReplicas, v1beta2StatefulSetStatus.currentReplicas) && + Objects.equals(this.currentRevision, v1beta2StatefulSetStatus.currentRevision) && + Objects.equals(this.observedGeneration, v1beta2StatefulSetStatus.observedGeneration) && + Objects.equals(this.readyReplicas, v1beta2StatefulSetStatus.readyReplicas) && + Objects.equals(this.replicas, v1beta2StatefulSetStatus.replicas) && + Objects.equals(this.updateRevision, v1beta2StatefulSetStatus.updateRevision) && + Objects.equals(this.updatedReplicas, v1beta2StatefulSetStatus.updatedReplicas); + } + + @Override + public int hashCode() { + return Objects.hash(collisionCount, currentReplicas, currentRevision, observedGeneration, readyReplicas, replicas, updateRevision, updatedReplicas); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2StatefulSetStatus {\n"); + + sb.append(" collisionCount: ").append(toIndentedString(collisionCount)).append("\n"); + sb.append(" currentReplicas: ").append(toIndentedString(currentReplicas)).append("\n"); + sb.append(" currentRevision: ").append(toIndentedString(currentRevision)).append("\n"); + sb.append(" observedGeneration: ").append(toIndentedString(observedGeneration)).append("\n"); + sb.append(" readyReplicas: ").append(toIndentedString(readyReplicas)).append("\n"); + sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n"); + sb.append(" updateRevision: ").append(toIndentedString(updateRevision)).append("\n"); + sb.append(" updatedReplicas: ").append(toIndentedString(updatedReplicas)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetUpdateStrategy.java b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetUpdateStrategy.java new file mode 100644 index 0000000000..a8cb86c389 --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V1beta2StatefulSetUpdateStrategy.java @@ -0,0 +1,118 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.kubernetes.client.models.V1beta2RollingUpdateStatefulSetStrategy; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + */ +@ApiModel(description = "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.") + +public class V1beta2StatefulSetUpdateStrategy { + @SerializedName("rollingUpdate") + private V1beta2RollingUpdateStatefulSetStrategy rollingUpdate = null; + + @SerializedName("type") + private String type = null; + + public V1beta2StatefulSetUpdateStrategy rollingUpdate(V1beta2RollingUpdateStatefulSetStrategy rollingUpdate) { + this.rollingUpdate = rollingUpdate; + return this; + } + + /** + * RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. + * @return rollingUpdate + **/ + @ApiModelProperty(value = "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.") + public V1beta2RollingUpdateStatefulSetStrategy getRollingUpdate() { + return rollingUpdate; + } + + public void setRollingUpdate(V1beta2RollingUpdateStatefulSetStrategy rollingUpdate) { + this.rollingUpdate = rollingUpdate; + } + + public V1beta2StatefulSetUpdateStrategy type(String type) { + this.type = type; + return this; + } + + /** + * Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. + * @return type + **/ + @ApiModelProperty(value = "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V1beta2StatefulSetUpdateStrategy v1beta2StatefulSetUpdateStrategy = (V1beta2StatefulSetUpdateStrategy) o; + return Objects.equals(this.rollingUpdate, v1beta2StatefulSetUpdateStrategy.rollingUpdate) && + Objects.equals(this.type, v1beta2StatefulSetUpdateStrategy.type); + } + + @Override + public int hashCode() { + return Objects.hash(rollingUpdate, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V1beta2StatefulSetUpdateStrategy {\n"); + + sb.append(" rollingUpdate: ").append(toIndentedString(rollingUpdate)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJob.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJob.java index c69c2eb00f..eab05fde9a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJob.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJob.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V2alpha1CronJob apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -71,10 +71,10 @@ public V2alpha1CronJob kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -89,10 +89,10 @@ public V2alpha1CronJob metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -107,10 +107,10 @@ public V2alpha1CronJob spec(V2alpha1CronJobSpec spec) { } /** - * Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V2alpha1CronJobSpec getSpec() { return spec; } @@ -125,10 +125,10 @@ public V2alpha1CronJob status(V2alpha1CronJobStatus status) { } /** - * Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return status **/ - @ApiModelProperty(value = "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V2alpha1CronJobStatus getStatus() { return status; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobList.java index 8166e3f397..8bc2724831 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -51,10 +51,10 @@ public V2alpha1CronJobList apiVersion(String apiVersion) { } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -74,10 +74,10 @@ public V2alpha1CronJobList addItemsItem(V2alpha1CronJob itemsItem) { } /** - * Items is the list of CronJob. + * items is the list of CronJobs. * @return items **/ - @ApiModelProperty(required = true, value = "Items is the list of CronJob.") + @ApiModelProperty(required = true, value = "items is the list of CronJobs.") public List getItems() { return items; } @@ -92,10 +92,10 @@ public V2alpha1CronJobList kind(String kind) { } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -110,10 +110,10 @@ public V2alpha1CronJobList metadata(V1ListMeta metadata) { } /** - * Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ListMeta getMetadata() { return metadata; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobSpec.java index eb9f2cd189..e424773605 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -57,10 +57,10 @@ public V2alpha1CronJobSpec concurrencyPolicy(String concurrencyPolicy) { } /** - * ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow. + * Specifies how to treat concurrent executions of a Job. Defaults to Allow. * @return concurrencyPolicy **/ - @ApiModelProperty(value = "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.") + @ApiModelProperty(value = "Specifies how to treat concurrent executions of a Job. Defaults to Allow.") public String getConcurrencyPolicy() { return concurrencyPolicy; } @@ -93,10 +93,10 @@ public V2alpha1CronJobSpec jobTemplate(V2alpha1JobTemplateSpec jobTemplate) { } /** - * JobTemplate is the object that describes the job that will be created when executing a CronJob. + * Specifies the job that will be created when executing a CronJob. * @return jobTemplate **/ - @ApiModelProperty(required = true, value = "JobTemplate is the object that describes the job that will be created when executing a CronJob.") + @ApiModelProperty(required = true, value = "Specifies the job that will be created when executing a CronJob.") public V2alpha1JobTemplateSpec getJobTemplate() { return jobTemplate; } @@ -111,10 +111,10 @@ public V2alpha1CronJobSpec schedule(String schedule) { } /** - * Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. + * The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. * @return schedule **/ - @ApiModelProperty(required = true, value = "Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.") + @ApiModelProperty(required = true, value = "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.") public String getSchedule() { return schedule; } @@ -165,10 +165,10 @@ public V2alpha1CronJobSpec suspend(Boolean suspend) { } /** - * Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. + * This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. * @return suspend **/ - @ApiModelProperty(value = "Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.") + @ApiModelProperty(value = "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.") public Boolean isSuspend() { return suspend; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobStatus.java index afdac595f3..5d2e673adc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CronJobStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -53,10 +53,10 @@ public V2alpha1CronJobStatus addActiveItem(V1ObjectReference activeItem) { } /** - * Active holds pointers to currently running jobs. + * A list of pointers to currently running jobs. * @return active **/ - @ApiModelProperty(value = "Active holds pointers to currently running jobs.") + @ApiModelProperty(value = "A list of pointers to currently running jobs.") public List getActive() { return active; } @@ -71,10 +71,10 @@ public V2alpha1CronJobStatus lastScheduleTime(DateTime lastScheduleTime) { } /** - * LastScheduleTime keeps information of when was the last time the job was successfully scheduled. + * Information when was the last time the job was successfully scheduled. * @return lastScheduleTime **/ - @ApiModelProperty(value = "LastScheduleTime keeps information of when was the last time the job was successfully scheduled.") + @ApiModelProperty(value = "Information when was the last time the job was successfully scheduled.") public DateTime getLastScheduleTime() { return lastScheduleTime; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1JobTemplateSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1JobTemplateSpec.java index 610dc263e4..c968dee5a2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1JobTemplateSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1JobTemplateSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -43,10 +43,10 @@ public V2alpha1JobTemplateSpec metadata(V1ObjectMeta metadata) { } /** - * Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -61,10 +61,10 @@ public V2alpha1JobTemplateSpec spec(V1JobSpec spec) { } /** - * Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status + * Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status * @return spec **/ - @ApiModelProperty(value = "Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status") + @ApiModelProperty(value = "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status") public V1JobSpec getSpec() { return spec; } diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CrossVersionObjectReference.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1CrossVersionObjectReference.java similarity index 76% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CrossVersionObjectReference.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1CrossVersionObjectReference.java index 460b671dc3..d1c7c82637 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1CrossVersionObjectReference.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1CrossVersionObjectReference.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,7 +28,7 @@ */ @ApiModel(description = "CrossVersionObjectReference contains enough information to let you identify the referred resource.") -public class V2alpha1CrossVersionObjectReference { +public class V2beta1CrossVersionObjectReference { @SerializedName("apiVersion") private String apiVersion = null; @@ -38,7 +38,7 @@ public class V2alpha1CrossVersionObjectReference { @SerializedName("name") private String name = null; - public V2alpha1CrossVersionObjectReference apiVersion(String apiVersion) { + public V2beta1CrossVersionObjectReference apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } @@ -56,16 +56,16 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } - public V2alpha1CrossVersionObjectReference kind(String kind) { + public V2beta1CrossVersionObjectReference kind(String kind) { this.kind = kind; return this; } /** - * Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" + * Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" * @return kind **/ - @ApiModelProperty(required = true, value = "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"") + @ApiModelProperty(required = true, value = "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"") public String getKind() { return kind; } @@ -74,7 +74,7 @@ public void setKind(String kind) { this.kind = kind; } - public V2alpha1CrossVersionObjectReference name(String name) { + public V2beta1CrossVersionObjectReference name(String name) { this.name = name; return this; } @@ -101,10 +101,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1CrossVersionObjectReference v2alpha1CrossVersionObjectReference = (V2alpha1CrossVersionObjectReference) o; - return Objects.equals(this.apiVersion, v2alpha1CrossVersionObjectReference.apiVersion) && - Objects.equals(this.kind, v2alpha1CrossVersionObjectReference.kind) && - Objects.equals(this.name, v2alpha1CrossVersionObjectReference.name); + V2beta1CrossVersionObjectReference v2beta1CrossVersionObjectReference = (V2beta1CrossVersionObjectReference) o; + return Objects.equals(this.apiVersion, v2beta1CrossVersionObjectReference.apiVersion) && + Objects.equals(this.kind, v2beta1CrossVersionObjectReference.kind) && + Objects.equals(this.name, v2beta1CrossVersionObjectReference.name); } @Override @@ -116,7 +116,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1CrossVersionObjectReference {\n"); + sb.append("class V2beta1CrossVersionObjectReference {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscaler.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscaler.java similarity index 65% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscaler.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscaler.java index bd4f98ba1d..e2b9200e13 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscaler.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscaler.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,8 +20,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1ObjectMeta; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscalerSpec; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscalerStatus; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscalerSpec; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscalerStatus; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -31,7 +31,7 @@ */ @ApiModel(description = "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.") -public class V2alpha1HorizontalPodAutoscaler { +public class V2beta1HorizontalPodAutoscaler { @SerializedName("apiVersion") private String apiVersion = null; @@ -42,21 +42,21 @@ public class V2alpha1HorizontalPodAutoscaler { private V1ObjectMeta metadata = null; @SerializedName("spec") - private V2alpha1HorizontalPodAutoscalerSpec spec = null; + private V2beta1HorizontalPodAutoscalerSpec spec = null; @SerializedName("status") - private V2alpha1HorizontalPodAutoscalerStatus status = null; + private V2beta1HorizontalPodAutoscalerStatus status = null; - public V2alpha1HorizontalPodAutoscaler apiVersion(String apiVersion) { + public V2beta1HorizontalPodAutoscaler apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -65,16 +65,16 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } - public V2alpha1HorizontalPodAutoscaler kind(String kind) { + public V2beta1HorizontalPodAutoscaler kind(String kind) { this.kind = kind; return this; } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -83,16 +83,16 @@ public void setKind(String kind) { this.kind = kind; } - public V2alpha1HorizontalPodAutoscaler metadata(V1ObjectMeta metadata) { + public V2beta1HorizontalPodAutoscaler metadata(V1ObjectMeta metadata) { this.metadata = metadata; return this; } /** - * metadata is the standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + * metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata * @return metadata **/ - @ApiModelProperty(value = "metadata is the standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata") + @ApiModelProperty(value = "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata") public V1ObjectMeta getMetadata() { return metadata; } @@ -101,25 +101,25 @@ public void setMetadata(V1ObjectMeta metadata) { this.metadata = metadata; } - public V2alpha1HorizontalPodAutoscaler spec(V2alpha1HorizontalPodAutoscalerSpec spec) { + public V2beta1HorizontalPodAutoscaler spec(V2beta1HorizontalPodAutoscalerSpec spec) { this.spec = spec; return this; } /** - * spec is the specification for the behaviour of the autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. + * spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. * @return spec **/ - @ApiModelProperty(value = "spec is the specification for the behaviour of the autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.") - public V2alpha1HorizontalPodAutoscalerSpec getSpec() { + @ApiModelProperty(value = "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.") + public V2beta1HorizontalPodAutoscalerSpec getSpec() { return spec; } - public void setSpec(V2alpha1HorizontalPodAutoscalerSpec spec) { + public void setSpec(V2beta1HorizontalPodAutoscalerSpec spec) { this.spec = spec; } - public V2alpha1HorizontalPodAutoscaler status(V2alpha1HorizontalPodAutoscalerStatus status) { + public V2beta1HorizontalPodAutoscaler status(V2beta1HorizontalPodAutoscalerStatus status) { this.status = status; return this; } @@ -129,11 +129,11 @@ public V2alpha1HorizontalPodAutoscaler status(V2alpha1HorizontalPodAutoscalerSta * @return status **/ @ApiModelProperty(value = "status is the current information about the autoscaler.") - public V2alpha1HorizontalPodAutoscalerStatus getStatus() { + public V2beta1HorizontalPodAutoscalerStatus getStatus() { return status; } - public void setStatus(V2alpha1HorizontalPodAutoscalerStatus status) { + public void setStatus(V2beta1HorizontalPodAutoscalerStatus status) { this.status = status; } @@ -146,12 +146,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1HorizontalPodAutoscaler v2alpha1HorizontalPodAutoscaler = (V2alpha1HorizontalPodAutoscaler) o; - return Objects.equals(this.apiVersion, v2alpha1HorizontalPodAutoscaler.apiVersion) && - Objects.equals(this.kind, v2alpha1HorizontalPodAutoscaler.kind) && - Objects.equals(this.metadata, v2alpha1HorizontalPodAutoscaler.metadata) && - Objects.equals(this.spec, v2alpha1HorizontalPodAutoscaler.spec) && - Objects.equals(this.status, v2alpha1HorizontalPodAutoscaler.status); + V2beta1HorizontalPodAutoscaler v2beta1HorizontalPodAutoscaler = (V2beta1HorizontalPodAutoscaler) o; + return Objects.equals(this.apiVersion, v2beta1HorizontalPodAutoscaler.apiVersion) && + Objects.equals(this.kind, v2beta1HorizontalPodAutoscaler.kind) && + Objects.equals(this.metadata, v2beta1HorizontalPodAutoscaler.metadata) && + Objects.equals(this.spec, v2beta1HorizontalPodAutoscaler.spec) && + Objects.equals(this.status, v2beta1HorizontalPodAutoscaler.status); } @Override @@ -163,7 +163,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1HorizontalPodAutoscaler {\n"); + sb.append("class V2beta1HorizontalPodAutoscaler {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" kind: ").append(toIndentedString(kind)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerCondition.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerCondition.java new file mode 100644 index 0000000000..c2cb769ced --- /dev/null +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerCondition.java @@ -0,0 +1,187 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.joda.time.DateTime; + +/** + * HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. + */ +@ApiModel(description = "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.") + +public class V2beta1HorizontalPodAutoscalerCondition { + @SerializedName("lastTransitionTime") + private DateTime lastTransitionTime = null; + + @SerializedName("message") + private String message = null; + + @SerializedName("reason") + private String reason = null; + + @SerializedName("status") + private String status = null; + + @SerializedName("type") + private String type = null; + + public V2beta1HorizontalPodAutoscalerCondition lastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + return this; + } + + /** + * lastTransitionTime is the last time the condition transitioned from one status to another + * @return lastTransitionTime + **/ + @ApiModelProperty(value = "lastTransitionTime is the last time the condition transitioned from one status to another") + public DateTime getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(DateTime lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + public V2beta1HorizontalPodAutoscalerCondition message(String message) { + this.message = message; + return this; + } + + /** + * message is a human-readable explanation containing details about the transition + * @return message + **/ + @ApiModelProperty(value = "message is a human-readable explanation containing details about the transition") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public V2beta1HorizontalPodAutoscalerCondition reason(String reason) { + this.reason = reason; + return this; + } + + /** + * reason is the reason for the condition's last transition. + * @return reason + **/ + @ApiModelProperty(value = "reason is the reason for the condition's last transition.") + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public V2beta1HorizontalPodAutoscalerCondition status(String status) { + this.status = status; + return this; + } + + /** + * status is the status of the condition (True, False, Unknown) + * @return status + **/ + @ApiModelProperty(required = true, value = "status is the status of the condition (True, False, Unknown)") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public V2beta1HorizontalPodAutoscalerCondition type(String type) { + this.type = type; + return this; + } + + /** + * type describes the current condition + * @return type + **/ + @ApiModelProperty(required = true, value = "type describes the current condition") + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + V2beta1HorizontalPodAutoscalerCondition v2beta1HorizontalPodAutoscalerCondition = (V2beta1HorizontalPodAutoscalerCondition) o; + return Objects.equals(this.lastTransitionTime, v2beta1HorizontalPodAutoscalerCondition.lastTransitionTime) && + Objects.equals(this.message, v2beta1HorizontalPodAutoscalerCondition.message) && + Objects.equals(this.reason, v2beta1HorizontalPodAutoscalerCondition.reason) && + Objects.equals(this.status, v2beta1HorizontalPodAutoscalerCondition.status) && + Objects.equals(this.type, v2beta1HorizontalPodAutoscalerCondition.type); + } + + @Override + public int hashCode() { + return Objects.hash(lastTransitionTime, message, reason, status, type); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class V2beta1HorizontalPodAutoscalerCondition {\n"); + + sb.append(" lastTransitionTime: ").append(toIndentedString(lastTransitionTime)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerList.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerList.java similarity index 70% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerList.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerList.java index 4499e53b32..0c6088fdde 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerList.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerList.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -20,7 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.kubernetes.client.models.V1ListMeta; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscaler; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscaler; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -32,12 +32,12 @@ */ @ApiModel(description = "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.") -public class V2alpha1HorizontalPodAutoscalerList { +public class V2beta1HorizontalPodAutoscalerList { @SerializedName("apiVersion") private String apiVersion = null; @SerializedName("items") - private List items = new ArrayList(); + private List items = new ArrayList(); @SerializedName("kind") private String kind = null; @@ -45,16 +45,16 @@ public class V2alpha1HorizontalPodAutoscalerList { @SerializedName("metadata") private V1ListMeta metadata = null; - public V2alpha1HorizontalPodAutoscalerList apiVersion(String apiVersion) { + public V2beta1HorizontalPodAutoscalerList apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** - * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources * @return apiVersion **/ - @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources") + @ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources") public String getApiVersion() { return apiVersion; } @@ -63,12 +63,12 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } - public V2alpha1HorizontalPodAutoscalerList items(List items) { + public V2beta1HorizontalPodAutoscalerList items(List items) { this.items = items; return this; } - public V2alpha1HorizontalPodAutoscalerList addItemsItem(V2alpha1HorizontalPodAutoscaler itemsItem) { + public V2beta1HorizontalPodAutoscalerList addItemsItem(V2beta1HorizontalPodAutoscaler itemsItem) { this.items.add(itemsItem); return this; } @@ -78,24 +78,24 @@ public V2alpha1HorizontalPodAutoscalerList addItemsItem(V2alpha1HorizontalPodAut * @return items **/ @ApiModelProperty(required = true, value = "items is the list of horizontal pod autoscaler objects.") - public List getItems() { + public List getItems() { return items; } - public void setItems(List items) { + public void setItems(List items) { this.items = items; } - public V2alpha1HorizontalPodAutoscalerList kind(String kind) { + public V2beta1HorizontalPodAutoscalerList kind(String kind) { this.kind = kind; return this; } /** - * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds * @return kind **/ - @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds") + @ApiModelProperty(value = "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds") public String getKind() { return kind; } @@ -104,7 +104,7 @@ public void setKind(String kind) { this.kind = kind; } - public V2alpha1HorizontalPodAutoscalerList metadata(V1ListMeta metadata) { + public V2beta1HorizontalPodAutoscalerList metadata(V1ListMeta metadata) { this.metadata = metadata; return this; } @@ -131,11 +131,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1HorizontalPodAutoscalerList v2alpha1HorizontalPodAutoscalerList = (V2alpha1HorizontalPodAutoscalerList) o; - return Objects.equals(this.apiVersion, v2alpha1HorizontalPodAutoscalerList.apiVersion) && - Objects.equals(this.items, v2alpha1HorizontalPodAutoscalerList.items) && - Objects.equals(this.kind, v2alpha1HorizontalPodAutoscalerList.kind) && - Objects.equals(this.metadata, v2alpha1HorizontalPodAutoscalerList.metadata); + V2beta1HorizontalPodAutoscalerList v2beta1HorizontalPodAutoscalerList = (V2beta1HorizontalPodAutoscalerList) o; + return Objects.equals(this.apiVersion, v2beta1HorizontalPodAutoscalerList.apiVersion) && + Objects.equals(this.items, v2beta1HorizontalPodAutoscalerList.items) && + Objects.equals(this.kind, v2beta1HorizontalPodAutoscalerList.kind) && + Objects.equals(this.metadata, v2beta1HorizontalPodAutoscalerList.metadata); } @Override @@ -147,7 +147,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1HorizontalPodAutoscalerList {\n"); + sb.append("class V2beta1HorizontalPodAutoscalerList {\n"); sb.append(" apiVersion: ").append(toIndentedString(apiVersion)).append("\n"); sb.append(" items: ").append(toIndentedString(items)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerSpec.java similarity index 75% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerSpec.java index 5882b3494c..3708b910fc 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,8 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1CrossVersionObjectReference; -import io.kubernetes.client.models.V2alpha1MetricSpec; +import io.kubernetes.client.models.V2beta1CrossVersionObjectReference; +import io.kubernetes.client.models.V2beta1MetricSpec; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -32,20 +32,20 @@ */ @ApiModel(description = "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.") -public class V2alpha1HorizontalPodAutoscalerSpec { +public class V2beta1HorizontalPodAutoscalerSpec { @SerializedName("maxReplicas") private Integer maxReplicas = null; @SerializedName("metrics") - private List metrics = null; + private List metrics = null; @SerializedName("minReplicas") private Integer minReplicas = null; @SerializedName("scaleTargetRef") - private V2alpha1CrossVersionObjectReference scaleTargetRef = null; + private V2beta1CrossVersionObjectReference scaleTargetRef = null; - public V2alpha1HorizontalPodAutoscalerSpec maxReplicas(Integer maxReplicas) { + public V2beta1HorizontalPodAutoscalerSpec maxReplicas(Integer maxReplicas) { this.maxReplicas = maxReplicas; return this; } @@ -63,14 +63,14 @@ public void setMaxReplicas(Integer maxReplicas) { this.maxReplicas = maxReplicas; } - public V2alpha1HorizontalPodAutoscalerSpec metrics(List metrics) { + public V2beta1HorizontalPodAutoscalerSpec metrics(List metrics) { this.metrics = metrics; return this; } - public V2alpha1HorizontalPodAutoscalerSpec addMetricsItem(V2alpha1MetricSpec metricsItem) { + public V2beta1HorizontalPodAutoscalerSpec addMetricsItem(V2beta1MetricSpec metricsItem) { if (this.metrics == null) { - this.metrics = new ArrayList(); + this.metrics = new ArrayList(); } this.metrics.add(metricsItem); return this; @@ -81,15 +81,15 @@ public V2alpha1HorizontalPodAutoscalerSpec addMetricsItem(V2alpha1MetricSpec met * @return metrics **/ @ApiModelProperty(value = "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.") - public List getMetrics() { + public List getMetrics() { return metrics; } - public void setMetrics(List metrics) { + public void setMetrics(List metrics) { this.metrics = metrics; } - public V2alpha1HorizontalPodAutoscalerSpec minReplicas(Integer minReplicas) { + public V2beta1HorizontalPodAutoscalerSpec minReplicas(Integer minReplicas) { this.minReplicas = minReplicas; return this; } @@ -107,7 +107,7 @@ public void setMinReplicas(Integer minReplicas) { this.minReplicas = minReplicas; } - public V2alpha1HorizontalPodAutoscalerSpec scaleTargetRef(V2alpha1CrossVersionObjectReference scaleTargetRef) { + public V2beta1HorizontalPodAutoscalerSpec scaleTargetRef(V2beta1CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; return this; } @@ -117,11 +117,11 @@ public V2alpha1HorizontalPodAutoscalerSpec scaleTargetRef(V2alpha1CrossVersionOb * @return scaleTargetRef **/ @ApiModelProperty(required = true, value = "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.") - public V2alpha1CrossVersionObjectReference getScaleTargetRef() { + public V2beta1CrossVersionObjectReference getScaleTargetRef() { return scaleTargetRef; } - public void setScaleTargetRef(V2alpha1CrossVersionObjectReference scaleTargetRef) { + public void setScaleTargetRef(V2beta1CrossVersionObjectReference scaleTargetRef) { this.scaleTargetRef = scaleTargetRef; } @@ -134,11 +134,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1HorizontalPodAutoscalerSpec v2alpha1HorizontalPodAutoscalerSpec = (V2alpha1HorizontalPodAutoscalerSpec) o; - return Objects.equals(this.maxReplicas, v2alpha1HorizontalPodAutoscalerSpec.maxReplicas) && - Objects.equals(this.metrics, v2alpha1HorizontalPodAutoscalerSpec.metrics) && - Objects.equals(this.minReplicas, v2alpha1HorizontalPodAutoscalerSpec.minReplicas) && - Objects.equals(this.scaleTargetRef, v2alpha1HorizontalPodAutoscalerSpec.scaleTargetRef); + V2beta1HorizontalPodAutoscalerSpec v2beta1HorizontalPodAutoscalerSpec = (V2beta1HorizontalPodAutoscalerSpec) o; + return Objects.equals(this.maxReplicas, v2beta1HorizontalPodAutoscalerSpec.maxReplicas) && + Objects.equals(this.metrics, v2beta1HorizontalPodAutoscalerSpec.metrics) && + Objects.equals(this.minReplicas, v2beta1HorizontalPodAutoscalerSpec.minReplicas) && + Objects.equals(this.scaleTargetRef, v2beta1HorizontalPodAutoscalerSpec.scaleTargetRef); } @Override @@ -150,7 +150,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1HorizontalPodAutoscalerSpec {\n"); + sb.append("class V2beta1HorizontalPodAutoscalerSpec {\n"); sb.append(" maxReplicas: ").append(toIndentedString(maxReplicas)).append("\n"); sb.append(" metrics: ").append(toIndentedString(metrics)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerStatus.java similarity index 62% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerStatus.java index 2f7b0b3330..28640265e6 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1HorizontalPodAutoscalerStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1HorizontalPodAutoscalerStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,7 +19,8 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1MetricStatus; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscalerCondition; +import io.kubernetes.client.models.V2beta1MetricStatus; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -32,9 +33,12 @@ */ @ApiModel(description = "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.") -public class V2alpha1HorizontalPodAutoscalerStatus { +public class V2beta1HorizontalPodAutoscalerStatus { + @SerializedName("conditions") + private List conditions = new ArrayList(); + @SerializedName("currentMetrics") - private List currentMetrics = new ArrayList(); + private List currentMetrics = new ArrayList(); @SerializedName("currentReplicas") private Integer currentReplicas = null; @@ -48,12 +52,35 @@ public class V2alpha1HorizontalPodAutoscalerStatus { @SerializedName("observedGeneration") private Long observedGeneration = null; - public V2alpha1HorizontalPodAutoscalerStatus currentMetrics(List currentMetrics) { + public V2beta1HorizontalPodAutoscalerStatus conditions(List conditions) { + this.conditions = conditions; + return this; + } + + public V2beta1HorizontalPodAutoscalerStatus addConditionsItem(V2beta1HorizontalPodAutoscalerCondition conditionsItem) { + this.conditions.add(conditionsItem); + return this; + } + + /** + * conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. + * @return conditions + **/ + @ApiModelProperty(required = true, value = "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.") + public List getConditions() { + return conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + public V2beta1HorizontalPodAutoscalerStatus currentMetrics(List currentMetrics) { this.currentMetrics = currentMetrics; return this; } - public V2alpha1HorizontalPodAutoscalerStatus addCurrentMetricsItem(V2alpha1MetricStatus currentMetricsItem) { + public V2beta1HorizontalPodAutoscalerStatus addCurrentMetricsItem(V2beta1MetricStatus currentMetricsItem) { this.currentMetrics.add(currentMetricsItem); return this; } @@ -63,15 +90,15 @@ public V2alpha1HorizontalPodAutoscalerStatus addCurrentMetricsItem(V2alpha1Metri * @return currentMetrics **/ @ApiModelProperty(required = true, value = "currentMetrics is the last read state of the metrics used by this autoscaler.") - public List getCurrentMetrics() { + public List getCurrentMetrics() { return currentMetrics; } - public void setCurrentMetrics(List currentMetrics) { + public void setCurrentMetrics(List currentMetrics) { this.currentMetrics = currentMetrics; } - public V2alpha1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas) { + public V2beta1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas) { this.currentReplicas = currentReplicas; return this; } @@ -89,7 +116,7 @@ public void setCurrentReplicas(Integer currentReplicas) { this.currentReplicas = currentReplicas; } - public V2alpha1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas) { + public V2beta1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas) { this.desiredReplicas = desiredReplicas; return this; } @@ -107,7 +134,7 @@ public void setDesiredReplicas(Integer desiredReplicas) { this.desiredReplicas = desiredReplicas; } - public V2alpha1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { + public V2beta1HorizontalPodAutoscalerStatus lastScaleTime(DateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; return this; } @@ -125,7 +152,7 @@ public void setLastScaleTime(DateTime lastScaleTime) { this.lastScaleTime = lastScaleTime; } - public V2alpha1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration) { + public V2beta1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration) { this.observedGeneration = observedGeneration; return this; } @@ -152,25 +179,27 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1HorizontalPodAutoscalerStatus v2alpha1HorizontalPodAutoscalerStatus = (V2alpha1HorizontalPodAutoscalerStatus) o; - return Objects.equals(this.currentMetrics, v2alpha1HorizontalPodAutoscalerStatus.currentMetrics) && - Objects.equals(this.currentReplicas, v2alpha1HorizontalPodAutoscalerStatus.currentReplicas) && - Objects.equals(this.desiredReplicas, v2alpha1HorizontalPodAutoscalerStatus.desiredReplicas) && - Objects.equals(this.lastScaleTime, v2alpha1HorizontalPodAutoscalerStatus.lastScaleTime) && - Objects.equals(this.observedGeneration, v2alpha1HorizontalPodAutoscalerStatus.observedGeneration); + V2beta1HorizontalPodAutoscalerStatus v2beta1HorizontalPodAutoscalerStatus = (V2beta1HorizontalPodAutoscalerStatus) o; + return Objects.equals(this.conditions, v2beta1HorizontalPodAutoscalerStatus.conditions) && + Objects.equals(this.currentMetrics, v2beta1HorizontalPodAutoscalerStatus.currentMetrics) && + Objects.equals(this.currentReplicas, v2beta1HorizontalPodAutoscalerStatus.currentReplicas) && + Objects.equals(this.desiredReplicas, v2beta1HorizontalPodAutoscalerStatus.desiredReplicas) && + Objects.equals(this.lastScaleTime, v2beta1HorizontalPodAutoscalerStatus.lastScaleTime) && + Objects.equals(this.observedGeneration, v2beta1HorizontalPodAutoscalerStatus.observedGeneration); } @Override public int hashCode() { - return Objects.hash(currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration); + return Objects.hash(conditions, currentMetrics, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1HorizontalPodAutoscalerStatus {\n"); + sb.append("class V2beta1HorizontalPodAutoscalerStatus {\n"); + sb.append(" conditions: ").append(toIndentedString(conditions)).append("\n"); sb.append(" currentMetrics: ").append(toIndentedString(currentMetrics)).append("\n"); sb.append(" currentReplicas: ").append(toIndentedString(currentReplicas)).append("\n"); sb.append(" desiredReplicas: ").append(toIndentedString(desiredReplicas)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricSpec.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricSpec.java similarity index 76% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricSpec.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricSpec.java index 9a2a7d0167..4b39e92402 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricSpec.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricSpec.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,9 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1ObjectMetricSource; -import io.kubernetes.client.models.V2alpha1PodsMetricSource; -import io.kubernetes.client.models.V2alpha1ResourceMetricSource; +import io.kubernetes.client.models.V2beta1ObjectMetricSource; +import io.kubernetes.client.models.V2beta1PodsMetricSource; +import io.kubernetes.client.models.V2beta1ResourceMetricSource; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -31,20 +31,20 @@ */ @ApiModel(description = "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).") -public class V2alpha1MetricSpec { +public class V2beta1MetricSpec { @SerializedName("object") - private V2alpha1ObjectMetricSource object = null; + private V2beta1ObjectMetricSource object = null; @SerializedName("pods") - private V2alpha1PodsMetricSource pods = null; + private V2beta1PodsMetricSource pods = null; @SerializedName("resource") - private V2alpha1ResourceMetricSource resource = null; + private V2beta1ResourceMetricSource resource = null; @SerializedName("type") private String type = null; - public V2alpha1MetricSpec object(V2alpha1ObjectMetricSource object) { + public V2beta1MetricSpec object(V2beta1ObjectMetricSource object) { this.object = object; return this; } @@ -54,15 +54,15 @@ public V2alpha1MetricSpec object(V2alpha1ObjectMetricSource object) { * @return object **/ @ApiModelProperty(value = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).") - public V2alpha1ObjectMetricSource getObject() { + public V2beta1ObjectMetricSource getObject() { return object; } - public void setObject(V2alpha1ObjectMetricSource object) { + public void setObject(V2beta1ObjectMetricSource object) { this.object = object; } - public V2alpha1MetricSpec pods(V2alpha1PodsMetricSource pods) { + public V2beta1MetricSpec pods(V2beta1PodsMetricSource pods) { this.pods = pods; return this; } @@ -72,15 +72,15 @@ public V2alpha1MetricSpec pods(V2alpha1PodsMetricSource pods) { * @return pods **/ @ApiModelProperty(value = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") - public V2alpha1PodsMetricSource getPods() { + public V2beta1PodsMetricSource getPods() { return pods; } - public void setPods(V2alpha1PodsMetricSource pods) { + public void setPods(V2beta1PodsMetricSource pods) { this.pods = pods; } - public V2alpha1MetricSpec resource(V2alpha1ResourceMetricSource resource) { + public V2beta1MetricSpec resource(V2beta1ResourceMetricSource resource) { this.resource = resource; return this; } @@ -90,15 +90,15 @@ public V2alpha1MetricSpec resource(V2alpha1ResourceMetricSource resource) { * @return resource **/ @ApiModelProperty(value = "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") - public V2alpha1ResourceMetricSource getResource() { + public V2beta1ResourceMetricSource getResource() { return resource; } - public void setResource(V2alpha1ResourceMetricSource resource) { + public void setResource(V2beta1ResourceMetricSource resource) { this.resource = resource; } - public V2alpha1MetricSpec type(String type) { + public V2beta1MetricSpec type(String type) { this.type = type; return this; } @@ -125,11 +125,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1MetricSpec v2alpha1MetricSpec = (V2alpha1MetricSpec) o; - return Objects.equals(this.object, v2alpha1MetricSpec.object) && - Objects.equals(this.pods, v2alpha1MetricSpec.pods) && - Objects.equals(this.resource, v2alpha1MetricSpec.resource) && - Objects.equals(this.type, v2alpha1MetricSpec.type); + V2beta1MetricSpec v2beta1MetricSpec = (V2beta1MetricSpec) o; + return Objects.equals(this.object, v2beta1MetricSpec.object) && + Objects.equals(this.pods, v2beta1MetricSpec.pods) && + Objects.equals(this.resource, v2beta1MetricSpec.resource) && + Objects.equals(this.type, v2beta1MetricSpec.type); } @Override @@ -141,7 +141,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1MetricSpec {\n"); + sb.append("class V2beta1MetricSpec {\n"); sb.append(" object: ").append(toIndentedString(object)).append("\n"); sb.append(" pods: ").append(toIndentedString(pods)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricStatus.java similarity index 75% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricStatus.java index d32df3c77a..1e773db1d2 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1MetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1MetricStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,9 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1ObjectMetricStatus; -import io.kubernetes.client.models.V2alpha1PodsMetricStatus; -import io.kubernetes.client.models.V2alpha1ResourceMetricStatus; +import io.kubernetes.client.models.V2beta1ObjectMetricStatus; +import io.kubernetes.client.models.V2beta1PodsMetricStatus; +import io.kubernetes.client.models.V2beta1ResourceMetricStatus; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -31,20 +31,20 @@ */ @ApiModel(description = "MetricStatus describes the last-read state of a single metric.") -public class V2alpha1MetricStatus { +public class V2beta1MetricStatus { @SerializedName("object") - private V2alpha1ObjectMetricStatus object = null; + private V2beta1ObjectMetricStatus object = null; @SerializedName("pods") - private V2alpha1PodsMetricStatus pods = null; + private V2beta1PodsMetricStatus pods = null; @SerializedName("resource") - private V2alpha1ResourceMetricStatus resource = null; + private V2beta1ResourceMetricStatus resource = null; @SerializedName("type") private String type = null; - public V2alpha1MetricStatus object(V2alpha1ObjectMetricStatus object) { + public V2beta1MetricStatus object(V2beta1ObjectMetricStatus object) { this.object = object; return this; } @@ -54,15 +54,15 @@ public V2alpha1MetricStatus object(V2alpha1ObjectMetricStatus object) { * @return object **/ @ApiModelProperty(value = "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).") - public V2alpha1ObjectMetricStatus getObject() { + public V2beta1ObjectMetricStatus getObject() { return object; } - public void setObject(V2alpha1ObjectMetricStatus object) { + public void setObject(V2beta1ObjectMetricStatus object) { this.object = object; } - public V2alpha1MetricStatus pods(V2alpha1PodsMetricStatus pods) { + public V2beta1MetricStatus pods(V2beta1PodsMetricStatus pods) { this.pods = pods; return this; } @@ -72,15 +72,15 @@ public V2alpha1MetricStatus pods(V2alpha1PodsMetricStatus pods) { * @return pods **/ @ApiModelProperty(value = "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") - public V2alpha1PodsMetricStatus getPods() { + public V2beta1PodsMetricStatus getPods() { return pods; } - public void setPods(V2alpha1PodsMetricStatus pods) { + public void setPods(V2beta1PodsMetricStatus pods) { this.pods = pods; } - public V2alpha1MetricStatus resource(V2alpha1ResourceMetricStatus resource) { + public V2beta1MetricStatus resource(V2beta1ResourceMetricStatus resource) { this.resource = resource; return this; } @@ -90,15 +90,15 @@ public V2alpha1MetricStatus resource(V2alpha1ResourceMetricStatus resource) { * @return resource **/ @ApiModelProperty(value = "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") - public V2alpha1ResourceMetricStatus getResource() { + public V2beta1ResourceMetricStatus getResource() { return resource; } - public void setResource(V2alpha1ResourceMetricStatus resource) { + public void setResource(V2beta1ResourceMetricStatus resource) { this.resource = resource; } - public V2alpha1MetricStatus type(String type) { + public V2beta1MetricStatus type(String type) { this.type = type; return this; } @@ -125,11 +125,11 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1MetricStatus v2alpha1MetricStatus = (V2alpha1MetricStatus) o; - return Objects.equals(this.object, v2alpha1MetricStatus.object) && - Objects.equals(this.pods, v2alpha1MetricStatus.pods) && - Objects.equals(this.resource, v2alpha1MetricStatus.resource) && - Objects.equals(this.type, v2alpha1MetricStatus.type); + V2beta1MetricStatus v2beta1MetricStatus = (V2beta1MetricStatus) o; + return Objects.equals(this.object, v2beta1MetricStatus.object) && + Objects.equals(this.pods, v2beta1MetricStatus.pods) && + Objects.equals(this.resource, v2beta1MetricStatus.resource) && + Objects.equals(this.type, v2beta1MetricStatus.type); } @Override @@ -141,7 +141,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1MetricStatus {\n"); + sb.append("class V2beta1MetricStatus {\n"); sb.append(" object: ").append(toIndentedString(object)).append("\n"); sb.append(" pods: ").append(toIndentedString(pods)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricSource.java similarity index 77% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricSource.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricSource.java index c85d18ce9b..2516364f75 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1CrossVersionObjectReference; +import io.kubernetes.client.models.V2beta1CrossVersionObjectReference; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -29,17 +29,17 @@ */ @ApiModel(description = "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") -public class V2alpha1ObjectMetricSource { +public class V2beta1ObjectMetricSource { @SerializedName("metricName") private String metricName = null; @SerializedName("target") - private V2alpha1CrossVersionObjectReference target = null; + private V2beta1CrossVersionObjectReference target = null; @SerializedName("targetValue") private String targetValue = null; - public V2alpha1ObjectMetricSource metricName(String metricName) { + public V2beta1ObjectMetricSource metricName(String metricName) { this.metricName = metricName; return this; } @@ -57,7 +57,7 @@ public void setMetricName(String metricName) { this.metricName = metricName; } - public V2alpha1ObjectMetricSource target(V2alpha1CrossVersionObjectReference target) { + public V2beta1ObjectMetricSource target(V2beta1CrossVersionObjectReference target) { this.target = target; return this; } @@ -67,15 +67,15 @@ public V2alpha1ObjectMetricSource target(V2alpha1CrossVersionObjectReference tar * @return target **/ @ApiModelProperty(required = true, value = "target is the described Kubernetes object.") - public V2alpha1CrossVersionObjectReference getTarget() { + public V2beta1CrossVersionObjectReference getTarget() { return target; } - public void setTarget(V2alpha1CrossVersionObjectReference target) { + public void setTarget(V2beta1CrossVersionObjectReference target) { this.target = target; } - public V2alpha1ObjectMetricSource targetValue(String targetValue) { + public V2beta1ObjectMetricSource targetValue(String targetValue) { this.targetValue = targetValue; return this; } @@ -102,10 +102,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1ObjectMetricSource v2alpha1ObjectMetricSource = (V2alpha1ObjectMetricSource) o; - return Objects.equals(this.metricName, v2alpha1ObjectMetricSource.metricName) && - Objects.equals(this.target, v2alpha1ObjectMetricSource.target) && - Objects.equals(this.targetValue, v2alpha1ObjectMetricSource.targetValue); + V2beta1ObjectMetricSource v2beta1ObjectMetricSource = (V2beta1ObjectMetricSource) o; + return Objects.equals(this.metricName, v2beta1ObjectMetricSource.metricName) && + Objects.equals(this.target, v2beta1ObjectMetricSource.target) && + Objects.equals(this.targetValue, v2beta1ObjectMetricSource.targetValue); } @Override @@ -117,7 +117,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1ObjectMetricSource {\n"); + sb.append("class V2beta1ObjectMetricSource {\n"); sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); sb.append(" target: ").append(toIndentedString(target)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricStatus.java similarity index 77% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricStatus.java index d9a1bb2c04..d01d4663f9 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ObjectMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ObjectMetricStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -19,7 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; -import io.kubernetes.client.models.V2alpha1CrossVersionObjectReference; +import io.kubernetes.client.models.V2beta1CrossVersionObjectReference; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -29,7 +29,7 @@ */ @ApiModel(description = "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).") -public class V2alpha1ObjectMetricStatus { +public class V2beta1ObjectMetricStatus { @SerializedName("currentValue") private String currentValue = null; @@ -37,9 +37,9 @@ public class V2alpha1ObjectMetricStatus { private String metricName = null; @SerializedName("target") - private V2alpha1CrossVersionObjectReference target = null; + private V2beta1CrossVersionObjectReference target = null; - public V2alpha1ObjectMetricStatus currentValue(String currentValue) { + public V2beta1ObjectMetricStatus currentValue(String currentValue) { this.currentValue = currentValue; return this; } @@ -57,7 +57,7 @@ public void setCurrentValue(String currentValue) { this.currentValue = currentValue; } - public V2alpha1ObjectMetricStatus metricName(String metricName) { + public V2beta1ObjectMetricStatus metricName(String metricName) { this.metricName = metricName; return this; } @@ -75,7 +75,7 @@ public void setMetricName(String metricName) { this.metricName = metricName; } - public V2alpha1ObjectMetricStatus target(V2alpha1CrossVersionObjectReference target) { + public V2beta1ObjectMetricStatus target(V2beta1CrossVersionObjectReference target) { this.target = target; return this; } @@ -85,11 +85,11 @@ public V2alpha1ObjectMetricStatus target(V2alpha1CrossVersionObjectReference tar * @return target **/ @ApiModelProperty(required = true, value = "target is the described Kubernetes object.") - public V2alpha1CrossVersionObjectReference getTarget() { + public V2beta1CrossVersionObjectReference getTarget() { return target; } - public void setTarget(V2alpha1CrossVersionObjectReference target) { + public void setTarget(V2beta1CrossVersionObjectReference target) { this.target = target; } @@ -102,10 +102,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1ObjectMetricStatus v2alpha1ObjectMetricStatus = (V2alpha1ObjectMetricStatus) o; - return Objects.equals(this.currentValue, v2alpha1ObjectMetricStatus.currentValue) && - Objects.equals(this.metricName, v2alpha1ObjectMetricStatus.metricName) && - Objects.equals(this.target, v2alpha1ObjectMetricStatus.target); + V2beta1ObjectMetricStatus v2beta1ObjectMetricStatus = (V2beta1ObjectMetricStatus) o; + return Objects.equals(this.currentValue, v2beta1ObjectMetricStatus.currentValue) && + Objects.equals(this.metricName, v2beta1ObjectMetricStatus.metricName) && + Objects.equals(this.target, v2beta1ObjectMetricStatus.target); } @Override @@ -117,7 +117,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1ObjectMetricStatus {\n"); + sb.append("class V2beta1ObjectMetricStatus {\n"); sb.append(" currentValue: ").append(toIndentedString(currentValue)).append("\n"); sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricSource.java similarity index 85% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricSource.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricSource.java index d32c4b0e4a..7885a2de8f 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,14 +28,14 @@ */ @ApiModel(description = "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.") -public class V2alpha1PodsMetricSource { +public class V2beta1PodsMetricSource { @SerializedName("metricName") private String metricName = null; @SerializedName("targetAverageValue") private String targetAverageValue = null; - public V2alpha1PodsMetricSource metricName(String metricName) { + public V2beta1PodsMetricSource metricName(String metricName) { this.metricName = metricName; return this; } @@ -53,7 +53,7 @@ public void setMetricName(String metricName) { this.metricName = metricName; } - public V2alpha1PodsMetricSource targetAverageValue(String targetAverageValue) { + public V2beta1PodsMetricSource targetAverageValue(String targetAverageValue) { this.targetAverageValue = targetAverageValue; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1PodsMetricSource v2alpha1PodsMetricSource = (V2alpha1PodsMetricSource) o; - return Objects.equals(this.metricName, v2alpha1PodsMetricSource.metricName) && - Objects.equals(this.targetAverageValue, v2alpha1PodsMetricSource.targetAverageValue); + V2beta1PodsMetricSource v2beta1PodsMetricSource = (V2beta1PodsMetricSource) o; + return Objects.equals(this.metricName, v2beta1PodsMetricSource.metricName) && + Objects.equals(this.targetAverageValue, v2beta1PodsMetricSource.targetAverageValue); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1PodsMetricSource {\n"); + sb.append("class V2beta1PodsMetricSource {\n"); sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); sb.append(" targetAverageValue: ").append(toIndentedString(targetAverageValue)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricStatus.java similarity index 85% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricStatus.java index 63802fe89a..0fde45679a 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1PodsMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1PodsMetricStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,14 +28,14 @@ */ @ApiModel(description = "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).") -public class V2alpha1PodsMetricStatus { +public class V2beta1PodsMetricStatus { @SerializedName("currentAverageValue") private String currentAverageValue = null; @SerializedName("metricName") private String metricName = null; - public V2alpha1PodsMetricStatus currentAverageValue(String currentAverageValue) { + public V2beta1PodsMetricStatus currentAverageValue(String currentAverageValue) { this.currentAverageValue = currentAverageValue; return this; } @@ -53,7 +53,7 @@ public void setCurrentAverageValue(String currentAverageValue) { this.currentAverageValue = currentAverageValue; } - public V2alpha1PodsMetricStatus metricName(String metricName) { + public V2beta1PodsMetricStatus metricName(String metricName) { this.metricName = metricName; return this; } @@ -80,9 +80,9 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1PodsMetricStatus v2alpha1PodsMetricStatus = (V2alpha1PodsMetricStatus) o; - return Objects.equals(this.currentAverageValue, v2alpha1PodsMetricStatus.currentAverageValue) && - Objects.equals(this.metricName, v2alpha1PodsMetricStatus.metricName); + V2beta1PodsMetricStatus v2beta1PodsMetricStatus = (V2beta1PodsMetricStatus) o; + return Objects.equals(this.currentAverageValue, v2beta1PodsMetricStatus.currentAverageValue) && + Objects.equals(this.metricName, v2beta1PodsMetricStatus.metricName); } @Override @@ -94,7 +94,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1PodsMetricStatus {\n"); + sb.append("class V2beta1PodsMetricStatus {\n"); sb.append(" currentAverageValue: ").append(toIndentedString(currentAverageValue)).append("\n"); sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricSource.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricSource.java similarity index 78% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricSource.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricSource.java index 3a7dd1515c..1f19722632 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricSource.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricSource.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,7 +28,7 @@ */ @ApiModel(description = "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.") -public class V2alpha1ResourceMetricSource { +public class V2beta1ResourceMetricSource { @SerializedName("name") private String name = null; @@ -38,7 +38,7 @@ public class V2alpha1ResourceMetricSource { @SerializedName("targetAverageValue") private String targetAverageValue = null; - public V2alpha1ResourceMetricSource name(String name) { + public V2beta1ResourceMetricSource name(String name) { this.name = name; return this; } @@ -56,7 +56,7 @@ public void setName(String name) { this.name = name; } - public V2alpha1ResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization) { + public V2beta1ResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; return this; } @@ -74,16 +74,16 @@ public void setTargetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; } - public V2alpha1ResourceMetricSource targetAverageValue(String targetAverageValue) { + public V2beta1ResourceMetricSource targetAverageValue(String targetAverageValue) { this.targetAverageValue = targetAverageValue; return this; } /** - * targetAverageValue is the the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. + * targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. * @return targetAverageValue **/ - @ApiModelProperty(value = "targetAverageValue is the the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.") + @ApiModelProperty(value = "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.") public String getTargetAverageValue() { return targetAverageValue; } @@ -101,10 +101,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1ResourceMetricSource v2alpha1ResourceMetricSource = (V2alpha1ResourceMetricSource) o; - return Objects.equals(this.name, v2alpha1ResourceMetricSource.name) && - Objects.equals(this.targetAverageUtilization, v2alpha1ResourceMetricSource.targetAverageUtilization) && - Objects.equals(this.targetAverageValue, v2alpha1ResourceMetricSource.targetAverageValue); + V2beta1ResourceMetricSource v2beta1ResourceMetricSource = (V2beta1ResourceMetricSource) o; + return Objects.equals(this.name, v2beta1ResourceMetricSource.name) && + Objects.equals(this.targetAverageUtilization, v2beta1ResourceMetricSource.targetAverageUtilization) && + Objects.equals(this.targetAverageValue, v2beta1ResourceMetricSource.targetAverageValue); } @Override @@ -116,7 +116,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1ResourceMetricSource {\n"); + sb.append("class V2beta1ResourceMetricSource {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" targetAverageUtilization: ").append(toIndentedString(targetAverageUtilization)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricStatus.java b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricStatus.java similarity index 76% rename from kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricStatus.java rename to kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricStatus.java index caef8a3eda..852576e320 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/V2alpha1ResourceMetricStatus.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/V2beta1ResourceMetricStatus.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -28,7 +28,7 @@ */ @ApiModel(description = "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.") -public class V2alpha1ResourceMetricStatus { +public class V2beta1ResourceMetricStatus { @SerializedName("currentAverageUtilization") private Integer currentAverageUtilization = null; @@ -38,7 +38,7 @@ public class V2alpha1ResourceMetricStatus { @SerializedName("name") private String name = null; - public V2alpha1ResourceMetricStatus currentAverageUtilization(Integer currentAverageUtilization) { + public V2beta1ResourceMetricStatus currentAverageUtilization(Integer currentAverageUtilization) { this.currentAverageUtilization = currentAverageUtilization; return this; } @@ -56,16 +56,16 @@ public void setCurrentAverageUtilization(Integer currentAverageUtilization) { this.currentAverageUtilization = currentAverageUtilization; } - public V2alpha1ResourceMetricStatus currentAverageValue(String currentAverageValue) { + public V2beta1ResourceMetricStatus currentAverageValue(String currentAverageValue) { this.currentAverageValue = currentAverageValue; return this; } /** - * currentAverageValue is the the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. + * currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification. * @return currentAverageValue **/ - @ApiModelProperty(required = true, value = "currentAverageValue is the the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification.") + @ApiModelProperty(required = true, value = "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification.") public String getCurrentAverageValue() { return currentAverageValue; } @@ -74,7 +74,7 @@ public void setCurrentAverageValue(String currentAverageValue) { this.currentAverageValue = currentAverageValue; } - public V2alpha1ResourceMetricStatus name(String name) { + public V2beta1ResourceMetricStatus name(String name) { this.name = name; return this; } @@ -101,10 +101,10 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - V2alpha1ResourceMetricStatus v2alpha1ResourceMetricStatus = (V2alpha1ResourceMetricStatus) o; - return Objects.equals(this.currentAverageUtilization, v2alpha1ResourceMetricStatus.currentAverageUtilization) && - Objects.equals(this.currentAverageValue, v2alpha1ResourceMetricStatus.currentAverageValue) && - Objects.equals(this.name, v2alpha1ResourceMetricStatus.name); + V2beta1ResourceMetricStatus v2beta1ResourceMetricStatus = (V2beta1ResourceMetricStatus) o; + return Objects.equals(this.currentAverageUtilization, v2beta1ResourceMetricStatus.currentAverageUtilization) && + Objects.equals(this.currentAverageValue, v2beta1ResourceMetricStatus.currentAverageValue) && + Objects.equals(this.name, v2beta1ResourceMetricStatus.name); } @Override @@ -116,7 +116,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class V2alpha1ResourceMetricStatus {\n"); + sb.append("class V2beta1ResourceMetricStatus {\n"); sb.append(" currentAverageUtilization: ").append(toIndentedString(currentAverageUtilization)).append("\n"); sb.append(" currentAverageValue: ").append(toIndentedString(currentAverageValue)).append("\n"); diff --git a/kubernetes/src/main/java/io/kubernetes/client/models/VersionInfo.java b/kubernetes/src/main/java/io/kubernetes/client/models/VersionInfo.java index e19ed67c91..ad9048b391 100644 --- a/kubernetes/src/main/java/io/kubernetes/client/models/VersionInfo.java +++ b/kubernetes/src/main/java/io/kubernetes/client/models/VersionInfo.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationApiTest.java new file mode 100644 index 0000000000..6c013b6eff --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationApiTest.java @@ -0,0 +1,50 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIGroup; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AdmissionregistrationApi + */ +@Ignore +public class AdmissionregistrationApiTest { + + private final AdmissionregistrationApi api = new AdmissionregistrationApi(); + + + /** + * + * + * get information of a group + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIGroupTest() throws ApiException { + V1APIGroup response = api.getAPIGroup(); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1ApiTest.java new file mode 100644 index 0000000000..7194de7830 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AdmissionregistrationV1alpha1ApiTest.java @@ -0,0 +1,338 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHookConfiguration; +import io.kubernetes.client.models.V1alpha1ExternalAdmissionHookConfigurationList; +import io.kubernetes.client.models.V1alpha1InitializerConfiguration; +import io.kubernetes.client.models.V1alpha1InitializerConfigurationList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AdmissionregistrationV1alpha1Api + */ +@Ignore +public class AdmissionregistrationV1alpha1ApiTest { + + private final AdmissionregistrationV1alpha1Api api = new AdmissionregistrationV1alpha1Api(); + + + /** + * + * + * create an ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createExternalAdmissionHookConfigurationTest() throws ApiException { + V1alpha1ExternalAdmissionHookConfiguration body = null; + String pretty = null; + V1alpha1ExternalAdmissionHookConfiguration response = api.createExternalAdmissionHookConfiguration(body, pretty); + + // TODO: test validations + } + + /** + * + * + * create an InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createInitializerConfigurationTest() throws ApiException { + V1alpha1InitializerConfiguration body = null; + String pretty = null; + V1alpha1InitializerConfiguration response = api.createInitializerConfiguration(body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionExternalAdmissionHookConfigurationTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionInitializerConfigurationTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete an ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteExternalAdmissionHookConfigurationTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteExternalAdmissionHookConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete an InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteInitializerConfigurationTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteInitializerConfiguration(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listExternalAdmissionHookConfigurationTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1alpha1ExternalAdmissionHookConfigurationList response = api.listExternalAdmissionHookConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listInitializerConfigurationTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1alpha1InitializerConfigurationList response = api.listInitializerConfiguration(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchExternalAdmissionHookConfigurationTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1alpha1ExternalAdmissionHookConfiguration response = api.patchExternalAdmissionHookConfiguration(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchInitializerConfigurationTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1alpha1InitializerConfiguration response = api.patchInitializerConfiguration(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readExternalAdmissionHookConfigurationTest() throws ApiException { + String name = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1alpha1ExternalAdmissionHookConfiguration response = api.readExternalAdmissionHookConfiguration(name, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read the specified InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readInitializerConfigurationTest() throws ApiException { + String name = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1alpha1InitializerConfiguration response = api.readInitializerConfiguration(name, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * replace the specified ExternalAdmissionHookConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceExternalAdmissionHookConfigurationTest() throws ApiException { + String name = null; + V1alpha1ExternalAdmissionHookConfiguration body = null; + String pretty = null; + V1alpha1ExternalAdmissionHookConfiguration response = api.replaceExternalAdmissionHookConfiguration(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified InitializerConfiguration + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceInitializerConfigurationTest() throws ApiException { + String name = null; + V1alpha1InitializerConfiguration body = null; + String pretty = null; + V1alpha1InitializerConfiguration response = api.replaceInitializerConfiguration(name, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsApiTest.java new file mode 100644 index 0000000000..5e116ed743 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsApiTest.java @@ -0,0 +1,50 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIGroup; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ApiextensionsApi + */ +@Ignore +public class ApiextensionsApiTest { + + private final ApiextensionsApi api = new ApiextensionsApi(); + + + /** + * + * + * get information of a group + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIGroupTest() throws ApiException { + V1APIGroup response = api.getAPIGroup(); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsV1beta1ApiTest.java new file mode 100644 index 0000000000..9ae3c374f0 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiextensionsV1beta1ApiTest.java @@ -0,0 +1,213 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1CustomResourceDefinition; +import io.kubernetes.client.models.V1beta1CustomResourceDefinitionList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ApiextensionsV1beta1Api + */ +@Ignore +public class ApiextensionsV1beta1ApiTest { + + private final ApiextensionsV1beta1Api api = new ApiextensionsV1beta1Api(); + + + /** + * + * + * create a CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createCustomResourceDefinitionTest() throws ApiException { + V1beta1CustomResourceDefinition body = null; + String pretty = null; + V1beta1CustomResourceDefinition response = api.createCustomResourceDefinition(body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionCustomResourceDefinitionTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCustomResourceDefinitionTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteCustomResourceDefinition(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listCustomResourceDefinitionTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1CustomResourceDefinitionList response = api.listCustomResourceDefinition(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchCustomResourceDefinitionTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1beta1CustomResourceDefinition response = api.patchCustomResourceDefinition(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readCustomResourceDefinitionTest() throws ApiException { + String name = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta1CustomResourceDefinition response = api.readCustomResourceDefinition(name, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * replace the specified CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceCustomResourceDefinitionTest() throws ApiException { + String name = null; + V1beta1CustomResourceDefinition body = null; + String pretty = null; + V1beta1CustomResourceDefinition response = api.replaceCustomResourceDefinition(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified CustomResourceDefinition + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceCustomResourceDefinitionStatusTest() throws ApiException { + String name = null; + V1beta1CustomResourceDefinition body = null; + String pretty = null; + V1beta1CustomResourceDefinition response = api.replaceCustomResourceDefinitionStatus(name, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationApiTest.java new file mode 100644 index 0000000000..dcd42dfe71 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationApiTest.java @@ -0,0 +1,50 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIGroup; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ApiregistrationApi + */ +@Ignore +public class ApiregistrationApiTest { + + private final ApiregistrationApi api = new ApiregistrationApi(); + + + /** + * + * + * get information of a group + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIGroupTest() throws ApiException { + V1APIGroup response = api.getAPIGroup(); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationV1beta1ApiTest.java new file mode 100644 index 0000000000..2c787b69da --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ApiregistrationV1beta1ApiTest.java @@ -0,0 +1,213 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1APIService; +import io.kubernetes.client.models.V1beta1APIServiceList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for ApiregistrationV1beta1Api + */ +@Ignore +public class ApiregistrationV1beta1ApiTest { + + private final ApiregistrationV1beta1Api api = new ApiregistrationV1beta1Api(); + + + /** + * + * + * create an APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createAPIServiceTest() throws ApiException { + V1beta1APIService body = null; + String pretty = null; + V1beta1APIService response = api.createAPIService(body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete an APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteAPIServiceTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteAPIService(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete collection of APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionAPIServiceTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listAPIServiceTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1APIServiceList response = api.listAPIService(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchAPIServiceTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1beta1APIService response = api.patchAPIService(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readAPIServiceTest() throws ApiException { + String name = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta1APIService response = api.readAPIService(name, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * replace the specified APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceAPIServiceTest() throws ApiException { + String name = null; + V1beta1APIService body = null; + String pretty = null; + V1beta1APIService response = api.replaceAPIService(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified APIService + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceAPIServiceStatusTest() throws ApiException { + String name = null; + V1beta1APIService body = null; + String pretty = null; + V1beta1APIService response = api.replaceAPIServiceStatus(name, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ApisApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ApisApiTest.java index d9675c2e19..cf984367f5 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/ApisApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ApisApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AppsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsApiTest.java index 09b57fa62d..3a36ea3000 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AppsApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta1ApiTest.java index d1cee0bbc5..4ee6746f4a 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -21,6 +21,8 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1DeleteOptions; import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1ControllerRevision; +import io.kubernetes.client.models.V1beta1ControllerRevisionList; import io.kubernetes.client.models.V1beta1StatefulSet; import io.kubernetes.client.models.V1beta1StatefulSetList; import org.junit.Test; @@ -40,6 +42,24 @@ public class AppsV1beta1ApiTest { private final AppsV1beta1Api api = new AppsV1beta1Api(); + /** + * + * + * create a ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + V1beta1ControllerRevision body = null; + String pretty = null; + V1beta1ControllerRevision response = api.createNamespacedControllerRevision(namespace, body, pretty); + + // TODO: test validations + } + /** * * @@ -61,18 +81,18 @@ public void createNamespacedDeploymentTest() throws ApiException { /** * * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedDeploymentRollbackRollbackTest() throws ApiException { + public void createNamespacedDeploymentRollbackTest() throws ApiException { String name = null; String namespace = null; AppsV1beta1DeploymentRollback body = null; String pretty = null; - AppsV1beta1DeploymentRollback response = api.createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty); + AppsV1beta1DeploymentRollback response = api.createNamespacedDeploymentRollback(name, namespace, body, pretty); // TODO: test validations } @@ -95,6 +115,31 @@ public void createNamespacedStatefulSetTest() throws ApiException { // TODO: test validations } + /** + * + * + * delete collection of ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + /** * * @@ -107,12 +152,15 @@ public void createNamespacedStatefulSetTest() throws ApiException { public void deleteCollectionNamespacedDeploymentTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -129,12 +177,37 @@ public void deleteCollectionNamespacedDeploymentTest() throws ApiException { public void deleteCollectionNamespacedStatefulSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); // TODO: test validations } @@ -198,6 +271,30 @@ public void getAPIResourcesTest() throws ApiException { // TODO: test validations } + /** + * + * + * list or watch objects of kind ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listControllerRevisionForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1ControllerRevisionList response = api.listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + /** * * @@ -208,13 +305,41 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listDeploymentForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - AppsV1beta1DeploymentList response = api.listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + AppsV1beta1DeploymentList response = api.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1ControllerRevisionList response = api.listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -231,12 +356,15 @@ public void listDeploymentForAllNamespacesTest() throws ApiException { public void listNamespacedDeploymentTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - AppsV1beta1DeploymentList response = api.listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + AppsV1beta1DeploymentList response = api.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -253,12 +381,15 @@ public void listNamespacedDeploymentTest() throws ApiException { public void listNamespacedStatefulSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1StatefulSetList response = api.listNamespacedStatefulSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1StatefulSetList response = api.listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -273,13 +404,35 @@ public void listNamespacedStatefulSetTest() throws ApiException { */ @Test public void listStatefulSetForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1StatefulSetList response = api.listStatefulSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1StatefulSetList response = api.listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta1ControllerRevision response = api.patchNamespacedControllerRevision(name, namespace, body, pretty); // TODO: test validations } @@ -306,18 +459,18 @@ public void patchNamespacedDeploymentTest() throws ApiException { /** * * - * partially update status of the specified Deployment + * partially update scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedDeploymentStatusTest() throws ApiException { + public void patchNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - AppsV1beta1Deployment response = api.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + AppsV1beta1Scale response = api.patchNamespacedDeploymentScale(name, namespace, body, pretty); // TODO: test validations } @@ -325,18 +478,18 @@ public void patchNamespacedDeploymentStatusTest() throws ApiException { /** * * - * partially update scale of the specified Scale + * partially update status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedScaleScaleTest() throws ApiException { + public void patchNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - AppsV1beta1Scale response = api.patchNamespacedScaleScale(name, namespace, body, pretty); + AppsV1beta1Deployment response = api.patchNamespacedDeploymentStatus(name, namespace, body, pretty); // TODO: test validations } @@ -360,6 +513,25 @@ public void patchNamespacedStatefulSetTest() throws ApiException { // TODO: test validations } + /** + * + * + * partially update scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + AppsV1beta1Scale response = api.patchNamespacedStatefulSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + /** * * @@ -379,6 +551,26 @@ public void patchNamespacedStatefulSetStatusTest() throws ApiException { // TODO: test validations } + /** + * + * + * read the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta1ControllerRevision response = api.readNamespacedControllerRevision(name, namespace, pretty, exact, export); + + // TODO: test validations + } + /** * * @@ -402,17 +594,17 @@ public void readNamespacedDeploymentTest() throws ApiException { /** * * - * read status of the specified Deployment + * read scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedDeploymentStatusTest() throws ApiException { + public void readNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - AppsV1beta1Deployment response = api.readNamespacedDeploymentStatus(name, namespace, pretty); + AppsV1beta1Scale response = api.readNamespacedDeploymentScale(name, namespace, pretty); // TODO: test validations } @@ -420,17 +612,17 @@ public void readNamespacedDeploymentStatusTest() throws ApiException { /** * * - * read scale of the specified Scale + * read status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedScaleScaleTest() throws ApiException { + public void readNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - AppsV1beta1Scale response = api.readNamespacedScaleScale(name, namespace, pretty); + AppsV1beta1Deployment response = api.readNamespacedDeploymentStatus(name, namespace, pretty); // TODO: test validations } @@ -455,6 +647,24 @@ public void readNamespacedStatefulSetTest() throws ApiException { // TODO: test validations } + /** + * + * + * read scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + AppsV1beta1Scale response = api.readNamespacedStatefulSetScale(name, namespace, pretty); + + // TODO: test validations + } + /** * * @@ -473,6 +683,25 @@ public void readNamespacedStatefulSetStatusTest() throws ApiException { // TODO: test validations } + /** + * + * + * replace the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + V1beta1ControllerRevision body = null; + String pretty = null; + V1beta1ControllerRevision response = api.replaceNamespacedControllerRevision(name, namespace, body, pretty); + + // TODO: test validations + } + /** * * @@ -495,18 +724,18 @@ public void replaceNamespacedDeploymentTest() throws ApiException { /** * * - * replace status of the specified Deployment + * replace scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedDeploymentStatusTest() throws ApiException { + public void replaceNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; - AppsV1beta1Deployment body = null; + AppsV1beta1Scale body = null; String pretty = null; - AppsV1beta1Deployment response = api.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + AppsV1beta1Scale response = api.replaceNamespacedDeploymentScale(name, namespace, body, pretty); // TODO: test validations } @@ -514,18 +743,18 @@ public void replaceNamespacedDeploymentStatusTest() throws ApiException { /** * * - * replace scale of the specified Scale + * replace status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedScaleScaleTest() throws ApiException { + public void replaceNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; - AppsV1beta1Scale body = null; + AppsV1beta1Deployment body = null; String pretty = null; - AppsV1beta1Scale response = api.replaceNamespacedScaleScale(name, namespace, body, pretty); + AppsV1beta1Deployment response = api.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); // TODO: test validations } @@ -549,6 +778,25 @@ public void replaceNamespacedStatefulSetTest() throws ApiException { // TODO: test validations } + /** + * + * + * replace scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + AppsV1beta1Scale body = null; + String pretty = null; + AppsV1beta1Scale response = api.replaceNamespacedStatefulSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + /** * * diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta2ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta2ApiTest.java new file mode 100644 index 0000000000..12db316655 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AppsV1beta2ApiTest.java @@ -0,0 +1,1315 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta2ControllerRevision; +import io.kubernetes.client.models.V1beta2ControllerRevisionList; +import io.kubernetes.client.models.V1beta2DaemonSet; +import io.kubernetes.client.models.V1beta2DaemonSetList; +import io.kubernetes.client.models.V1beta2Deployment; +import io.kubernetes.client.models.V1beta2DeploymentList; +import io.kubernetes.client.models.V1beta2ReplicaSet; +import io.kubernetes.client.models.V1beta2ReplicaSetList; +import io.kubernetes.client.models.V1beta2Scale; +import io.kubernetes.client.models.V1beta2StatefulSet; +import io.kubernetes.client.models.V1beta2StatefulSetList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for AppsV1beta2Api + */ +@Ignore +public class AppsV1beta2ApiTest { + + private final AppsV1beta2Api api = new AppsV1beta2Api(); + + + /** + * + * + * create a ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + V1beta2ControllerRevision body = null; + String pretty = null; + V1beta2ControllerRevision response = api.createNamespacedControllerRevision(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedDaemonSetTest() throws ApiException { + String namespace = null; + V1beta2DaemonSet body = null; + String pretty = null; + V1beta2DaemonSet response = api.createNamespacedDaemonSet(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedDeploymentTest() throws ApiException { + String namespace = null; + V1beta2Deployment body = null; + String pretty = null; + V1beta2Deployment response = api.createNamespacedDeployment(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedReplicaSetTest() throws ApiException { + String namespace = null; + V1beta2ReplicaSet body = null; + String pretty = null; + V1beta2ReplicaSet response = api.createNamespacedReplicaSet(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedStatefulSetTest() throws ApiException { + String namespace = null; + V1beta2StatefulSet body = null; + String pretty = null; + V1beta2StatefulSet response = api.createNamespacedStatefulSet(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedDaemonSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedDeploymentTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedReplicaSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedStatefulSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedControllerRevision(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedDaemonSetTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedDaemonSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedDeploymentTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedDeployment(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedReplicaSetTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedReplicaSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedStatefulSetTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedStatefulSet(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listControllerRevisionForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2ControllerRevisionList response = api.listControllerRevisionForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listDaemonSetForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2DaemonSetList response = api.listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listDeploymentForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2DeploymentList response = api.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedControllerRevisionTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2ControllerRevisionList response = api.listNamespacedControllerRevision(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedDaemonSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2DaemonSetList response = api.listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedDeploymentTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2DeploymentList response = api.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedReplicaSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2ReplicaSetList response = api.listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedStatefulSetTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2StatefulSetList response = api.listNamespacedStatefulSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listReplicaSetForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2ReplicaSetList response = api.listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listStatefulSetForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta2StatefulSetList response = api.listStatefulSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2ControllerRevision response = api.patchNamespacedControllerRevision(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedDaemonSetTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2DaemonSet response = api.patchNamespacedDaemonSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update status of the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedDaemonSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2DaemonSet response = api.patchNamespacedDaemonSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedDeploymentTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2Deployment response = api.patchNamespacedDeployment(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update scale of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedDeploymentScaleTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2Scale response = api.patchNamespacedDeploymentScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update status of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedDeploymentStatusTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2Deployment response = api.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedReplicaSetTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2ReplicaSet response = api.patchNamespacedReplicaSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update scale of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedReplicaSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2Scale response = api.patchNamespacedReplicaSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update status of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedReplicaSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2ReplicaSet response = api.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedStatefulSetTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2StatefulSet response = api.patchNamespacedStatefulSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2Scale response = api.patchNamespacedStatefulSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update status of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedStatefulSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta2StatefulSet response = api.patchNamespacedStatefulSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta2ControllerRevision response = api.readNamespacedControllerRevision(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedDaemonSetTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta2DaemonSet response = api.readNamespacedDaemonSet(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read status of the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedDaemonSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2DaemonSet response = api.readNamespacedDaemonSetStatus(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedDeploymentTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta2Deployment response = api.readNamespacedDeployment(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read scale of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedDeploymentScaleTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2Scale response = api.readNamespacedDeploymentScale(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read status of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedDeploymentStatusTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2Deployment response = api.readNamespacedDeploymentStatus(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedReplicaSetTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta2ReplicaSet response = api.readNamespacedReplicaSet(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read scale of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedReplicaSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2Scale response = api.readNamespacedReplicaSetScale(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read status of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedReplicaSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2ReplicaSet response = api.readNamespacedReplicaSetStatus(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedStatefulSetTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta2StatefulSet response = api.readNamespacedStatefulSet(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2Scale response = api.readNamespacedStatefulSetScale(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read status of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedStatefulSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta2StatefulSet response = api.readNamespacedStatefulSetStatus(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified ControllerRevision + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedControllerRevisionTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2ControllerRevision body = null; + String pretty = null; + V1beta2ControllerRevision response = api.replaceNamespacedControllerRevision(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedDaemonSetTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2DaemonSet body = null; + String pretty = null; + V1beta2DaemonSet response = api.replaceNamespacedDaemonSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified DaemonSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedDaemonSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2DaemonSet body = null; + String pretty = null; + V1beta2DaemonSet response = api.replaceNamespacedDaemonSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedDeploymentTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2Deployment body = null; + String pretty = null; + V1beta2Deployment response = api.replaceNamespacedDeployment(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace scale of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedDeploymentScaleTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2Scale body = null; + String pretty = null; + V1beta2Scale response = api.replaceNamespacedDeploymentScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified Deployment + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedDeploymentStatusTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2Deployment body = null; + String pretty = null; + V1beta2Deployment response = api.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedReplicaSetTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2ReplicaSet body = null; + String pretty = null; + V1beta2ReplicaSet response = api.replaceNamespacedReplicaSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace scale of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedReplicaSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2Scale body = null; + String pretty = null; + V1beta2Scale response = api.replaceNamespacedReplicaSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified ReplicaSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedReplicaSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2ReplicaSet body = null; + String pretty = null; + V1beta2ReplicaSet response = api.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedStatefulSetTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2StatefulSet body = null; + String pretty = null; + V1beta2StatefulSet response = api.replaceNamespacedStatefulSet(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace scale of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedStatefulSetScaleTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2Scale body = null; + String pretty = null; + V1beta2Scale response = api.replaceNamespacedStatefulSetScale(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified StatefulSet + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedStatefulSetStatusTest() throws ApiException { + String name = null; + String namespace = null; + V1beta2StatefulSet body = null; + String pretty = null; + V1beta2StatefulSet response = api.replaceNamespacedStatefulSetStatus(name, namespace, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationApiTest.java index 840915948c..e987cf89a7 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1ApiTest.java index f8d03848b4..7f89848121 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1beta1ApiTest.java index 0d39e32d6e..220c927825 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthenticationV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationApiTest.java index 92b10b4792..8eba3b6edd 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1ApiTest.java index c03fda599e..32bd9e8c8f 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -17,6 +17,7 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1LocalSubjectAccessReview; import io.kubernetes.client.models.V1SelfSubjectAccessReview; +import io.kubernetes.client.models.V1SelfSubjectRulesReview; import io.kubernetes.client.models.V1SubjectAccessReview; import org.junit.Test; import org.junit.Ignore; @@ -70,6 +71,23 @@ public void createSelfSubjectAccessReviewTest() throws ApiException { // TODO: test validations } + /** + * + * + * create a SelfSubjectRulesReview + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createSelfSubjectRulesReviewTest() throws ApiException { + V1SelfSubjectRulesReview body = null; + String pretty = null; + V1SelfSubjectRulesReview response = api.createSelfSubjectRulesReview(body, pretty); + + // TODO: test validations + } + /** * * diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1beta1ApiTest.java index d58ae58e5c..ade1ffac72 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AuthorizationV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -17,6 +17,7 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1beta1LocalSubjectAccessReview; import io.kubernetes.client.models.V1beta1SelfSubjectAccessReview; +import io.kubernetes.client.models.V1beta1SelfSubjectRulesReview; import io.kubernetes.client.models.V1beta1SubjectAccessReview; import org.junit.Test; import org.junit.Ignore; @@ -70,6 +71,23 @@ public void createSelfSubjectAccessReviewTest() throws ApiException { // TODO: test validations } + /** + * + * + * create a SelfSubjectRulesReview + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createSelfSubjectRulesReviewTest() throws ApiException { + V1beta1SelfSubjectRulesReview body = null; + String pretty = null; + V1beta1SelfSubjectRulesReview response = api.createSelfSubjectRulesReview(body, pretty); + + // TODO: test validations + } + /** * * diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingApiTest.java index e04c5267be..645405e7db 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV1ApiTest.java index ef8795e33d..6d0da6f7e5 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -66,12 +66,15 @@ public void createNamespacedHorizontalPodAutoscalerTest() throws ApiException { public void deleteCollectionNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -123,13 +126,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listHorizontalPodAutoscalerForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1HorizontalPodAutoscalerList response = api.listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1HorizontalPodAutoscalerList response = api.listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -146,12 +152,15 @@ public void listHorizontalPodAutoscalerForAllNamespacesTest() throws ApiExceptio public void listNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1HorizontalPodAutoscalerList response = api.listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1HorizontalPodAutoscalerList response = api.listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2beta1ApiTest.java similarity index 73% rename from kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2alpha1ApiTest.java rename to kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2beta1ApiTest.java index f4efafeceb..221fde4179 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2alpha1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/AutoscalingV2beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -17,8 +17,8 @@ import io.kubernetes.client.models.V1APIResourceList; import io.kubernetes.client.models.V1DeleteOptions; import io.kubernetes.client.models.V1Status; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscaler; -import io.kubernetes.client.models.V2alpha1HorizontalPodAutoscalerList; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscaler; +import io.kubernetes.client.models.V2beta1HorizontalPodAutoscalerList; import org.junit.Test; import org.junit.Ignore; @@ -28,12 +28,12 @@ import java.util.Map; /** - * API tests for AutoscalingV2alpha1Api + * API tests for AutoscalingV2beta1Api */ @Ignore -public class AutoscalingV2alpha1ApiTest { +public class AutoscalingV2beta1ApiTest { - private final AutoscalingV2alpha1Api api = new AutoscalingV2alpha1Api(); + private final AutoscalingV2beta1Api api = new AutoscalingV2beta1Api(); /** @@ -47,9 +47,9 @@ public class AutoscalingV2alpha1ApiTest { @Test public void createNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; - V2alpha1HorizontalPodAutoscaler body = null; + V2beta1HorizontalPodAutoscaler body = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.createNamespacedHorizontalPodAutoscaler(namespace, body, pretty); + V2beta1HorizontalPodAutoscaler response = api.createNamespacedHorizontalPodAutoscaler(namespace, body, pretty); // TODO: test validations } @@ -66,12 +66,15 @@ public void createNamespacedHorizontalPodAutoscalerTest() throws ApiException { public void deleteCollectionNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -123,13 +126,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listHorizontalPodAutoscalerForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V2alpha1HorizontalPodAutoscalerList response = api.listHorizontalPodAutoscalerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V2beta1HorizontalPodAutoscalerList response = api.listHorizontalPodAutoscalerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -146,12 +152,15 @@ public void listHorizontalPodAutoscalerForAllNamespacesTest() throws ApiExceptio public void listNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V2alpha1HorizontalPodAutoscalerList response = api.listNamespacedHorizontalPodAutoscaler(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V2beta1HorizontalPodAutoscalerList response = api.listNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -170,7 +179,7 @@ public void patchNamespacedHorizontalPodAutoscalerTest() throws ApiException { String namespace = null; Object body = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler response = api.patchNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); // TODO: test validations } @@ -189,7 +198,7 @@ public void patchNamespacedHorizontalPodAutoscalerStatusTest() throws ApiExcepti String namespace = null; Object body = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler response = api.patchNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); // TODO: test validations } @@ -209,7 +218,7 @@ public void readNamespacedHorizontalPodAutoscalerTest() throws ApiException { String pretty = null; Boolean exact = null; Boolean export = null; - V2alpha1HorizontalPodAutoscaler response = api.readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export); + V2beta1HorizontalPodAutoscaler response = api.readNamespacedHorizontalPodAutoscaler(name, namespace, pretty, exact, export); // TODO: test validations } @@ -227,7 +236,7 @@ public void readNamespacedHorizontalPodAutoscalerStatusTest() throws ApiExceptio String name = null; String namespace = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty); + V2beta1HorizontalPodAutoscaler response = api.readNamespacedHorizontalPodAutoscalerStatus(name, namespace, pretty); // TODO: test validations } @@ -244,9 +253,9 @@ public void readNamespacedHorizontalPodAutoscalerStatusTest() throws ApiExceptio public void replaceNamespacedHorizontalPodAutoscalerTest() throws ApiException { String name = null; String namespace = null; - V2alpha1HorizontalPodAutoscaler body = null; + V2beta1HorizontalPodAutoscaler body = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler response = api.replaceNamespacedHorizontalPodAutoscaler(name, namespace, body, pretty); // TODO: test validations } @@ -263,9 +272,9 @@ public void replaceNamespacedHorizontalPodAutoscalerTest() throws ApiException { public void replaceNamespacedHorizontalPodAutoscalerStatusTest() throws ApiException { String name = null; String namespace = null; - V2alpha1HorizontalPodAutoscaler body = null; + V2beta1HorizontalPodAutoscaler body = null; String pretty = null; - V2alpha1HorizontalPodAutoscaler response = api.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); + V2beta1HorizontalPodAutoscaler response = api.replaceNamespacedHorizontalPodAutoscalerStatus(name, namespace, body, pretty); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchApiTest.java index cf02b911e8..b1017848a1 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1ApiTest.java index 78f0d649c2..aff1ff8f83 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -66,12 +66,15 @@ public void createNamespacedJobTest() throws ApiException { public void deleteCollectionNamespacedJobTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -123,13 +126,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listJobForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1JobList response = api.listJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1JobList response = api.listJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -146,12 +152,15 @@ public void listJobForAllNamespacesTest() throws ApiException { public void listNamespacedJobTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1JobList response = api.listNamespacedJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1JobList response = api.listNamespacedJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1beta1ApiTest.java new file mode 100644 index 0000000000..b7adf6ba95 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV1beta1ApiTest.java @@ -0,0 +1,282 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1beta1CronJob; +import io.kubernetes.client.models.V1beta1CronJobList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for BatchV1beta1Api + */ +@Ignore +public class BatchV1beta1ApiTest { + + private final BatchV1beta1Api api = new BatchV1beta1Api(); + + + /** + * + * + * create a CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedCronJobTest() throws ApiException { + String namespace = null; + V1beta1CronJob body = null; + String pretty = null; + V1beta1CronJob response = api.createNamespacedCronJob(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedCronJobTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedCronJobTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedCronJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listCronJobForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1CronJobList response = api.listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedCronJobTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1beta1CronJobList response = api.listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedCronJobTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta1CronJob response = api.patchNamespacedCronJob(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update status of the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedCronJobStatusTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1beta1CronJob response = api.patchNamespacedCronJobStatus(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedCronJobTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1beta1CronJob response = api.readNamespacedCronJob(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * read status of the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedCronJobStatusTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1beta1CronJob response = api.readNamespacedCronJobStatus(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedCronJobTest() throws ApiException { + String name = null; + String namespace = null; + V1beta1CronJob body = null; + String pretty = null; + V1beta1CronJob response = api.replaceNamespacedCronJob(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace status of the specified CronJob + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedCronJobStatusTest() throws ApiException { + String name = null; + String namespace = null; + V1beta1CronJob body = null; + String pretty = null; + V1beta1CronJob response = api.replaceNamespacedCronJobStatus(name, namespace, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV2alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV2alpha1ApiTest.java index 9812fcd5f1..95ec992c92 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV2alpha1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/BatchV2alpha1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -54,24 +54,6 @@ public void createNamespacedCronJobTest() throws ApiException { // TODO: test validations } - /** - * - * - * create a ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createNamespacedScheduledJobTest() throws ApiException { - String namespace = null; - V2alpha1CronJob body = null; - String pretty = null; - V2alpha1CronJob response = api.createNamespacedScheduledJob(namespace, body, pretty); - - // TODO: test validations - } - /** * * @@ -84,34 +66,15 @@ public void createNamespacedScheduledJobTest() throws ApiException { public void deleteCollectionNamespacedCronJobTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - - // TODO: test validations - } - - /** - * - * - * delete collection of ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteCollectionNamespacedScheduledJobTest() throws ApiException { - String namespace = null; - String pretty = null; - String fieldSelector = null; - String labelSelector = null; - String resourceVersion = null; - Integer timeoutSeconds = null; - Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -138,28 +101,6 @@ public void deleteNamespacedCronJobTest() throws ApiException { // TODO: test validations } - /** - * - * - * delete a ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteNamespacedScheduledJobTest() throws ApiException { - String name = null; - String namespace = null; - V1DeleteOptions body = null; - String pretty = null; - Integer gracePeriodSeconds = null; - Boolean orphanDependents = null; - String propagationPolicy = null; - V1Status response = api.deleteNamespacedScheduledJob(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - - // TODO: test validations - } - /** * * @@ -185,13 +126,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listCronJobForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V2alpha1CronJobList response = api.listCronJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V2alpha1CronJobList response = api.listCronJobForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -208,55 +152,15 @@ public void listCronJobForAllNamespacesTest() throws ApiException { public void listNamespacedCronJobTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V2alpha1CronJobList response = api.listNamespacedCronJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - - // TODO: test validations - } - - /** - * - * - * list or watch objects of kind ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listNamespacedScheduledJobTest() throws ApiException { - String namespace = null; - String pretty = null; - String fieldSelector = null; - String labelSelector = null; - String resourceVersion = null; - Integer timeoutSeconds = null; - Boolean watch = null; - V2alpha1CronJobList response = api.listNamespacedScheduledJob(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - - // TODO: test validations - } - - /** - * - * - * list or watch objects of kind ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listScheduledJobForAllNamespacesTest() throws ApiException { - String fieldSelector = null; - String labelSelector = null; - String pretty = null; - String resourceVersion = null; - Integer timeoutSeconds = null; - Boolean watch = null; - V2alpha1CronJobList response = api.listScheduledJobForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V2alpha1CronJobList response = api.listNamespacedCronJob(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -299,44 +203,6 @@ public void patchNamespacedCronJobStatusTest() throws ApiException { // TODO: test validations } - /** - * - * - * partially update the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void patchNamespacedScheduledJobTest() throws ApiException { - String name = null; - String namespace = null; - Object body = null; - String pretty = null; - V2alpha1CronJob response = api.patchNamespacedScheduledJob(name, namespace, body, pretty); - - // TODO: test validations - } - - /** - * - * - * partially update status of the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void patchNamespacedScheduledJobStatusTest() throws ApiException { - String name = null; - String namespace = null; - Object body = null; - String pretty = null; - V2alpha1CronJob response = api.patchNamespacedScheduledJobStatus(name, namespace, body, pretty); - - // TODO: test validations - } - /** * * @@ -375,44 +241,6 @@ public void readNamespacedCronJobStatusTest() throws ApiException { // TODO: test validations } - /** - * - * - * read the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void readNamespacedScheduledJobTest() throws ApiException { - String name = null; - String namespace = null; - String pretty = null; - Boolean exact = null; - Boolean export = null; - V2alpha1CronJob response = api.readNamespacedScheduledJob(name, namespace, pretty, exact, export); - - // TODO: test validations - } - - /** - * - * - * read status of the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void readNamespacedScheduledJobStatusTest() throws ApiException { - String name = null; - String namespace = null; - String pretty = null; - V2alpha1CronJob response = api.readNamespacedScheduledJobStatus(name, namespace, pretty); - - // TODO: test validations - } - /** * * @@ -451,42 +279,4 @@ public void replaceNamespacedCronJobStatusTest() throws ApiException { // TODO: test validations } - /** - * - * - * replace the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void replaceNamespacedScheduledJobTest() throws ApiException { - String name = null; - String namespace = null; - V2alpha1CronJob body = null; - String pretty = null; - V2alpha1CronJob response = api.replaceNamespacedScheduledJob(name, namespace, body, pretty); - - // TODO: test validations - } - - /** - * - * - * replace status of the specified ScheduledJob - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void replaceNamespacedScheduledJobStatusTest() throws ApiException { - String name = null; - String namespace = null; - V2alpha1CronJob body = null; - String pretty = null; - V2alpha1CronJob response = api.replaceNamespacedScheduledJobStatus(name, namespace, body, pretty); - - // TODO: test validations - } - } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesApiTest.java index ba2e68fed7..069c5411d7 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesV1beta1ApiTest.java index 817adc240f..1299df328d 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/CertificatesV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -85,12 +85,15 @@ public void deleteCertificateSigningRequestTest() throws ApiException { @Test public void deleteCollectionCertificateSigningRequestTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -121,12 +124,15 @@ public void getAPIResourcesTest() throws ApiException { @Test public void listCertificateSigningRequestTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1CertificateSigningRequestList response = api.listCertificateSigningRequest(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1CertificateSigningRequestList response = api.listCertificateSigningRequest(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/CoreApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/CoreApiTest.java index 92cafb2431..f722c0f96f 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/CoreApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/CoreApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/CoreV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/CoreV1ApiTest.java index 7175dadfd5..1c7779694f 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/CoreV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/CoreV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -568,6 +568,115 @@ public void connectOptionsNodeProxyWithPathTest() throws ApiException { // TODO: test validations } + /** + * + * + * connect PATCH requests to proxy of Pod + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNamespacedPodProxyTest() throws ApiException { + String name = null; + String namespace = null; + String path = null; + String response = api.connectPatchNamespacedPodProxy(name, namespace, path); + + // TODO: test validations + } + + /** + * + * + * connect PATCH requests to proxy of Pod + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNamespacedPodProxyWithPathTest() throws ApiException { + String name = null; + String namespace = null; + String path = null; + String path2 = null; + String response = api.connectPatchNamespacedPodProxyWithPath(name, namespace, path, path2); + + // TODO: test validations + } + + /** + * + * + * connect PATCH requests to proxy of Service + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNamespacedServiceProxyTest() throws ApiException { + String name = null; + String namespace = null; + String path = null; + String response = api.connectPatchNamespacedServiceProxy(name, namespace, path); + + // TODO: test validations + } + + /** + * + * + * connect PATCH requests to proxy of Service + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNamespacedServiceProxyWithPathTest() throws ApiException { + String name = null; + String namespace = null; + String path = null; + String path2 = null; + String response = api.connectPatchNamespacedServiceProxyWithPath(name, namespace, path, path2); + + // TODO: test validations + } + + /** + * + * + * connect PATCH requests to proxy of Node + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNodeProxyTest() throws ApiException { + String name = null; + String path = null; + String response = api.connectPatchNodeProxy(name, path); + + // TODO: test validations + } + + /** + * + * + * connect PATCH requests to proxy of Node + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void connectPatchNodeProxyWithPathTest() throws ApiException { + String name = null; + String path = null; + String path2 = null; + String response = api.connectPatchNodeProxyWithPath(name, path, path2); + + // TODO: test validations + } + /** * * @@ -887,18 +996,17 @@ public void createNamespacedBindingTest() throws ApiException { /** * * - * create binding of a Binding + * create a ConfigMap * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedBindingBindingTest() throws ApiException { - String name = null; + public void createNamespacedConfigMapTest() throws ApiException { String namespace = null; - V1Binding body = null; + V1ConfigMap body = null; String pretty = null; - V1Binding response = api.createNamespacedBindingBinding(name, namespace, body, pretty); + V1ConfigMap response = api.createNamespacedConfigMap(namespace, body, pretty); // TODO: test validations } @@ -906,17 +1014,17 @@ public void createNamespacedBindingBindingTest() throws ApiException { /** * * - * create a ConfigMap + * create Endpoints * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedConfigMapTest() throws ApiException { + public void createNamespacedEndpointsTest() throws ApiException { String namespace = null; - V1ConfigMap body = null; + V1Endpoints body = null; String pretty = null; - V1ConfigMap response = api.createNamespacedConfigMap(namespace, body, pretty); + V1Endpoints response = api.createNamespacedEndpoints(namespace, body, pretty); // TODO: test validations } @@ -924,17 +1032,17 @@ public void createNamespacedConfigMapTest() throws ApiException { /** * * - * create Endpoints + * create an Event * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedEndpointsTest() throws ApiException { + public void createNamespacedEventTest() throws ApiException { String namespace = null; - V1Endpoints body = null; + V1Event body = null; String pretty = null; - V1Endpoints response = api.createNamespacedEndpoints(namespace, body, pretty); + V1Event response = api.createNamespacedEvent(namespace, body, pretty); // TODO: test validations } @@ -942,17 +1050,17 @@ public void createNamespacedEndpointsTest() throws ApiException { /** * * - * create an Event + * create a LimitRange * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedEventTest() throws ApiException { + public void createNamespacedLimitRangeTest() throws ApiException { String namespace = null; - V1Event body = null; + V1LimitRange body = null; String pretty = null; - V1Event response = api.createNamespacedEvent(namespace, body, pretty); + V1LimitRange response = api.createNamespacedLimitRange(namespace, body, pretty); // TODO: test validations } @@ -960,18 +1068,17 @@ public void createNamespacedEventTest() throws ApiException { /** * * - * create eviction of an Eviction + * create a PersistentVolumeClaim * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedEvictionEvictionTest() throws ApiException { - String name = null; + public void createNamespacedPersistentVolumeClaimTest() throws ApiException { String namespace = null; - V1beta1Eviction body = null; + V1PersistentVolumeClaim body = null; String pretty = null; - V1beta1Eviction response = api.createNamespacedEvictionEviction(name, namespace, body, pretty); + V1PersistentVolumeClaim response = api.createNamespacedPersistentVolumeClaim(namespace, body, pretty); // TODO: test validations } @@ -979,17 +1086,17 @@ public void createNamespacedEvictionEvictionTest() throws ApiException { /** * * - * create a LimitRange + * create a Pod * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedLimitRangeTest() throws ApiException { + public void createNamespacedPodTest() throws ApiException { String namespace = null; - V1LimitRange body = null; + V1Pod body = null; String pretty = null; - V1LimitRange response = api.createNamespacedLimitRange(namespace, body, pretty); + V1Pod response = api.createNamespacedPod(namespace, body, pretty); // TODO: test validations } @@ -997,17 +1104,18 @@ public void createNamespacedLimitRangeTest() throws ApiException { /** * * - * create a PersistentVolumeClaim + * create binding of a Pod * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedPersistentVolumeClaimTest() throws ApiException { + public void createNamespacedPodBindingTest() throws ApiException { + String name = null; String namespace = null; - V1PersistentVolumeClaim body = null; + V1Binding body = null; String pretty = null; - V1PersistentVolumeClaim response = api.createNamespacedPersistentVolumeClaim(namespace, body, pretty); + V1Binding response = api.createNamespacedPodBinding(name, namespace, body, pretty); // TODO: test validations } @@ -1015,17 +1123,18 @@ public void createNamespacedPersistentVolumeClaimTest() throws ApiException { /** * * - * create a Pod + * create eviction of a Pod * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedPodTest() throws ApiException { + public void createNamespacedPodEvictionTest() throws ApiException { + String name = null; String namespace = null; - V1Pod body = null; + V1beta1Eviction body = null; String pretty = null; - V1Pod response = api.createNamespacedPod(namespace, body, pretty); + V1beta1Eviction response = api.createNamespacedPodEviction(name, namespace, body, pretty); // TODO: test validations } @@ -1184,12 +1293,15 @@ public void createPersistentVolumeTest() throws ApiException { public void deleteCollectionNamespacedConfigMapTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1206,12 +1318,15 @@ public void deleteCollectionNamespacedConfigMapTest() throws ApiException { public void deleteCollectionNamespacedEndpointsTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1228,12 +1343,15 @@ public void deleteCollectionNamespacedEndpointsTest() throws ApiException { public void deleteCollectionNamespacedEventTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1250,12 +1368,15 @@ public void deleteCollectionNamespacedEventTest() throws ApiException { public void deleteCollectionNamespacedLimitRangeTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1272,12 +1393,15 @@ public void deleteCollectionNamespacedLimitRangeTest() throws ApiException { public void deleteCollectionNamespacedPersistentVolumeClaimTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1294,12 +1418,15 @@ public void deleteCollectionNamespacedPersistentVolumeClaimTest() throws ApiExce public void deleteCollectionNamespacedPodTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1316,12 +1443,15 @@ public void deleteCollectionNamespacedPodTest() throws ApiException { public void deleteCollectionNamespacedPodTemplateTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1338,12 +1468,15 @@ public void deleteCollectionNamespacedPodTemplateTest() throws ApiException { public void deleteCollectionNamespacedReplicationControllerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1360,12 +1493,15 @@ public void deleteCollectionNamespacedReplicationControllerTest() throws ApiExce public void deleteCollectionNamespacedResourceQuotaTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1382,12 +1518,15 @@ public void deleteCollectionNamespacedResourceQuotaTest() throws ApiException { public void deleteCollectionNamespacedSecretTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1404,12 +1543,15 @@ public void deleteCollectionNamespacedSecretTest() throws ApiException { public void deleteCollectionNamespacedServiceAccountTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1425,12 +1567,15 @@ public void deleteCollectionNamespacedServiceAccountTest() throws ApiException { @Test public void deleteCollectionNodeTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1446,12 +1591,15 @@ public void deleteCollectionNodeTest() throws ApiException { @Test public void deleteCollectionPersistentVolumeTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1804,13 +1952,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listComponentStatusTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ComponentStatusList response = api.listComponentStatus(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ComponentStatusList response = api.listComponentStatus(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1825,13 +1976,16 @@ public void listComponentStatusTest() throws ApiException { */ @Test public void listConfigMapForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ConfigMapList response = api.listConfigMapForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ConfigMapList response = api.listConfigMapForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1846,13 +2000,16 @@ public void listConfigMapForAllNamespacesTest() throws ApiException { */ @Test public void listEndpointsForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1EndpointsList response = api.listEndpointsForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1EndpointsList response = api.listEndpointsForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1867,13 +2024,16 @@ public void listEndpointsForAllNamespacesTest() throws ApiException { */ @Test public void listEventForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1EventList response = api.listEventForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1EventList response = api.listEventForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1888,13 +2048,16 @@ public void listEventForAllNamespacesTest() throws ApiException { */ @Test public void listLimitRangeForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1LimitRangeList response = api.listLimitRangeForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1LimitRangeList response = api.listLimitRangeForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1910,12 +2073,15 @@ public void listLimitRangeForAllNamespacesTest() throws ApiException { @Test public void listNamespaceTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1NamespaceList response = api.listNamespace(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1NamespaceList response = api.listNamespace(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1932,12 +2098,15 @@ public void listNamespaceTest() throws ApiException { public void listNamespacedConfigMapTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ConfigMapList response = api.listNamespacedConfigMap(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ConfigMapList response = api.listNamespacedConfigMap(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1954,12 +2123,15 @@ public void listNamespacedConfigMapTest() throws ApiException { public void listNamespacedEndpointsTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1EndpointsList response = api.listNamespacedEndpoints(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1EndpointsList response = api.listNamespacedEndpoints(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1976,12 +2148,15 @@ public void listNamespacedEndpointsTest() throws ApiException { public void listNamespacedEventTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1EventList response = api.listNamespacedEvent(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1EventList response = api.listNamespacedEvent(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -1998,12 +2173,15 @@ public void listNamespacedEventTest() throws ApiException { public void listNamespacedLimitRangeTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1LimitRangeList response = api.listNamespacedLimitRange(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1LimitRangeList response = api.listNamespacedLimitRange(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2020,12 +2198,15 @@ public void listNamespacedLimitRangeTest() throws ApiException { public void listNamespacedPersistentVolumeClaimTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PersistentVolumeClaimList response = api.listNamespacedPersistentVolumeClaim(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeClaimList response = api.listNamespacedPersistentVolumeClaim(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2042,12 +2223,15 @@ public void listNamespacedPersistentVolumeClaimTest() throws ApiException { public void listNamespacedPodTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PodList response = api.listNamespacedPod(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PodList response = api.listNamespacedPod(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2064,12 +2248,15 @@ public void listNamespacedPodTest() throws ApiException { public void listNamespacedPodTemplateTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PodTemplateList response = api.listNamespacedPodTemplate(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PodTemplateList response = api.listNamespacedPodTemplate(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2086,12 +2273,15 @@ public void listNamespacedPodTemplateTest() throws ApiException { public void listNamespacedReplicationControllerTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ReplicationControllerList response = api.listNamespacedReplicationController(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ReplicationControllerList response = api.listNamespacedReplicationController(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2108,12 +2298,15 @@ public void listNamespacedReplicationControllerTest() throws ApiException { public void listNamespacedResourceQuotaTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ResourceQuotaList response = api.listNamespacedResourceQuota(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ResourceQuotaList response = api.listNamespacedResourceQuota(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2130,12 +2323,15 @@ public void listNamespacedResourceQuotaTest() throws ApiException { public void listNamespacedSecretTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1SecretList response = api.listNamespacedSecret(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1SecretList response = api.listNamespacedSecret(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2152,12 +2348,15 @@ public void listNamespacedSecretTest() throws ApiException { public void listNamespacedServiceTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ServiceList response = api.listNamespacedService(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ServiceList response = api.listNamespacedService(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2174,12 +2373,15 @@ public void listNamespacedServiceTest() throws ApiException { public void listNamespacedServiceAccountTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ServiceAccountList response = api.listNamespacedServiceAccount(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1ServiceAccountList response = api.listNamespacedServiceAccount(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2195,12 +2397,15 @@ public void listNamespacedServiceAccountTest() throws ApiException { @Test public void listNodeTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1NodeList response = api.listNode(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1NodeList response = api.listNode(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2216,12 +2421,15 @@ public void listNodeTest() throws ApiException { @Test public void listPersistentVolumeTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PersistentVolumeList response = api.listPersistentVolume(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeList response = api.listPersistentVolume(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2236,13 +2444,16 @@ public void listPersistentVolumeTest() throws ApiException { */ @Test public void listPersistentVolumeClaimForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PersistentVolumeClaimList response = api.listPersistentVolumeClaimForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PersistentVolumeClaimList response = api.listPersistentVolumeClaimForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2257,13 +2468,16 @@ public void listPersistentVolumeClaimForAllNamespacesTest() throws ApiException */ @Test public void listPodForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PodList response = api.listPodForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PodList response = api.listPodForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2278,13 +2492,16 @@ public void listPodForAllNamespacesTest() throws ApiException { */ @Test public void listPodTemplateForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1PodTemplateList response = api.listPodTemplateForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1PodTemplateList response = api.listPodTemplateForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2299,13 +2516,16 @@ public void listPodTemplateForAllNamespacesTest() throws ApiException { */ @Test public void listReplicationControllerForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ReplicationControllerList response = api.listReplicationControllerForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ReplicationControllerList response = api.listReplicationControllerForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2320,13 +2540,16 @@ public void listReplicationControllerForAllNamespacesTest() throws ApiException */ @Test public void listResourceQuotaForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ResourceQuotaList response = api.listResourceQuotaForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ResourceQuotaList response = api.listResourceQuotaForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2341,13 +2564,16 @@ public void listResourceQuotaForAllNamespacesTest() throws ApiException { */ @Test public void listSecretForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1SecretList response = api.listSecretForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1SecretList response = api.listSecretForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2362,13 +2588,16 @@ public void listSecretForAllNamespacesTest() throws ApiException { */ @Test public void listServiceAccountForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ServiceAccountList response = api.listServiceAccountForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ServiceAccountList response = api.listServiceAccountForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2383,13 +2612,16 @@ public void listServiceAccountForAllNamespacesTest() throws ApiException { */ @Test public void listServiceForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1ServiceList response = api.listServiceForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1ServiceList response = api.listServiceForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -2623,18 +2855,18 @@ public void patchNamespacedReplicationControllerTest() throws ApiException { /** * * - * partially update status of the specified ReplicationController + * partially update scale of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedReplicationControllerStatusTest() throws ApiException { + public void patchNamespacedReplicationControllerScaleTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - V1ReplicationController response = api.patchNamespacedReplicationControllerStatus(name, namespace, body, pretty); + V1Scale response = api.patchNamespacedReplicationControllerScale(name, namespace, body, pretty); // TODO: test validations } @@ -2642,18 +2874,18 @@ public void patchNamespacedReplicationControllerStatusTest() throws ApiException /** * * - * partially update the specified ResourceQuota + * partially update status of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedResourceQuotaTest() throws ApiException { + public void patchNamespacedReplicationControllerStatusTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - V1ResourceQuota response = api.patchNamespacedResourceQuota(name, namespace, body, pretty); + V1ReplicationController response = api.patchNamespacedReplicationControllerStatus(name, namespace, body, pretty); // TODO: test validations } @@ -2661,18 +2893,18 @@ public void patchNamespacedResourceQuotaTest() throws ApiException { /** * * - * partially update status of the specified ResourceQuota + * partially update the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedResourceQuotaStatusTest() throws ApiException { + public void patchNamespacedResourceQuotaTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - V1ResourceQuota response = api.patchNamespacedResourceQuotaStatus(name, namespace, body, pretty); + V1ResourceQuota response = api.patchNamespacedResourceQuota(name, namespace, body, pretty); // TODO: test validations } @@ -2680,18 +2912,18 @@ public void patchNamespacedResourceQuotaStatusTest() throws ApiException { /** * * - * partially update scale of the specified Scale + * partially update status of the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedScaleScaleTest() throws ApiException { + public void patchNamespacedResourceQuotaStatusTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - V1Scale response = api.patchNamespacedScaleScale(name, namespace, body, pretty); + V1ResourceQuota response = api.patchNamespacedResourceQuotaStatus(name, namespace, body, pretty); // TODO: test validations } @@ -3842,17 +4074,17 @@ public void readNamespacedReplicationControllerTest() throws ApiException { /** * * - * read status of the specified ReplicationController + * read scale of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedReplicationControllerStatusTest() throws ApiException { + public void readNamespacedReplicationControllerScaleTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - V1ReplicationController response = api.readNamespacedReplicationControllerStatus(name, namespace, pretty); + V1Scale response = api.readNamespacedReplicationControllerScale(name, namespace, pretty); // TODO: test validations } @@ -3860,19 +4092,17 @@ public void readNamespacedReplicationControllerStatusTest() throws ApiException /** * * - * read the specified ResourceQuota + * read status of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedResourceQuotaTest() throws ApiException { + public void readNamespacedReplicationControllerStatusTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - Boolean exact = null; - Boolean export = null; - V1ResourceQuota response = api.readNamespacedResourceQuota(name, namespace, pretty, exact, export); + V1ReplicationController response = api.readNamespacedReplicationControllerStatus(name, namespace, pretty); // TODO: test validations } @@ -3880,17 +4110,19 @@ public void readNamespacedResourceQuotaTest() throws ApiException { /** * * - * read status of the specified ResourceQuota + * read the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedResourceQuotaStatusTest() throws ApiException { + public void readNamespacedResourceQuotaTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - V1ResourceQuota response = api.readNamespacedResourceQuotaStatus(name, namespace, pretty); + Boolean exact = null; + Boolean export = null; + V1ResourceQuota response = api.readNamespacedResourceQuota(name, namespace, pretty, exact, export); // TODO: test validations } @@ -3898,17 +4130,17 @@ public void readNamespacedResourceQuotaStatusTest() throws ApiException { /** * * - * read scale of the specified Scale + * read status of the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedScaleScaleTest() throws ApiException { + public void readNamespacedResourceQuotaStatusTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - V1Scale response = api.readNamespacedScaleScale(name, namespace, pretty); + V1ResourceQuota response = api.readNamespacedResourceQuotaStatus(name, namespace, pretty); // TODO: test validations } @@ -4310,18 +4542,18 @@ public void replaceNamespacedReplicationControllerTest() throws ApiException { /** * * - * replace status of the specified ReplicationController + * replace scale of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedReplicationControllerStatusTest() throws ApiException { + public void replaceNamespacedReplicationControllerScaleTest() throws ApiException { String name = null; String namespace = null; - V1ReplicationController body = null; + V1Scale body = null; String pretty = null; - V1ReplicationController response = api.replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty); + V1Scale response = api.replaceNamespacedReplicationControllerScale(name, namespace, body, pretty); // TODO: test validations } @@ -4329,18 +4561,18 @@ public void replaceNamespacedReplicationControllerStatusTest() throws ApiExcepti /** * * - * replace the specified ResourceQuota + * replace status of the specified ReplicationController * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedResourceQuotaTest() throws ApiException { + public void replaceNamespacedReplicationControllerStatusTest() throws ApiException { String name = null; String namespace = null; - V1ResourceQuota body = null; + V1ReplicationController body = null; String pretty = null; - V1ResourceQuota response = api.replaceNamespacedResourceQuota(name, namespace, body, pretty); + V1ReplicationController response = api.replaceNamespacedReplicationControllerStatus(name, namespace, body, pretty); // TODO: test validations } @@ -4348,18 +4580,18 @@ public void replaceNamespacedResourceQuotaTest() throws ApiException { /** * * - * replace status of the specified ResourceQuota + * replace the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedResourceQuotaStatusTest() throws ApiException { + public void replaceNamespacedResourceQuotaTest() throws ApiException { String name = null; String namespace = null; V1ResourceQuota body = null; String pretty = null; - V1ResourceQuota response = api.replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty); + V1ResourceQuota response = api.replaceNamespacedResourceQuota(name, namespace, body, pretty); // TODO: test validations } @@ -4367,18 +4599,18 @@ public void replaceNamespacedResourceQuotaStatusTest() throws ApiException { /** * * - * replace scale of the specified Scale + * replace status of the specified ResourceQuota * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedScaleScaleTest() throws ApiException { + public void replaceNamespacedResourceQuotaStatusTest() throws ApiException { String name = null; String namespace = null; - V1Scale body = null; + V1ResourceQuota body = null; String pretty = null; - V1Scale response = api.replaceNamespacedScaleScale(name, namespace, body, pretty); + V1ResourceQuota response = api.replaceNamespacedResourceQuotaStatus(name, namespace, body, pretty); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/CustomObjectsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/CustomObjectsApiTest.java index 9abf9ec688..b357133a90 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/CustomObjectsApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/CustomObjectsApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsApiTest.java index f9a2885f23..75b9f5771d 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsV1beta1ApiTest.java index d85214eb26..4d6eaf3842 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/ExtensionsV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -31,8 +31,6 @@ import io.kubernetes.client.models.V1beta1PodSecurityPolicyList; import io.kubernetes.client.models.V1beta1ReplicaSet; import io.kubernetes.client.models.V1beta1ReplicaSetList; -import io.kubernetes.client.models.V1beta1ThirdPartyResource; -import io.kubernetes.client.models.V1beta1ThirdPartyResourceList; import org.junit.Test; import org.junit.Ignore; @@ -89,18 +87,18 @@ public void createNamespacedDeploymentTest() throws ApiException { /** * * - * create rollback of a DeploymentRollback + * create rollback of a Deployment * * @throws ApiException * if the Api call fails */ @Test - public void createNamespacedDeploymentRollbackRollbackTest() throws ApiException { + public void createNamespacedDeploymentRollbackTest() throws ApiException { String name = null; String namespace = null; ExtensionsV1beta1DeploymentRollback body = null; String pretty = null; - ExtensionsV1beta1DeploymentRollback response = api.createNamespacedDeploymentRollbackRollback(name, namespace, body, pretty); + ExtensionsV1beta1DeploymentRollback response = api.createNamespacedDeploymentRollback(name, namespace, body, pretty); // TODO: test validations } @@ -176,23 +174,6 @@ public void createPodSecurityPolicyTest() throws ApiException { // TODO: test validations } - /** - * - * - * create a ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createThirdPartyResourceTest() throws ApiException { - V1beta1ThirdPartyResource body = null; - String pretty = null; - V1beta1ThirdPartyResource response = api.createThirdPartyResource(body, pretty); - - // TODO: test validations - } - /** * * @@ -205,12 +186,15 @@ public void createThirdPartyResourceTest() throws ApiException { public void deleteCollectionNamespacedDaemonSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -227,12 +211,15 @@ public void deleteCollectionNamespacedDaemonSetTest() throws ApiException { public void deleteCollectionNamespacedDeploymentTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -249,12 +236,15 @@ public void deleteCollectionNamespacedDeploymentTest() throws ApiException { public void deleteCollectionNamespacedIngressTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -271,12 +261,15 @@ public void deleteCollectionNamespacedIngressTest() throws ApiException { public void deleteCollectionNamespacedNetworkPolicyTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -293,12 +286,15 @@ public void deleteCollectionNamespacedNetworkPolicyTest() throws ApiException { public void deleteCollectionNamespacedReplicaSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -314,33 +310,15 @@ public void deleteCollectionNamespacedReplicaSetTest() throws ApiException { @Test public void deleteCollectionPodSecurityPolicyTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); - - // TODO: test validations - } - - /** - * - * - * delete collection of ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteCollectionThirdPartyResourceTest() throws ApiException { - String pretty = null; - String fieldSelector = null; - String labelSelector = null; - String resourceVersion = null; - Integer timeoutSeconds = null; - Boolean watch = null; - V1Status response = api.deleteCollectionThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -476,27 +454,6 @@ public void deletePodSecurityPolicyTest() throws ApiException { // TODO: test validations } - /** - * - * - * delete a ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteThirdPartyResourceTest() throws ApiException { - String name = null; - V1DeleteOptions body = null; - String pretty = null; - Integer gracePeriodSeconds = null; - Boolean orphanDependents = null; - String propagationPolicy = null; - V1Status response = api.deleteThirdPartyResource(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); - - // TODO: test validations - } - /** * * @@ -522,13 +479,16 @@ public void getAPIResourcesTest() throws ApiException { */ @Test public void listDaemonSetForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1DaemonSetList response = api.listDaemonSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1DaemonSetList response = api.listDaemonSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -543,13 +503,16 @@ public void listDaemonSetForAllNamespacesTest() throws ApiException { */ @Test public void listDeploymentForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - ExtensionsV1beta1DeploymentList response = api.listDeploymentForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + ExtensionsV1beta1DeploymentList response = api.listDeploymentForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -564,13 +527,16 @@ public void listDeploymentForAllNamespacesTest() throws ApiException { */ @Test public void listIngressForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1IngressList response = api.listIngressForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1IngressList response = api.listIngressForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -587,12 +553,15 @@ public void listIngressForAllNamespacesTest() throws ApiException { public void listNamespacedDaemonSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1DaemonSetList response = api.listNamespacedDaemonSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1DaemonSetList response = api.listNamespacedDaemonSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -609,12 +578,15 @@ public void listNamespacedDaemonSetTest() throws ApiException { public void listNamespacedDeploymentTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - ExtensionsV1beta1DeploymentList response = api.listNamespacedDeployment(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + ExtensionsV1beta1DeploymentList response = api.listNamespacedDeployment(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -631,12 +603,15 @@ public void listNamespacedDeploymentTest() throws ApiException { public void listNamespacedIngressTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1IngressList response = api.listNamespacedIngress(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1IngressList response = api.listNamespacedIngress(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -653,12 +628,15 @@ public void listNamespacedIngressTest() throws ApiException { public void listNamespacedNetworkPolicyTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1NetworkPolicyList response = api.listNamespacedNetworkPolicy(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1NetworkPolicyList response = api.listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -675,12 +653,15 @@ public void listNamespacedNetworkPolicyTest() throws ApiException { public void listNamespacedReplicaSetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1ReplicaSetList response = api.listNamespacedReplicaSet(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ReplicaSetList response = api.listNamespacedReplicaSet(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -695,13 +676,16 @@ public void listNamespacedReplicaSetTest() throws ApiException { */ @Test public void listNetworkPolicyForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1NetworkPolicyList response = api.listNetworkPolicyForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1NetworkPolicyList response = api.listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -717,12 +701,15 @@ public void listNetworkPolicyForAllNamespacesTest() throws ApiException { @Test public void listPodSecurityPolicyTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1PodSecurityPolicyList response = api.listPodSecurityPolicy(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1PodSecurityPolicyList response = api.listPodSecurityPolicy(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -737,34 +724,16 @@ public void listPodSecurityPolicyTest() throws ApiException { */ @Test public void listReplicaSetForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1ReplicaSetList response = api.listReplicaSetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); - - // TODO: test validations - } - - /** - * - * - * list or watch objects of kind ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listThirdPartyResourceTest() throws ApiException { - String pretty = null; - String fieldSelector = null; - String labelSelector = null; - String resourceVersion = null; - Integer timeoutSeconds = null; - Boolean watch = null; - V1beta1ThirdPartyResourceList response = api.listThirdPartyResource(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ReplicaSetList response = api.listReplicaSetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -829,18 +798,18 @@ public void patchNamespacedDeploymentTest() throws ApiException { /** * * - * partially update status of the specified Deployment + * partially update scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedDeploymentStatusTest() throws ApiException { + public void patchNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - ExtensionsV1beta1Deployment response = api.patchNamespacedDeploymentStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.patchNamespacedDeploymentScale(name, namespace, body, pretty); // TODO: test validations } @@ -848,18 +817,18 @@ public void patchNamespacedDeploymentStatusTest() throws ApiException { /** * * - * partially update scale of the specified Scale + * partially update status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedDeploymentsScaleTest() throws ApiException { + public void patchNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.patchNamespacedDeploymentsScale(name, namespace, body, pretty); + ExtensionsV1beta1Deployment response = api.patchNamespacedDeploymentStatus(name, namespace, body, pretty); // TODO: test validations } @@ -943,18 +912,18 @@ public void patchNamespacedReplicaSetTest() throws ApiException { /** * * - * partially update status of the specified ReplicaSet + * partially update scale of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedReplicaSetStatusTest() throws ApiException { + public void patchNamespacedReplicaSetScaleTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - V1beta1ReplicaSet response = api.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.patchNamespacedReplicaSetScale(name, namespace, body, pretty); // TODO: test validations } @@ -962,18 +931,18 @@ public void patchNamespacedReplicaSetStatusTest() throws ApiException { /** * * - * partially update scale of the specified Scale + * partially update status of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedReplicasetsScaleTest() throws ApiException { + public void patchNamespacedReplicaSetStatusTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.patchNamespacedReplicasetsScale(name, namespace, body, pretty); + V1beta1ReplicaSet response = api.patchNamespacedReplicaSetStatus(name, namespace, body, pretty); // TODO: test validations } @@ -981,18 +950,18 @@ public void patchNamespacedReplicasetsScaleTest() throws ApiException { /** * * - * partially update scale of the specified Scale + * partially update scale of the specified ReplicationControllerDummy * * @throws ApiException * if the Api call fails */ @Test - public void patchNamespacedReplicationcontrollersScaleTest() throws ApiException { + public void patchNamespacedReplicationControllerDummyScaleTest() throws ApiException { String name = null; String namespace = null; Object body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.patchNamespacedReplicationcontrollersScale(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.patchNamespacedReplicationControllerDummyScale(name, namespace, body, pretty); // TODO: test validations } @@ -1015,24 +984,6 @@ public void patchPodSecurityPolicyTest() throws ApiException { // TODO: test validations } - /** - * - * - * partially update the specified ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void patchThirdPartyResourceTest() throws ApiException { - String name = null; - Object body = null; - String pretty = null; - V1beta1ThirdPartyResource response = api.patchThirdPartyResource(name, body, pretty); - - // TODO: test validations - } - /** * * @@ -1094,17 +1045,17 @@ public void readNamespacedDeploymentTest() throws ApiException { /** * * - * read status of the specified Deployment + * read scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedDeploymentStatusTest() throws ApiException { + public void readNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - ExtensionsV1beta1Deployment response = api.readNamespacedDeploymentStatus(name, namespace, pretty); + ExtensionsV1beta1Scale response = api.readNamespacedDeploymentScale(name, namespace, pretty); // TODO: test validations } @@ -1112,17 +1063,17 @@ public void readNamespacedDeploymentStatusTest() throws ApiException { /** * * - * read scale of the specified Scale + * read status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedDeploymentsScaleTest() throws ApiException { + public void readNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - ExtensionsV1beta1Scale response = api.readNamespacedDeploymentsScale(name, namespace, pretty); + ExtensionsV1beta1Deployment response = api.readNamespacedDeploymentStatus(name, namespace, pretty); // TODO: test validations } @@ -1208,17 +1159,17 @@ public void readNamespacedReplicaSetTest() throws ApiException { /** * * - * read status of the specified ReplicaSet + * read scale of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedReplicaSetStatusTest() throws ApiException { + public void readNamespacedReplicaSetScaleTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - V1beta1ReplicaSet response = api.readNamespacedReplicaSetStatus(name, namespace, pretty); + ExtensionsV1beta1Scale response = api.readNamespacedReplicaSetScale(name, namespace, pretty); // TODO: test validations } @@ -1226,17 +1177,17 @@ public void readNamespacedReplicaSetStatusTest() throws ApiException { /** * * - * read scale of the specified Scale + * read status of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedReplicasetsScaleTest() throws ApiException { + public void readNamespacedReplicaSetStatusTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - ExtensionsV1beta1Scale response = api.readNamespacedReplicasetsScale(name, namespace, pretty); + V1beta1ReplicaSet response = api.readNamespacedReplicaSetStatus(name, namespace, pretty); // TODO: test validations } @@ -1244,17 +1195,17 @@ public void readNamespacedReplicasetsScaleTest() throws ApiException { /** * * - * read scale of the specified Scale + * read scale of the specified ReplicationControllerDummy * * @throws ApiException * if the Api call fails */ @Test - public void readNamespacedReplicationcontrollersScaleTest() throws ApiException { + public void readNamespacedReplicationControllerDummyScaleTest() throws ApiException { String name = null; String namespace = null; String pretty = null; - ExtensionsV1beta1Scale response = api.readNamespacedReplicationcontrollersScale(name, namespace, pretty); + ExtensionsV1beta1Scale response = api.readNamespacedReplicationControllerDummyScale(name, namespace, pretty); // TODO: test validations } @@ -1278,25 +1229,6 @@ public void readPodSecurityPolicyTest() throws ApiException { // TODO: test validations } - /** - * - * - * read the specified ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void readThirdPartyResourceTest() throws ApiException { - String name = null; - String pretty = null; - Boolean exact = null; - Boolean export = null; - V1beta1ThirdPartyResource response = api.readThirdPartyResource(name, pretty, exact, export); - - // TODO: test validations - } - /** * * @@ -1357,18 +1289,18 @@ public void replaceNamespacedDeploymentTest() throws ApiException { /** * * - * replace status of the specified Deployment + * replace scale of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedDeploymentStatusTest() throws ApiException { + public void replaceNamespacedDeploymentScaleTest() throws ApiException { String name = null; String namespace = null; - ExtensionsV1beta1Deployment body = null; + ExtensionsV1beta1Scale body = null; String pretty = null; - ExtensionsV1beta1Deployment response = api.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.replaceNamespacedDeploymentScale(name, namespace, body, pretty); // TODO: test validations } @@ -1376,18 +1308,18 @@ public void replaceNamespacedDeploymentStatusTest() throws ApiException { /** * * - * replace scale of the specified Scale + * replace status of the specified Deployment * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedDeploymentsScaleTest() throws ApiException { + public void replaceNamespacedDeploymentStatusTest() throws ApiException { String name = null; String namespace = null; - ExtensionsV1beta1Scale body = null; + ExtensionsV1beta1Deployment body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.replaceNamespacedDeploymentsScale(name, namespace, body, pretty); + ExtensionsV1beta1Deployment response = api.replaceNamespacedDeploymentStatus(name, namespace, body, pretty); // TODO: test validations } @@ -1471,18 +1403,18 @@ public void replaceNamespacedReplicaSetTest() throws ApiException { /** * * - * replace status of the specified ReplicaSet + * replace scale of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedReplicaSetStatusTest() throws ApiException { + public void replaceNamespacedReplicaSetScaleTest() throws ApiException { String name = null; String namespace = null; - V1beta1ReplicaSet body = null; + ExtensionsV1beta1Scale body = null; String pretty = null; - V1beta1ReplicaSet response = api.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.replaceNamespacedReplicaSetScale(name, namespace, body, pretty); // TODO: test validations } @@ -1490,18 +1422,18 @@ public void replaceNamespacedReplicaSetStatusTest() throws ApiException { /** * * - * replace scale of the specified Scale + * replace status of the specified ReplicaSet * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedReplicasetsScaleTest() throws ApiException { + public void replaceNamespacedReplicaSetStatusTest() throws ApiException { String name = null; String namespace = null; - ExtensionsV1beta1Scale body = null; + V1beta1ReplicaSet body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.replaceNamespacedReplicasetsScale(name, namespace, body, pretty); + V1beta1ReplicaSet response = api.replaceNamespacedReplicaSetStatus(name, namespace, body, pretty); // TODO: test validations } @@ -1509,18 +1441,18 @@ public void replaceNamespacedReplicasetsScaleTest() throws ApiException { /** * * - * replace scale of the specified Scale + * replace scale of the specified ReplicationControllerDummy * * @throws ApiException * if the Api call fails */ @Test - public void replaceNamespacedReplicationcontrollersScaleTest() throws ApiException { + public void replaceNamespacedReplicationControllerDummyScaleTest() throws ApiException { String name = null; String namespace = null; ExtensionsV1beta1Scale body = null; String pretty = null; - ExtensionsV1beta1Scale response = api.replaceNamespacedReplicationcontrollersScale(name, namespace, body, pretty); + ExtensionsV1beta1Scale response = api.replaceNamespacedReplicationControllerDummyScale(name, namespace, body, pretty); // TODO: test validations } @@ -1543,22 +1475,4 @@ public void replacePodSecurityPolicyTest() throws ApiException { // TODO: test validations } - /** - * - * - * replace the specified ThirdPartyResource - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void replaceThirdPartyResourceTest() throws ApiException { - String name = null; - V1beta1ThirdPartyResource body = null; - String pretty = null; - V1beta1ThirdPartyResource response = api.replaceThirdPartyResource(name, body, pretty); - - // TODO: test validations - } - } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/LogsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/LogsApiTest.java index b3ba69cb03..d2a8707437 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/LogsApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/LogsApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingApiTest.java new file mode 100644 index 0000000000..3b5969cccf --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingApiTest.java @@ -0,0 +1,50 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIGroup; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for NetworkingApi + */ +@Ignore +public class NetworkingApiTest { + + private final NetworkingApi api = new NetworkingApi(); + + + /** + * + * + * get information of a group + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIGroupTest() throws ApiException { + V1APIGroup response = api.getAPIGroup(); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingV1ApiTest.java new file mode 100644 index 0000000000..5fd85615d7 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/NetworkingV1ApiTest.java @@ -0,0 +1,226 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1NetworkPolicy; +import io.kubernetes.client.models.V1NetworkPolicyList; +import io.kubernetes.client.models.V1Status; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for NetworkingV1Api + */ +@Ignore +public class NetworkingV1ApiTest { + + private final NetworkingV1Api api = new NetworkingV1Api(); + + + /** + * + * + * create a NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedNetworkPolicyTest() throws ApiException { + String namespace = null; + V1NetworkPolicy body = null; + String pretty = null; + V1NetworkPolicy response = api.createNamespacedNetworkPolicy(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedNetworkPolicyTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedNetworkPolicyTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedNetworkPolicy(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedNetworkPolicyTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1NetworkPolicyList response = api.listNamespacedNetworkPolicy(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNetworkPolicyForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1NetworkPolicyList response = api.listNetworkPolicyForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedNetworkPolicyTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1NetworkPolicy response = api.patchNamespacedNetworkPolicy(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedNetworkPolicyTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1NetworkPolicy response = api.readNamespacedNetworkPolicy(name, namespace, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * replace the specified NetworkPolicy + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedNetworkPolicyTest() throws ApiException { + String name = null; + String namespace = null; + V1NetworkPolicy body = null; + String pretty = null; + V1NetworkPolicy response = api.replaceNamespacedNetworkPolicy(name, namespace, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyApiTest.java index fd5f4d8d03..6718809c5b 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyV1beta1ApiTest.java index 192a427bc6..2254385fb5 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/PolicyV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -66,12 +66,15 @@ public void createNamespacedPodDisruptionBudgetTest() throws ApiException { public void deleteCollectionNamespacedPodDisruptionBudgetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -125,12 +128,15 @@ public void getAPIResourcesTest() throws ApiException { public void listNamespacedPodDisruptionBudgetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1PodDisruptionBudgetList response = api.listNamespacedPodDisruptionBudget(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1PodDisruptionBudgetList response = api.listNamespacedPodDisruptionBudget(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -145,13 +151,16 @@ public void listNamespacedPodDisruptionBudgetTest() throws ApiException { */ @Test public void listPodDisruptionBudgetForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1PodDisruptionBudgetList response = api.listPodDisruptionBudgetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1PodDisruptionBudgetList response = api.listPodDisruptionBudgetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationApiTest.java index 908acf4efc..1c5e1ed618 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1ApiTest.java new file mode 100644 index 0000000000..80d24c30bb --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1ApiTest.java @@ -0,0 +1,678 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1ClusterRole; +import io.kubernetes.client.models.V1ClusterRoleBinding; +import io.kubernetes.client.models.V1ClusterRoleBindingList; +import io.kubernetes.client.models.V1ClusterRoleList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Role; +import io.kubernetes.client.models.V1RoleBinding; +import io.kubernetes.client.models.V1RoleBindingList; +import io.kubernetes.client.models.V1RoleList; +import io.kubernetes.client.models.V1Status; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for RbacAuthorizationV1Api + */ +@Ignore +public class RbacAuthorizationV1ApiTest { + + private final RbacAuthorizationV1Api api = new RbacAuthorizationV1Api(); + + + /** + * + * + * create a ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createClusterRoleTest() throws ApiException { + V1ClusterRole body = null; + String pretty = null; + V1ClusterRole response = api.createClusterRole(body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createClusterRoleBindingTest() throws ApiException { + V1ClusterRoleBinding body = null; + String pretty = null; + V1ClusterRoleBinding response = api.createClusterRoleBinding(body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedRoleTest() throws ApiException { + String namespace = null; + V1Role body = null; + String pretty = null; + V1Role response = api.createNamespacedRole(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * create a RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createNamespacedRoleBindingTest() throws ApiException { + String namespace = null; + V1RoleBinding body = null; + String pretty = null; + V1RoleBinding response = api.createNamespacedRoleBinding(namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete a ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteClusterRoleTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteClusterRole(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteClusterRoleBindingTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteClusterRoleBinding(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete collection of ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionClusterRoleTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionClusterRoleBindingTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedRoleTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete collection of RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionNamespacedRoleBindingTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedRoleTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedRole(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * delete a RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteNamespacedRoleBindingTest() throws ApiException { + String name = null; + String namespace = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deleteNamespacedRoleBinding(name, namespace, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listClusterRoleTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1ClusterRoleList response = api.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listClusterRoleBindingTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1ClusterRoleBindingList response = api.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedRoleTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1RoleList response = api.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listNamespacedRoleBindingTest() throws ApiException { + String namespace = null; + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1RoleBindingList response = api.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listRoleBindingForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1RoleBindingList response = api.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listRoleForAllNamespacesTest() throws ApiException { + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String pretty = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1RoleList response = api.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchClusterRoleTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1ClusterRole response = api.patchClusterRole(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchClusterRoleBindingTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1ClusterRoleBinding response = api.patchClusterRoleBinding(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedRoleTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1Role response = api.patchNamespacedRole(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * partially update the specified RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchNamespacedRoleBindingTest() throws ApiException { + String name = null; + String namespace = null; + Object body = null; + String pretty = null; + V1RoleBinding response = api.patchNamespacedRoleBinding(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readClusterRoleTest() throws ApiException { + String name = null; + String pretty = null; + V1ClusterRole response = api.readClusterRole(name, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readClusterRoleBindingTest() throws ApiException { + String name = null; + String pretty = null; + V1ClusterRoleBinding response = api.readClusterRoleBinding(name, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedRoleTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1Role response = api.readNamespacedRole(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readNamespacedRoleBindingTest() throws ApiException { + String name = null; + String namespace = null; + String pretty = null; + V1RoleBinding response = api.readNamespacedRoleBinding(name, namespace, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified ClusterRole + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceClusterRoleTest() throws ApiException { + String name = null; + V1ClusterRole body = null; + String pretty = null; + V1ClusterRole response = api.replaceClusterRole(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified ClusterRoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceClusterRoleBindingTest() throws ApiException { + String name = null; + V1ClusterRoleBinding body = null; + String pretty = null; + V1ClusterRoleBinding response = api.replaceClusterRoleBinding(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified Role + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedRoleTest() throws ApiException { + String name = null; + String namespace = null; + V1Role body = null; + String pretty = null; + V1Role response = api.replaceNamespacedRole(name, namespace, body, pretty); + + // TODO: test validations + } + + /** + * + * + * replace the specified RoleBinding + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replaceNamespacedRoleBindingTest() throws ApiException { + String name = null; + String namespace = null; + V1RoleBinding body = null; + String pretty = null; + V1RoleBinding response = api.replaceNamespacedRoleBinding(name, namespace, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1ApiTest.java index 428365231f..0dc13c6466 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1alpha1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -165,12 +165,15 @@ public void deleteClusterRoleBindingTest() throws ApiException { @Test public void deleteCollectionClusterRoleTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -186,12 +189,15 @@ public void deleteCollectionClusterRoleTest() throws ApiException { @Test public void deleteCollectionClusterRoleBindingTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -208,12 +214,15 @@ public void deleteCollectionClusterRoleBindingTest() throws ApiException { public void deleteCollectionNamespacedRoleTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -230,12 +239,15 @@ public void deleteCollectionNamespacedRoleTest() throws ApiException { public void deleteCollectionNamespacedRoleBindingTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -310,12 +322,15 @@ public void getAPIResourcesTest() throws ApiException { @Test public void listClusterRoleTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1ClusterRoleList response = api.listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1ClusterRoleList response = api.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -331,12 +346,15 @@ public void listClusterRoleTest() throws ApiException { @Test public void listClusterRoleBindingTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1ClusterRoleBindingList response = api.listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1ClusterRoleBindingList response = api.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -353,12 +371,15 @@ public void listClusterRoleBindingTest() throws ApiException { public void listNamespacedRoleTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1RoleList response = api.listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleList response = api.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -375,12 +396,15 @@ public void listNamespacedRoleTest() throws ApiException { public void listNamespacedRoleBindingTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1RoleBindingList response = api.listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleBindingList response = api.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -395,13 +419,16 @@ public void listNamespacedRoleBindingTest() throws ApiException { */ @Test public void listRoleBindingForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1RoleBindingList response = api.listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleBindingList response = api.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -416,13 +443,16 @@ public void listRoleBindingForAllNamespacesTest() throws ApiException { */ @Test public void listRoleForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1RoleList response = api.listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1RoleList response = api.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1ApiTest.java index ec48fd509d..cc699d4f67 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/RbacAuthorizationV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -165,12 +165,15 @@ public void deleteClusterRoleBindingTest() throws ApiException { @Test public void deleteCollectionClusterRoleTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -186,12 +189,15 @@ public void deleteCollectionClusterRoleTest() throws ApiException { @Test public void deleteCollectionClusterRoleBindingTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -208,12 +214,15 @@ public void deleteCollectionClusterRoleBindingTest() throws ApiException { public void deleteCollectionNamespacedRoleTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -230,12 +239,15 @@ public void deleteCollectionNamespacedRoleTest() throws ApiException { public void deleteCollectionNamespacedRoleBindingTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -310,12 +322,15 @@ public void getAPIResourcesTest() throws ApiException { @Test public void listClusterRoleTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1ClusterRoleList response = api.listClusterRole(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ClusterRoleList response = api.listClusterRole(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -331,12 +346,15 @@ public void listClusterRoleTest() throws ApiException { @Test public void listClusterRoleBindingTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1ClusterRoleBindingList response = api.listClusterRoleBinding(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1ClusterRoleBindingList response = api.listClusterRoleBinding(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -353,12 +371,15 @@ public void listClusterRoleBindingTest() throws ApiException { public void listNamespacedRoleTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1RoleList response = api.listNamespacedRole(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1RoleList response = api.listNamespacedRole(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -375,12 +396,15 @@ public void listNamespacedRoleTest() throws ApiException { public void listNamespacedRoleBindingTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1RoleBindingList response = api.listNamespacedRoleBinding(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1RoleBindingList response = api.listNamespacedRoleBinding(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -395,13 +419,16 @@ public void listNamespacedRoleBindingTest() throws ApiException { */ @Test public void listRoleBindingForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1RoleBindingList response = api.listRoleBindingForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1RoleBindingList response = api.listRoleBindingForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -416,13 +443,16 @@ public void listRoleBindingForAllNamespacesTest() throws ApiException { */ @Test public void listRoleForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1RoleList response = api.listRoleForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1beta1RoleList response = api.listRoleForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingApiTest.java new file mode 100644 index 0000000000..4b45cc2b26 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingApiTest.java @@ -0,0 +1,50 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIGroup; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for SchedulingApi + */ +@Ignore +public class SchedulingApiTest { + + private final SchedulingApi api = new SchedulingApi(); + + + /** + * + * + * get information of a group + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIGroupTest() throws ApiException { + V1APIGroup response = api.getAPIGroup(); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingV1alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingV1alpha1ApiTest.java new file mode 100644 index 0000000000..d17203a8a0 --- /dev/null +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/SchedulingV1alpha1ApiTest.java @@ -0,0 +1,195 @@ +/* + * Kubernetes + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: v1.8.1 + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package io.kubernetes.client.apis; + +import io.kubernetes.client.ApiException; +import io.kubernetes.client.models.V1APIResourceList; +import io.kubernetes.client.models.V1DeleteOptions; +import io.kubernetes.client.models.V1Status; +import io.kubernetes.client.models.V1alpha1PriorityClass; +import io.kubernetes.client.models.V1alpha1PriorityClassList; +import org.junit.Test; +import org.junit.Ignore; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for SchedulingV1alpha1Api + */ +@Ignore +public class SchedulingV1alpha1ApiTest { + + private final SchedulingV1alpha1Api api = new SchedulingV1alpha1Api(); + + + /** + * + * + * create a PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void createPriorityClassTest() throws ApiException { + V1alpha1PriorityClass body = null; + String pretty = null; + V1alpha1PriorityClass response = api.createPriorityClass(body, pretty); + + // TODO: test validations + } + + /** + * + * + * delete collection of PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteCollectionPriorityClassTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1Status response = api.deleteCollectionPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * delete a PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void deletePriorityClassTest() throws ApiException { + String name = null; + V1DeleteOptions body = null; + String pretty = null; + Integer gracePeriodSeconds = null; + Boolean orphanDependents = null; + String propagationPolicy = null; + V1Status response = api.deletePriorityClass(name, body, pretty, gracePeriodSeconds, orphanDependents, propagationPolicy); + + // TODO: test validations + } + + /** + * + * + * get available resources + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void getAPIResourcesTest() throws ApiException { + V1APIResourceList response = api.getAPIResources(); + + // TODO: test validations + } + + /** + * + * + * list or watch objects of kind PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void listPriorityClassTest() throws ApiException { + String pretty = null; + String _continue = null; + String fieldSelector = null; + Boolean includeUninitialized = null; + String labelSelector = null; + Integer limit = null; + String resourceVersion = null; + Integer timeoutSeconds = null; + Boolean watch = null; + V1alpha1PriorityClassList response = api.listPriorityClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); + + // TODO: test validations + } + + /** + * + * + * partially update the specified PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void patchPriorityClassTest() throws ApiException { + String name = null; + Object body = null; + String pretty = null; + V1alpha1PriorityClass response = api.patchPriorityClass(name, body, pretty); + + // TODO: test validations + } + + /** + * + * + * read the specified PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void readPriorityClassTest() throws ApiException { + String name = null; + String pretty = null; + Boolean exact = null; + Boolean export = null; + V1alpha1PriorityClass response = api.readPriorityClass(name, pretty, exact, export); + + // TODO: test validations + } + + /** + * + * + * replace the specified PriorityClass + * + * @throws ApiException + * if the Api call fails + */ + @Test + public void replacePriorityClassTest() throws ApiException { + String name = null; + V1alpha1PriorityClass body = null; + String pretty = null; + V1alpha1PriorityClass response = api.replacePriorityClass(name, body, pretty); + + // TODO: test validations + } + +} diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsApiTest.java index 4f66b52b00..8904283b1f 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsV1alpha1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsV1alpha1ApiTest.java index c9c1b7bb73..61fcea2d2c 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsV1alpha1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/SettingsV1alpha1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -66,12 +66,15 @@ public void createNamespacedPodPresetTest() throws ApiException { public void deleteCollectionNamespacedPodPresetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -125,12 +128,15 @@ public void getAPIResourcesTest() throws ApiException { public void listNamespacedPodPresetTest() throws ApiException { String namespace = null; String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1PodPresetList response = api.listNamespacedPodPreset(namespace, pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1alpha1PodPresetList response = api.listNamespacedPodPreset(namespace, pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -145,13 +151,16 @@ public void listNamespacedPodPresetTest() throws ApiException { */ @Test public void listPodPresetForAllNamespacesTest() throws ApiException { + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String pretty = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1alpha1PodPresetList response = api.listPodPresetForAllNamespaces(fieldSelector, labelSelector, pretty, resourceVersion, timeoutSeconds, watch); + V1alpha1PodPresetList response = api.listPodPresetForAllNamespaces(_continue, fieldSelector, includeUninitialized, labelSelector, limit, pretty, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageApiTest.java index 20edafafa8..29a4e7efca 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1ApiTest.java index e63bdbc8b1..eb0c969f26 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -64,12 +64,15 @@ public void createStorageClassTest() throws ApiException { @Test public void deleteCollectionStorageClassTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -121,12 +124,15 @@ public void getAPIResourcesTest() throws ApiException { @Test public void listStorageClassTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1StorageClassList response = api.listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1StorageClassList response = api.listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1beta1ApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1beta1ApiTest.java index 6b691fee8f..df89b33fc2 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1beta1ApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/StorageV1beta1ApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. @@ -64,12 +64,15 @@ public void createStorageClassTest() throws ApiException { @Test public void deleteCollectionStorageClassTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1Status response = api.deleteCollectionStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1Status response = api.deleteCollectionStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } @@ -121,12 +124,15 @@ public void getAPIResourcesTest() throws ApiException { @Test public void listStorageClassTest() throws ApiException { String pretty = null; + String _continue = null; String fieldSelector = null; + Boolean includeUninitialized = null; String labelSelector = null; + Integer limit = null; String resourceVersion = null; Integer timeoutSeconds = null; Boolean watch = null; - V1beta1StorageClassList response = api.listStorageClass(pretty, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch); + V1beta1StorageClassList response = api.listStorageClass(pretty, _continue, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch); // TODO: test validations } diff --git a/kubernetes/src/test/java/io/kubernetes/client/apis/VersionApiTest.java b/kubernetes/src/test/java/io/kubernetes/client/apis/VersionApiTest.java index f69284051f..8389234900 100644 --- a/kubernetes/src/test/java/io/kubernetes/client/apis/VersionApiTest.java +++ b/kubernetes/src/test/java/io/kubernetes/client/apis/VersionApiTest.java @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * - * OpenAPI spec version: v1.6.9 + * OpenAPI spec version: v1.8.1 * * * NOTE: This class is auto generated by the swagger code generator program. diff --git a/kubernetes/swagger.json b/kubernetes/swagger.json index bcaf945421..72294f79bb 100644 --- a/kubernetes/swagger.json +++ b/kubernetes/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.6.9" + "version": "v1.8.1" }, "paths": { "/api/": { @@ -101,9 +101,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ComponentStatus", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -111,6 +124,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -118,6 +138,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -176,6 +203,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ComponentStatus", + "version": "v1" } }, "parameters": [ @@ -226,9 +259,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -236,6 +282,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -243,6 +296,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -303,9 +363,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -313,6 +386,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -320,6 +400,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -380,9 +467,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -390,6 +490,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -397,6 +504,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -457,9 +571,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -467,6 +594,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -474,6 +608,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -525,6 +666,13 @@ ], "operationId": "listNamespace", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -532,6 +680,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -539,6 +694,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -571,6 +733,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "post": { @@ -610,6 +778,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "parameters": [ @@ -660,6 +834,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Binding", + "version": "v1" } }, "parameters": [ @@ -701,6 +881,13 @@ ], "operationId": "listNamespacedConfigMap", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -708,6 +895,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -715,6 +909,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -747,6 +948,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "post": { @@ -786,6 +993,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "delete": { @@ -806,6 +1019,13 @@ ], "operationId": "deleteCollectionNamespacedConfigMap", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -813,6 +1033,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -820,6 +1047,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -852,6 +1086,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "parameters": [ @@ -916,6 +1156,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "put": { @@ -955,6 +1201,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "delete": { @@ -1015,6 +1267,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "patch": { @@ -1057,6 +1315,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" } }, "parameters": [ @@ -1106,6 +1370,13 @@ ], "operationId": "listNamespacedEndpoints", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1113,6 +1384,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1120,6 +1398,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1152,6 +1437,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "post": { @@ -1191,6 +1482,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "delete": { @@ -1211,6 +1508,13 @@ ], "operationId": "deleteCollectionNamespacedEndpoints", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1218,6 +1522,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1225,6 +1536,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1257,6 +1575,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "parameters": [ @@ -1321,6 +1645,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "put": { @@ -1360,6 +1690,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "delete": { @@ -1420,6 +1756,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "patch": { @@ -1462,6 +1804,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" } }, "parameters": [ @@ -1511,6 +1859,13 @@ ], "operationId": "listNamespacedEvent", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1518,6 +1873,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1525,6 +1887,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1557,6 +1926,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "post": { @@ -1596,6 +1971,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "delete": { @@ -1616,6 +1997,13 @@ ], "operationId": "deleteCollectionNamespacedEvent", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1623,6 +2011,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1630,6 +2025,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1662,6 +2064,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "parameters": [ @@ -1726,6 +2134,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "put": { @@ -1765,6 +2179,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "delete": { @@ -1825,6 +2245,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "patch": { @@ -1867,6 +2293,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" } }, "parameters": [ @@ -1916,6 +2348,13 @@ ], "operationId": "listNamespacedLimitRange", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1923,6 +2362,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1930,6 +2376,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1962,6 +2415,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "post": { @@ -2001,6 +2460,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "delete": { @@ -2021,6 +2486,13 @@ ], "operationId": "deleteCollectionNamespacedLimitRange", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2028,6 +2500,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2035,6 +2514,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2067,6 +2553,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "parameters": [ @@ -2131,6 +2623,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "put": { @@ -2170,6 +2668,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "delete": { @@ -2230,6 +2734,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "patch": { @@ -2272,6 +2782,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" } }, "parameters": [ @@ -2321,6 +2837,13 @@ ], "operationId": "listNamespacedPersistentVolumeClaim", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2328,6 +2851,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2335,6 +2865,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2367,6 +2904,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "post": { @@ -2406,6 +2949,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "delete": { @@ -2426,6 +2975,13 @@ ], "operationId": "deleteCollectionNamespacedPersistentVolumeClaim", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2433,6 +2989,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2440,6 +3003,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2472,6 +3042,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "parameters": [ @@ -2536,6 +3112,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "put": { @@ -2575,6 +3157,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "delete": { @@ -2635,6 +3223,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "patch": { @@ -2677,6 +3271,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "parameters": [ @@ -2733,6 +3333,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "put": { @@ -2772,6 +3378,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "patch": { @@ -2814,6 +3426,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "parameters": [ @@ -2863,6 +3481,13 @@ ], "operationId": "listNamespacedPod", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2870,6 +3495,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2877,6 +3509,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2909,6 +3548,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -2948,6 +3593,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -2968,6 +3619,13 @@ ], "operationId": "deleteCollectionNamespacedPod", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2975,6 +3633,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2982,6 +3647,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -3014,6 +3686,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3078,6 +3756,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -3117,6 +3801,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -3177,6 +3867,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "patch": { @@ -3219,6 +3915,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3273,6 +3975,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -3300,6 +4008,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3358,7 +4072,7 @@ }, "/api/v1/namespaces/{namespace}/pods/{name}/binding": { "post": { - "description": "create binding of a Binding", + "description": "create binding of a Pod", "consumes": [ "*/*" ], @@ -3373,7 +4087,7 @@ "tags": [ "core_v1" ], - "operationId": "createNamespacedBindingBinding", + "operationId": "createNamespacedPodBinding", "parameters": [ { "name": "body", @@ -3394,6 +4108,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Binding", + "version": "v1" } }, "parameters": [ @@ -3424,7 +4144,7 @@ }, "/api/v1/namespaces/{namespace}/pods/{name}/eviction": { "post": { - "description": "create eviction of an Eviction", + "description": "create eviction of a Pod", "consumes": [ "*/*" ], @@ -3439,7 +4159,7 @@ "tags": [ "core_v1" ], - "operationId": "createNamespacedEvictionEviction", + "operationId": "createNamespacedPodEviction", "parameters": [ { "name": "body", @@ -3460,6 +4180,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "Eviction", + "version": "v1beta1" } }, "parameters": [ @@ -3514,6 +4240,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -3541,6 +4273,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3633,6 +4371,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3736,6 +4480,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -3763,6 +4513,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -3817,6 +4573,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -3844,6 +4606,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -3871,6 +4639,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -3898,6 +4672,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "options": { @@ -3925,6 +4705,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "head": { @@ -3952,6 +4738,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -4006,6 +4831,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -4033,6 +4864,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -4060,6 +4897,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -4087,6 +4930,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "options": { @@ -4114,6 +4963,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "head": { @@ -4141,6 +4996,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -4205,6 +5099,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -4244,6 +5144,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "patch": { @@ -4286,6 +5192,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -4335,6 +5247,13 @@ ], "operationId": "listNamespacedPodTemplate", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4342,6 +5261,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4349,6 +5275,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4381,6 +5314,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "post": { @@ -4420,6 +5359,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "delete": { @@ -4440,6 +5385,13 @@ ], "operationId": "deleteCollectionNamespacedPodTemplate", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4447,6 +5399,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4454,6 +5413,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4486,6 +5452,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "parameters": [ @@ -4550,6 +5522,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "put": { @@ -4589,6 +5567,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "delete": { @@ -4649,6 +5633,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "patch": { @@ -4691,6 +5681,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "parameters": [ @@ -4740,6 +5736,13 @@ ], "operationId": "listNamespacedReplicationController", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4747,6 +5750,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4754,6 +5764,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4786,6 +5803,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "post": { @@ -4825,6 +5848,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "delete": { @@ -4845,6 +5874,13 @@ ], "operationId": "deleteCollectionNamespacedReplicationController", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4852,6 +5888,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4859,6 +5902,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4891,6 +5941,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ @@ -4955,6 +6011,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "put": { @@ -4994,6 +6056,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "delete": { @@ -5054,6 +6122,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "patch": { @@ -5096,6 +6170,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ @@ -5126,7 +6206,7 @@ }, "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { "get": { - "description": "read scale of the specified Scale", + "description": "read scale of the specified ReplicationController", "consumes": [ "*/*" ], @@ -5141,7 +6221,7 @@ "tags": [ "core_v1" ], - "operationId": "readNamespacedScaleScale", + "operationId": "readNamespacedReplicationControllerScale", "responses": { "200": { "description": "OK", @@ -5152,10 +6232,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, "put": { - "description": "replace scale of the specified Scale", + "description": "replace scale of the specified ReplicationController", "consumes": [ "*/*" ], @@ -5170,7 +6256,7 @@ "tags": [ "core_v1" ], - "operationId": "replaceNamespacedScaleScale", + "operationId": "replaceNamespacedReplicationControllerScale", "parameters": [ { "name": "body", @@ -5191,10 +6277,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, "patch": { - "description": "partially update scale of the specified Scale", + "description": "partially update scale of the specified ReplicationController", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -5211,7 +6303,7 @@ "tags": [ "core_v1" ], - "operationId": "patchNamespacedScaleScale", + "operationId": "patchNamespacedReplicationControllerScale", "parameters": [ { "name": "body", @@ -5233,6 +6325,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, "parameters": [ @@ -5289,6 +6387,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "put": { @@ -5328,6 +6432,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "patch": { @@ -5370,6 +6480,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ @@ -5419,6 +6535,13 @@ ], "operationId": "listNamespacedResourceQuota", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5426,6 +6549,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5433,6 +6563,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5465,6 +6602,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "post": { @@ -5504,6 +6647,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "delete": { @@ -5524,6 +6673,13 @@ ], "operationId": "deleteCollectionNamespacedResourceQuota", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5531,6 +6687,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5538,6 +6701,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5570,6 +6740,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ @@ -5634,6 +6810,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "put": { @@ -5673,6 +6855,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "delete": { @@ -5733,6 +6921,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "patch": { @@ -5775,6 +6969,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ @@ -5831,6 +7031,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "put": { @@ -5870,6 +7076,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "patch": { @@ -5912,6 +7124,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ @@ -5961,6 +7179,13 @@ ], "operationId": "listNamespacedSecret", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5968,6 +7193,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5975,6 +7207,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6007,6 +7246,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "post": { @@ -6046,6 +7291,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "delete": { @@ -6066,6 +7317,13 @@ ], "operationId": "deleteCollectionNamespacedSecret", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6073,6 +7331,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6080,6 +7345,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6112,6 +7384,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "parameters": [ @@ -6176,6 +7454,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "put": { @@ -6215,6 +7499,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "delete": { @@ -6275,6 +7565,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "patch": { @@ -6317,6 +7613,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "parameters": [ @@ -6366,6 +7668,13 @@ ], "operationId": "listNamespacedServiceAccount", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6373,6 +7682,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6380,6 +7696,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6412,6 +7735,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "post": { @@ -6451,6 +7780,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "delete": { @@ -6471,6 +7806,13 @@ ], "operationId": "deleteCollectionNamespacedServiceAccount", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6478,6 +7820,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6485,6 +7834,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6517,6 +7873,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "parameters": [ @@ -6581,6 +7943,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "put": { @@ -6620,6 +7988,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "delete": { @@ -6680,6 +8054,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "patch": { @@ -6722,6 +8102,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "parameters": [ @@ -6771,6 +8157,13 @@ ], "operationId": "listNamespacedService", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6778,6 +8171,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6785,6 +8185,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6817,6 +8224,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "post": { @@ -6856,6 +8269,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -6920,6 +8339,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -6959,6 +8384,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "delete": { @@ -6988,6 +8419,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "patch": { @@ -7030,6 +8467,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -7084,6 +8527,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -7111,6 +8560,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "post": { @@ -7138,6 +8593,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "delete": { @@ -7165,6 +8626,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "options": { @@ -7192,6 +8659,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "head": { @@ -7219,6 +8692,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -7273,6 +8785,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -7300,6 +8818,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "post": { @@ -7327,6 +8851,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "delete": { @@ -7354,6 +8884,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "options": { @@ -7381,6 +8917,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "head": { @@ -7408,6 +8950,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -7472,6 +9053,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -7511,6 +9098,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "patch": { @@ -7553,6 +9146,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -7625,6 +9224,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "put": { @@ -7664,6 +9269,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "delete": { @@ -7724,6 +9335,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "patch": { @@ -7766,6 +9383,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "parameters": [ @@ -7824,6 +9447,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "parameters": [ @@ -7872,6 +9501,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "put": { @@ -7911,6 +9546,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "patch": { @@ -7953,6 +9594,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" } }, "parameters": [ @@ -7997,120 +9644,174 @@ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.NodeList" - } }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a Node", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "createNode", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Node" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of Node", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "deleteCollectionNode", - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NodeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "post": { + "description": "create a Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createNode", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Node" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCollectionNode", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { @@ -8145,6 +9846,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -8201,6 +9908,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -8240,6 +9953,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "delete": { @@ -8300,6 +10019,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "patch": { @@ -8342,6 +10067,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -8388,6 +10119,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -8415,6 +10152,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "post": { @@ -8442,6 +10185,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "delete": { @@ -8469,6 +10218,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "options": { @@ -8496,6 +10251,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "head": { @@ -8523,6 +10284,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -8569,6 +10369,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -8596,6 +10402,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "post": { @@ -8623,6 +10435,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "delete": { @@ -8650,6 +10468,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "options": { @@ -8677,6 +10501,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "head": { @@ -8704,6 +10534,45 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectPatchNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -8760,6 +10629,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -8799,6 +10674,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "patch": { @@ -8841,6 +10722,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -8891,9 +10778,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8901,6 +10801,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8908,6 +10815,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8959,6 +10873,13 @@ ], "operationId": "listPersistentVolume", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8966,6 +10887,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8973,6 +10901,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9005,6 +10940,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "post": { @@ -9044,6 +10985,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "delete": { @@ -9064,6 +11011,13 @@ ], "operationId": "deleteCollectionPersistentVolume", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9071,6 +11025,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9078,6 +11039,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9110,6 +11078,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "parameters": [ @@ -9166,6 +11140,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "put": { @@ -9205,6 +11185,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "delete": { @@ -9265,6 +11251,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "patch": { @@ -9307,6 +11299,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "parameters": [ @@ -9355,6 +11353,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "put": { @@ -9394,6 +11398,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "patch": { @@ -9436,6 +11446,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" } }, "parameters": [ @@ -9486,9 +11502,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9496,6 +11525,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9503,6 +11539,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9563,9 +11606,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9573,6 +11629,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9580,6 +11643,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9636,6 +11706,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -9663,6 +11739,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -9690,6 +11772,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -9717,6 +11805,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "options": { @@ -9744,6 +11838,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "head": { @@ -9771,6 +11871,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "patch": { @@ -9798,6 +11904,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -9845,6 +11957,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "put": { @@ -9872,6 +11990,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "post": { @@ -9899,6 +12023,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "delete": { @@ -9926,6 +12056,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "options": { @@ -9953,6 +12089,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "head": { @@ -9980,6 +12122,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "patch": { @@ -10007,6 +12155,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" } }, "parameters": [ @@ -10062,6 +12216,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -10089,6 +12249,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "post": { @@ -10116,6 +12282,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "delete": { @@ -10143,6 +12315,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "options": { @@ -10170,6 +12348,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "head": { @@ -10197,6 +12381,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "patch": { @@ -10224,6 +12414,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -10271,6 +12467,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "put": { @@ -10298,6 +12500,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "post": { @@ -10325,6 +12533,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "delete": { @@ -10352,6 +12566,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "options": { @@ -10379,6 +12599,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "head": { @@ -10406,6 +12632,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "patch": { @@ -10433,6 +12665,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ @@ -10488,6 +12726,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -10515,6 +12759,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "post": { @@ -10542,6 +12792,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "delete": { @@ -10569,6 +12825,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "options": { @@ -10596,6 +12858,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "head": { @@ -10623,6 +12891,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "patch": { @@ -10650,6 +12924,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -10689,6 +12969,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "put": { @@ -10716,6 +13002,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "post": { @@ -10743,6 +13035,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "delete": { @@ -10770,6 +13068,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "options": { @@ -10797,6 +13101,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "head": { @@ -10824,6 +13134,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "patch": { @@ -10851,6 +13167,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "proxy", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" } }, "parameters": [ @@ -10902,9 +13224,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -10912,6 +13247,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -10919,6 +13261,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -10979,9 +13328,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -10989,6 +13351,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -10996,6 +13365,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11056,9 +13432,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11066,6 +13455,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11073,6 +13469,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11133,9 +13536,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11143,6 +13559,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11150,6 +13573,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11210,9 +13640,22 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11220,6 +13663,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11227,6 +13677,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11259,6 +13716,13 @@ }, "/api/v1/watch/configmaps": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11266,6 +13730,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11273,6 +13744,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11305,6 +13783,13 @@ }, "/api/v1/watch/endpoints": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11312,6 +13797,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11319,6 +13811,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11351,6 +13850,13 @@ }, "/api/v1/watch/events": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11358,6 +13864,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11365,6 +13878,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11397,6 +13917,13 @@ }, "/api/v1/watch/limitranges": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11404,6 +13931,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11411,6 +13945,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11443,6 +13984,13 @@ }, "/api/v1/watch/namespaces": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11450,6 +13998,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11457,6 +14012,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11489,6 +14051,13 @@ }, "/api/v1/watch/namespaces/{namespace}/configmaps": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11496,6 +14065,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11503,6 +14079,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11543,6 +14126,13 @@ }, "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11550,6 +14140,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11557,6 +14154,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11605,6 +14209,13 @@ }, "/api/v1/watch/namespaces/{namespace}/endpoints": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11612,6 +14223,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11619,6 +14237,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11659,6 +14284,13 @@ }, "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11666,6 +14298,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11673,6 +14312,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11721,6 +14367,13 @@ }, "/api/v1/watch/namespaces/{namespace}/events": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11728,6 +14381,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11735,6 +14395,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11775,6 +14442,13 @@ }, "/api/v1/watch/namespaces/{namespace}/events/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11782,6 +14456,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11789,6 +14470,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11837,6 +14525,13 @@ }, "/api/v1/watch/namespaces/{namespace}/limitranges": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11844,6 +14539,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11851,6 +14553,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11891,6 +14600,13 @@ }, "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11898,6 +14614,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11905,6 +14628,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11956,62 +14686,22 @@ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { @@ -12023,11 +14713,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "name of the PersistentVolumeClaim", - "name": "name", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -12067,80 +14756,47 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/pods": { + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/pods/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PersistentVolumeClaim", "name": "name", "in": "path", "required": true @@ -12183,8 +14839,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/podtemplates": { + "/api/v1/watch/namespaces/{namespace}/pods": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12192,6 +14855,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12199,6 +14869,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12237,83 +14914,50 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { + "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "name of the PodTemplate", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -12353,8 +14997,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { + "/api/v1/watch/namespaces/{namespace}/podtemplates": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12362,6 +15013,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12371,11 +15029,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "name of the ReplicationController", - "name": "name", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -12415,80 +15072,47 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas": { + "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "name of the ResourceQuota", + "description": "name of the PodTemplate", "name": "name", "in": "path", "required": true @@ -12531,8 +15155,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/secrets": { + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12540,6 +15171,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12547,6 +15185,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12585,8 +15230,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12594,6 +15246,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12601,10 +15260,17 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "name of the Secret", + "description": "name of the ReplicationController", "name": "name", "in": "path", "required": true @@ -12647,8 +15313,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { + "/api/v1/watch/namespaces/{namespace}/resourcequotas": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12656,6 +15329,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12663,6 +15343,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12701,8 +15388,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { + "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12710,6 +15404,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12717,10 +15418,17 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "name of the ServiceAccount", + "description": "name of the ResourceQuota", "name": "name", "in": "path", "required": true @@ -12763,8 +15471,15 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/services": { + "/api/v1/watch/namespaces/{namespace}/secrets": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12772,6 +15487,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12779,6 +15501,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -12817,89 +15546,56 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/services/{name}": { + "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/namespaces/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the Secret", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "name of the Namespace", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -12933,73 +15629,48 @@ } ] }, - "/api/v1/watch/nodes": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/nodes/{name}": { - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -13033,8 +15704,15 @@ } ] }, - "/api/v1/watch/persistentvolumeclaims": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13042,6 +15720,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13049,6 +15734,29 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceAccount", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13079,8 +15787,15 @@ } ] }, - "/api/v1/watch/persistentvolumes": { + "/api/v1/watch/namespaces/{namespace}/services": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13088,6 +15803,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13095,6 +15817,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13125,8 +15862,15 @@ } ] }, - "/api/v1/watch/persistentvolumes/{name}": { + "/api/v1/watch/namespaces/{namespace}/services/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13134,6 +15878,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13141,14 +15892,29 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "name of the PersistentVolume", + "description": "name of the Service", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13179,8 +15945,15 @@ } ] }, - "/api/v1/watch/pods": { + "/api/v1/watch/namespaces/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13188,6 +15961,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13195,6 +15975,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Namespace", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13225,8 +16020,15 @@ } ] }, - "/api/v1/watch/podtemplates": { + "/api/v1/watch/nodes": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13234,6 +16036,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13241,6 +16050,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13271,8 +16087,15 @@ } ] }, - "/api/v1/watch/replicationcontrollers": { + "/api/v1/watch/nodes/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13280,6 +16103,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13287,6 +16117,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Node", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13317,8 +16162,15 @@ } ] }, - "/api/v1/watch/resourcequotas": { + "/api/v1/watch/persistentvolumeclaims": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13326,6 +16178,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13333,6 +16192,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13363,8 +16229,15 @@ } ] }, - "/api/v1/watch/secrets": { + "/api/v1/watch/persistentvolumes": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13372,6 +16245,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13379,6 +16259,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13409,8 +16296,15 @@ } ] }, - "/api/v1/watch/serviceaccounts": { + "/api/v1/watch/persistentvolumes/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13418,6 +16312,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13425,6 +16326,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolume", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13455,8 +16371,15 @@ } ] }, - "/api/v1/watch/services": { + "/api/v1/watch/pods": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13464,6 +16387,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13471,6 +16401,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13501,138 +16438,149 @@ } ] }, - "/apis/": { - "get": { - "description": "get available API versions", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apis" - ], - "operationId": "getAPIVersions", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroupList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/apps/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } + "/api/v1/watch/podtemplates": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - } + ] }, - "/apis/apps/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } + "/api/v1/watch/replicationcontrollers": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - } + ] }, - "/apis/apps/v1beta1/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listDeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/api/v1/watch/resourcequotas": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13640,6 +16588,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13647,6 +16602,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13677,34 +16639,348 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, + "/api/v1/watch/secrets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/api/v1/watch/serviceaccounts": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/api/v1/watch/services": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/": { + "get": { + "description": "get available API versions", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apis" + ], + "operationId": "getAPIVersions", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroupList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations": { + "get": { + "description": "list or watch objects of kind ExternalAdmissionHookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "listExternalAdmissionHookConfiguration", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, "type": "string", "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13712,6 +16988,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13738,16 +17021,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfigurationList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "post": { - "description": "create a Deployment", + "description": "create an ExternalAdmissionHookConfiguration", "consumes": [ "*/*" ], @@ -13760,16 +17049,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "createNamespacedDeployment", + "operationId": "createExternalAdmissionHookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } } ], @@ -13777,16 +17066,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "delete": { - "description": "delete collection of Deployment", + "description": "delete collection of ExternalAdmissionHookConfiguration", "consumes": [ "*/*" ], @@ -13799,10 +17094,17 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "deleteCollectionNamespacedDeployment", + "operationId": "deleteCollectionExternalAdmissionHookConfiguration", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13810,6 +17112,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13817,6 +17126,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -13849,17 +17165,15 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -13869,9 +17183,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}": { "get": { - "description": "read the specified Deployment", + "description": "read the specified ExternalAdmissionHookConfiguration", "consumes": [ "*/*" ], @@ -13884,9 +17198,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "readNamespacedDeployment", + "operationId": "readExternalAdmissionHookConfiguration", "parameters": [ { "uniqueItems": true, @@ -13907,16 +17221,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "put": { - "description": "replace the specified Deployment", + "description": "replace the specified ExternalAdmissionHookConfiguration", "consumes": [ "*/*" ], @@ -13929,16 +17249,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "replaceNamespacedDeployment", + "operationId": "replaceExternalAdmissionHookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } } ], @@ -13946,16 +17266,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "delete": { - "description": "delete a Deployment", + "description": "delete an ExternalAdmissionHookConfiguration", "consumes": [ "*/*" ], @@ -13968,9 +17294,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "deleteNamespacedDeployment", + "operationId": "deleteExternalAdmissionHookConfiguration", "parameters": [ { "name": "body", @@ -14012,10 +17338,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "patch": { - "description": "partially update the specified Deployment", + "description": "partially update the specified ExternalAdmissionHookConfiguration", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -14030,9 +17362,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "patchNamespacedDeployment", + "operationId": "patchExternalAdmissionHookConfiguration", "parameters": [ { "name": "body", @@ -14048,31 +17380,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the ExternalAdmissionHookConfiguration", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -14082,104 +17412,104 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a DeploymentRollback", + "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations": { + "get": { + "description": "list or watch objects of kind InitializerConfiguration", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "createNamespacedDeploymentRollbackRollback", + "operationId": "listInitializerConfiguration", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "401": { - "description": "Unauthorized" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the DeploymentRollback", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { - "get": { - "description": "read scale of the specified Scale", - "consumes": [ - "*/*" ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "readNamespacedScaleScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.InitializerConfigurationList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, - "put": { - "description": "replace scale of the specified Scale", + "post": { + "description": "create an InitializerConfiguration", "consumes": [ "*/*" ], @@ -14192,16 +17522,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "replaceNamespacedScaleScale", + "operationId": "createInitializerConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } } ], @@ -14209,20 +17539,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, - "patch": { - "description": "partially update scale of the specified Scale", + "delete": { + "description": "delete collection of InitializerConfiguration", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -14233,333 +17567,43 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "patchNamespacedScaleScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "description": "read status of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "readNamespacedDeploymentStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace status of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "replaceNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update status of the specified Deployment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "patchNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { - "get": { - "description": "list or watch objects of kind StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listNamespacedStatefulSet", + "operationId": "deleteCollectionInitializerConfiguration", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "createNamespacedStatefulSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "deleteCollectionNamespacedStatefulSet", - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { @@ -14594,17 +17638,15 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -14614,9 +17656,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}": { "get": { - "description": "read the specified StatefulSet", + "description": "read the specified InitializerConfiguration", "consumes": [ "*/*" ], @@ -14629,9 +17671,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "readNamespacedStatefulSet", + "operationId": "readInitializerConfiguration", "parameters": [ { "uniqueItems": true, @@ -14652,16 +17694,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, "put": { - "description": "replace the specified StatefulSet", + "description": "replace the specified InitializerConfiguration", "consumes": [ "*/*" ], @@ -14674,16 +17722,16 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "replaceNamespacedStatefulSet", + "operationId": "replaceInitializerConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } } ], @@ -14691,16 +17739,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, "delete": { - "description": "delete a StatefulSet", + "description": "delete an InitializerConfiguration", "consumes": [ "*/*" ], @@ -14713,9 +17767,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "deleteNamespacedStatefulSet", + "operationId": "deleteInitializerConfiguration", "parameters": [ { "name": "body", @@ -14757,10 +17811,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, "patch": { - "description": "partially update the specified StatefulSet", + "description": "partially update the specified InitializerConfiguration", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -14775,9 +17835,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "admissionregistration_v1alpha1" ], - "operationId": "patchNamespacedStatefulSet", + "operationId": "patchInitializerConfiguration", "parameters": [ { "name": "body", @@ -14793,31 +17853,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StatefulSet", + "description": "name of the InitializerConfiguration", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -14827,188 +17885,41 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { - "get": { - "description": "read status of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "readNamespacedStatefulSetStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace status of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "replaceNamespacedStatefulSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update status of the specified StatefulSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "patchNamespacedStatefulSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/admissionregistration.k8s.io/v1alpha1/watch/externaladmissionhookconfigurations": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" - } - ] - }, - "/apis/apps/v1beta1/statefulsets": { - "get": { - "description": "list or watch objects of kind StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listStatefulSetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ + }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { @@ -15041,73 +17952,48 @@ } ] }, - "/apis/apps/v1beta1/watch/deployments": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/externaladmissionhookconfigurations/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the ExternalAdmissionHookConfiguration", + "name": "name", "in": "path", "required": true }, @@ -15141,75 +18027,27 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { @@ -15221,11 +18059,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -15257,83 +18094,50 @@ } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/statefulsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the InitializerConfiguration", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -15365,7 +18169,7 @@ } ] }, - "/apis/authentication.k8s.io/": { + "/apis/apiextensions.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -15382,7 +18186,7 @@ "https" ], "tags": [ - "authentication" + "apiextensions" ], "operationId": "getAPIGroup", "responses": { @@ -15398,7 +18202,7 @@ } } }, - "/apis/authentication.k8s.io/v1/": { + "/apis/apiextensions.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -15415,7 +18219,7 @@ "https" ], "tags": [ - "authentication_v1" + "apiextensions_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -15431,63 +18235,106 @@ } } }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "post": { - "description": "create a TokenReview", + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions": { + "get": { + "description": "list or watch objects of kind CustomResourceDefinition", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authentication_v1" + "apiextensions_v1beta1" ], - "operationId": "createTokenReview", + "operationId": "listCustomResourceDefinition", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.TokenReview" + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authentication.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", + "post": { + "description": "create a CustomResourceDefinition", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -15498,25 +18345,39 @@ "https" ], "tags": [ - "authentication_v1beta1" + "apiextensions_v1beta1" + ], + "operationId": "createCustomResourceDefinition", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "post": { - "description": "create a TokenReview", + }, + "delete": { + "description": "delete collection of CustomResourceDefinition", "consumes": [ "*/*" ], @@ -15529,29 +18390,83 @@ "https" ], "tags": [ - "authentication_v1beta1" + "apiextensions_v1beta1" ], - "operationId": "createTokenReview", + "operationId": "deleteCollectionCustomResourceDefinition", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "parameters": [ @@ -15564,13 +18479,11 @@ } ] }, - "/apis/authorization.k8s.io/": { + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}": { "get": { - "description": "get information of a group", + "description": "read the specified CustomResourceDefinition", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -15581,29 +18494,47 @@ "https" ], "tags": [ - "authorization" + "apiextensions_v1beta1" + ], + "operationId": "readCustomResourceDefinition", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace the specified CustomResourceDefinition", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -15614,25 +18545,39 @@ "https" ], "tags": [ - "authorization_v1" + "apiextensions_v1beta1" + ], + "operationId": "replaceCustomResourceDefinition", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", + }, + "delete": { + "description": "delete a CustomResourceDefinition", "consumes": [ "*/*" ], @@ -15645,54 +18590,64 @@ "https" ], "tags": [ - "authorization_v1" + "apiextensions_v1beta1" ], - "operationId": "createNamespacedLocalSubjectAccessReview", + "operationId": "deleteCustomResourceDefinition", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1.DeleteOptions" } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } - ] - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", + }, + "patch": { + "description": "partially update the specified CustomResourceDefinition", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -15703,16 +18658,17 @@ "https" ], "tags": [ - "authorization_v1" + "apiextensions_v1beta1" ], - "operationId": "createSelfSubjectAccessReview", + "operationId": "patchCustomResourceDefinition", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } } ], @@ -15720,15 +18676,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -15738,9 +18708,9 @@ } ] }, - "/apis/authorization.k8s.io/v1/subjectaccessreviews": { - "post": { - "description": "create a SubjectAccessReview", + "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "put": { + "description": "replace status of the specified CustomResourceDefinition", "consumes": [ "*/*" ], @@ -15753,16 +18723,16 @@ "https" ], "tags": [ - "authorization_v1" + "apiextensions_v1beta1" ], - "operationId": "createSubjectAccessReview", + "operationId": "replaceCustomResourceDefinitionStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } } ], @@ -15770,15 +18740,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -15788,198 +18772,149 @@ } ] }, - "/apis/authorization.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "operationId": "createNamespacedLocalSubjectAccessReview", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "operationId": "createSelfSubjectAccessReview", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { - "post": { - "description": "create a SubjectAccessReview", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "operationId": "createSubjectAccessReview", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/autoscaling/": { + "/apis/apiregistration.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -15996,7 +18931,7 @@ "https" ], "tags": [ - "autoscaling" + "apiregistration" ], "operationId": "getAPIGroup", "responses": { @@ -16012,7 +18947,7 @@ } } }, - "/apis/autoscaling/v1/": { + "/apis/apiregistration.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -16029,7 +18964,7 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -16045,86 +18980,9 @@ } } }, - "/apis/autoscaling/v1/horizontalpodautoscalers": { - "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices": { "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", + "description": "list or watch objects of kind APIService", "consumes": [ "*/*" ], @@ -16139,10 +18997,17 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "listNamespacedHorizontalPodAutoscaler", + "operationId": "listAPIService", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16150,6 +19015,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16157,6 +19029,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16183,16 +19062,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/v1beta1.APIServiceList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "post": { - "description": "create a HorizontalPodAutoscaler", + "description": "create an APIService", "consumes": [ "*/*" ], @@ -16205,16 +19090,16 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "createNamespacedHorizontalPodAutoscaler", + "operationId": "createAPIService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } } ], @@ -16222,16 +19107,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of HorizontalPodAutoscaler", + "description": "delete collection of APIService", "consumes": [ "*/*" ], @@ -16244,10 +19135,17 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "operationId": "deleteCollectionAPIService", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16255,6 +19153,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16262,6 +19167,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16294,17 +19206,15 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -16314,9 +19224,9 @@ } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { "get": { - "description": "read the specified HorizontalPodAutoscaler", + "description": "read the specified APIService", "consumes": [ "*/*" ], @@ -16329,9 +19239,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "readNamespacedHorizontalPodAutoscaler", + "operationId": "readAPIService", "parameters": [ { "uniqueItems": true, @@ -16352,16 +19262,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "put": { - "description": "replace the specified HorizontalPodAutoscaler", + "description": "replace the specified APIService", "consumes": [ "*/*" ], @@ -16374,16 +19290,16 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "replaceNamespacedHorizontalPodAutoscaler", + "operationId": "replaceAPIService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } } ], @@ -16391,16 +19307,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "delete": { - "description": "delete a HorizontalPodAutoscaler", + "description": "delete an APIService", "consumes": [ "*/*" ], @@ -16413,9 +19335,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "operationId": "deleteAPIService", "parameters": [ { "name": "body", @@ -16457,10 +19379,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified HorizontalPodAutoscaler", + "description": "partially update the specified APIService", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -16475,9 +19403,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscaler", + "operationId": "patchAPIService", "parameters": [ { "name": "body", @@ -16493,31 +19421,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the APIService", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -16527,38 +19453,9 @@ } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "description": "read status of the specified HorizontalPodAutoscaler", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { "put": { - "description": "replace status of the specified HorizontalPodAutoscaler", + "description": "replace status of the specified APIService", "consumes": [ "*/*" ], @@ -16571,58 +19468,16 @@ "https" ], "tags": [ - "autoscaling_v1" - ], - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update status of the specified HorizontalPodAutoscaler", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" + "apiregistration_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "operationId": "replaceAPIServiceStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta1.APIService" } } ], @@ -16630,31 +19485,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the APIService", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -16664,8 +19517,15 @@ } ] }, - "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16673,6 +19533,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16680,6 +19547,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16710,8 +19584,15 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16719,6 +19600,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16726,11 +19614,18 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the APIService", + "name": "name", "in": "path", "required": true }, @@ -16764,8 +19659,118 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ + "/apis/apps/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apps/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apps/v1beta1/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listControllerRevisionForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevisionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16775,26 +19780,24 @@ }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -16826,42 +19829,9 @@ } ] }, - "/apis/autoscaling/v2alpha1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2alpha1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/autoscaling/v2alpha1/horizontalpodautoscalers": { + "/apis/apps/v1beta1/deployments": { "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -16876,22 +19846,35 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "operationId": "listDeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/apps.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16899,6 +19882,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16906,6 +19896,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16936,9 +19933,9 @@ } ] }, - "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], @@ -16953,10 +19950,17 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "listNamespacedHorizontalPodAutoscaler", + "operationId": "listNamespacedControllerRevision", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16964,6 +19968,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16971,6 +19982,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -16997,16 +20015,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/v1beta1.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "post": { - "description": "create a HorizontalPodAutoscaler", + "description": "create a ControllerRevision", "consumes": [ "*/*" ], @@ -17019,16 +20043,16 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "createNamespacedHorizontalPodAutoscaler", + "operationId": "createNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } } ], @@ -17036,16 +20060,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of HorizontalPodAutoscaler", + "description": "delete collection of ControllerRevision", "consumes": [ "*/*" ], @@ -17058,10 +20088,17 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "operationId": "deleteCollectionNamespacedControllerRevision", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17069,6 +20106,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17076,6 +20120,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17108,6 +20159,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "parameters": [ @@ -17128,9 +20185,9 @@ } ] }, - "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "read the specified HorizontalPodAutoscaler", + "description": "read the specified ControllerRevision", "consumes": [ "*/*" ], @@ -17143,9 +20200,9 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "readNamespacedHorizontalPodAutoscaler", + "operationId": "readNamespacedControllerRevision", "parameters": [ { "uniqueItems": true, @@ -17166,16 +20223,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "put": { - "description": "replace the specified HorizontalPodAutoscaler", + "description": "replace the specified ControllerRevision", "consumes": [ "*/*" ], @@ -17188,16 +20251,16 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedHorizontalPodAutoscaler", + "operationId": "replaceNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } } ], @@ -17205,16 +20268,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "delete": { - "description": "delete a HorizontalPodAutoscaler", + "description": "delete a ControllerRevision", "consumes": [ "*/*" ], @@ -17227,9 +20296,9 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "operationId": "deleteNamespacedControllerRevision", "parameters": [ { "name": "body", @@ -17271,10 +20340,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified HorizontalPodAutoscaler", + "description": "partially update the specified ControllerRevision", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -17289,9 +20364,9 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscaler", + "operationId": "patchNamespacedControllerRevision", "parameters": [ { "name": "body", @@ -17307,19 +20382,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -17341,38 +20422,104 @@ } ] }, - "/apis/autoscaling/v2alpha1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { "get": { - "description": "read status of the specified HorizontalPodAutoscaler", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" + ], + "operationId": "listNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, - "put": { - "description": "replace status of the specified HorizontalPodAutoscaler", + "post": { + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -17385,16 +20532,16 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Deployment" } } ], @@ -17402,20 +20549,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, - "patch": { - "description": "partially update status of the specified HorizontalPodAutoscaler", + "delete": { + "description": "delete collection of Deployment", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -17426,41 +20577,86 @@ "https" ], "tags": [ - "autoscaling_v2alpha1" + "apps_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the HorizontalPodAutoscaler", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -17478,67 +20674,225 @@ } ] }, - "/apis/autoscaling/v2alpha1/watch/horizontalpodautoscalers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { + "get": { + "description": "read the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "readNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "replaceNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } - ] - }, - "/apis/autoscaling/v2alpha1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + }, + "delete": { + "description": "delete a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "deleteNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "patchNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -17554,50 +20908,215 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + } + ] + }, + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { + "post": { + "description": "create rollback of a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "createNamespacedDeploymentRollback", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DeploymentRollback", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/autoscaling/v2alpha1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "readNamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "patchNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -17616,37 +21135,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/batch/": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -17657,29 +21153,31 @@ "https" ], "tags": [ - "batch" + "apps_v1beta1" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } - } - }, - "/apis/batch/v1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -17690,68 +21188,101 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } - } - }, - "/apis/batch/v1/jobs": { - "get": { - "description": "list or watch objects of kind Job", + }, + "patch": { + "description": "partially update status of the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" + ], + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } ], - "operationId": "listJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -17759,33 +21290,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -17800,10 +21310,17 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "listNamespacedJob", + "operationId": "listNamespacedStatefulSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17811,6 +21328,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17818,6 +21342,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17844,16 +21375,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/v1beta1.StatefulSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "post": { - "description": "create a Job", + "description": "create a StatefulSet", "consumes": [ "*/*" ], @@ -17866,16 +21403,16 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "createNamespacedJob", + "operationId": "createNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } } ], @@ -17883,16 +21420,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of Job", + "description": "delete collection of StatefulSet", "consumes": [ "*/*" ], @@ -17905,10 +21448,17 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "deleteCollectionNamespacedJob", + "operationId": "deleteCollectionNamespacedStatefulSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17916,6 +21466,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17923,6 +21480,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17955,6 +21519,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "parameters": [ @@ -17975,9 +21545,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified Job", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -17990,9 +21560,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "readNamespacedJob", + "operationId": "readNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -18013,16 +21583,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "put": { - "description": "replace the specified Job", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -18035,16 +21611,16 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedJob", + "operationId": "replaceNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } } ], @@ -18052,16 +21628,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "delete": { - "description": "delete a Job", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -18074,9 +21656,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "deleteNamespacedJob", + "operationId": "deleteNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -18118,10 +21700,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Job", + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -18136,9 +21724,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "patchNamespacedJob", + "operationId": "patchNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -18154,19 +21742,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -18188,9 +21782,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale": { "get": { - "description": "read status of the specified Job", + "description": "read scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -18203,23 +21797,29 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "readNamespacedJobStatus", + "operationId": "readNamespacedStatefulSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" } }, "put": { - "description": "replace status of the specified Job", + "description": "replace scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -18232,16 +21832,16 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedJobStatus", + "operationId": "replaceNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/apps.v1beta1.Scale" } } ], @@ -18249,16 +21849,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" } }, "patch": { - "description": "partially update status of the specified Job", + "description": "partially update scale of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -18273,9 +21879,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta1" ], - "operationId": "patchNamespacedJobStatus", + "operationId": "patchNamespacedStatefulSetScale", "parameters": [ { "name": "body", @@ -18291,19 +21897,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -18325,8 +21937,207 @@ } ] }, - "/apis/batch/v1/watch/jobs": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { + "get": { + "description": "read status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "readNamespacedStatefulSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "replaceNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "patchNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listStatefulSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18334,6 +22145,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18341,6 +22159,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18371,8 +22196,149 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "/apis/apps/v1beta1/watch/controllerrevisions": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18380,6 +22346,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18387,6 +22360,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18425,8 +22405,15 @@ } ] }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18434,6 +22421,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18441,10 +22435,17 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -18487,72 +22488,15 @@ } ] }, - "/apis/batch/v2alpha1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v2alpha1/cronjobs": { - "get": { - "description": "list or watch objects of kind CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "listCronJobForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18560,6 +22504,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18567,6 +22518,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -18597,79 +22563,321 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { - "get": { - "description": "list or watch objects of kind CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "listNamespacedCronJob", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "post": { - "description": "create a CronJob", + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -18680,105 +22888,95 @@ "https" ], "tags": [ - "batch_v2alpha1" - ], - "operationId": "createNamespacedCronJob", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - } + "apps_v1beta2" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "delete": { - "description": "delete collection of CronJob", + } + }, + "/apis/apps/v1beta2/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "batch_v2alpha1" - ], - "operationId": "deleteCollectionNamespacedCronJob", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1beta2" ], + "operationId": "listControllerRevisionForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -18786,139 +22984,313 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/apps/v1beta2/daemonsets": { "get": { - "description": "read the specified CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v2alpha1" - ], - "operationId": "readNamespacedCronJob", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified CronJob", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "batch_v2alpha1" - ], - "operationId": "replaceNamespacedCronJob", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" - } - } + "apps_v1beta2" ], + "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, - "delete": { - "description": "delete a CronJob", - "consumes": [ + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedCronJob", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "listDeploymentForAllNamespaces", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1beta2.DeploymentList" } }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "listNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", "in": "query" } ], @@ -18926,20 +23298,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, - "patch": { - "description": "partially update the specified CronJob", + "post": { + "description": "create a ControllerRevision", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -18950,17 +23326,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJob", + "operationId": "createNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta2.ControllerRevision" } } ], @@ -18968,23 +23343,114 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", - "name": "name", - "in": "path", - "required": true + "delete": { + "description": "delete collection of ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "deleteCollectionNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", @@ -19002,9 +23468,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "read status of the specified CronJob", + "description": "read the specified ControllerRevision", "consumes": [ "*/*" ], @@ -19017,23 +23483,45 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" + ], + "operationId": "readNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified CronJob", + "description": "replace the specified ControllerRevision", "consumes": [ "*/*" ], @@ -19046,16 +23534,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedCronJobStatus", + "operationId": "replaceNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ControllerRevision" } } ], @@ -19063,16 +23551,88 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + } + }, + "delete": { + "description": "delete a ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "deleteNamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update the specified ControllerRevision", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -19087,9 +23647,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJobStatus", + "operationId": "patchNamespacedControllerRevision", "parameters": [ { "name": "body", @@ -19105,19 +23665,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -19139,9 +23705,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets": { "get": { - "description": "list or watch objects of kind ScheduledJob", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -19156,10 +23722,17 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "listNamespacedScheduledJob", + "operationId": "listNamespacedDaemonSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19167,6 +23740,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19174,6 +23754,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19200,16 +23787,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" + "$ref": "#/definitions/v1beta2.DaemonSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "post": { - "description": "create a ScheduledJob", + "description": "create a DaemonSet", "consumes": [ "*/*" ], @@ -19222,16 +23815,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "createNamespacedScheduledJob", + "operationId": "createNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } } ], @@ -19239,16 +23832,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "delete": { - "description": "delete collection of ScheduledJob", + "description": "delete collection of DaemonSet", "consumes": [ "*/*" ], @@ -19261,10 +23860,17 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedScheduledJob", + "operationId": "deleteCollectionNamespacedDaemonSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19272,6 +23878,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19279,6 +23892,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19311,6 +23931,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "parameters": [ @@ -19331,9 +23957,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "read the specified ScheduledJob", + "description": "read the specified DaemonSet", "consumes": [ "*/*" ], @@ -19346,9 +23972,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "readNamespacedScheduledJob", + "operationId": "readNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, @@ -19369,16 +23995,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified ScheduledJob", + "description": "replace the specified DaemonSet", "consumes": [ "*/*" ], @@ -19391,16 +24023,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedScheduledJob", + "operationId": "replaceNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } } ], @@ -19408,16 +24040,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "delete": { - "description": "delete a ScheduledJob", + "description": "delete a DaemonSet", "consumes": [ "*/*" ], @@ -19430,9 +24068,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedScheduledJob", + "operationId": "deleteNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -19474,10 +24112,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "patch": { - "description": "partially update the specified ScheduledJob", + "description": "partially update the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -19492,9 +24136,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedScheduledJob", + "operationId": "patchNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -19510,19 +24154,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ScheduledJob", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -19544,9 +24194,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "read status of the specified ScheduledJob", + "description": "read status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -19559,23 +24209,29 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "readNamespacedScheduledJobStatus", + "operationId": "readNamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified ScheduledJob", + "description": "replace status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -19588,16 +24244,16 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedScheduledJobStatus", + "operationId": "replaceNamespacedDaemonSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } } ], @@ -19605,16 +24261,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "patch": { - "description": "partially update status of the specified ScheduledJob", + "description": "partially update status of the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -19629,9 +24291,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedScheduledJobStatus", + "operationId": "patchNamespacedDaemonSetStatus", "parameters": [ { "name": "body", @@ -19647,19 +24309,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ScheduledJob", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -19681,9 +24349,9 @@ } ] }, - "/apis/batch/v2alpha1/scheduledjobs": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind ScheduledJob", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -19698,477 +24366,17 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "listScheduledJobForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" - } + "operationId": "listNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/scheduledjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/scheduledjobs/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ScheduledJob", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/scheduledjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "certificates" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/certificates.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { - "get": { - "description": "list or watch objects of kind CertificateSigningRequest", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "operationId": "listCertificateSigningRequest", - "parameters": [ { "uniqueItems": true, "type": "string", @@ -20176,6 +24384,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -20183,6 +24398,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -20209,16 +24431,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/v1beta2.DeploymentList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "post": { - "description": "create a CertificateSigningRequest", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -20231,16 +24459,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "createCertificateSigningRequest", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } } ], @@ -20248,16 +24476,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "delete": { - "description": "delete collection of CertificateSigningRequest", + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -20270,10 +24504,17 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCollectionCertificateSigningRequest", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -20281,6 +24522,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -20288,6 +24536,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -20320,9 +24575,23 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -20332,9 +24601,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "read the specified CertificateSigningRequest", + "description": "read the specified Deployment", "consumes": [ "*/*" ], @@ -20347,9 +24616,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "readCertificateSigningRequest", + "operationId": "readNamespacedDeployment", "parameters": [ { "uniqueItems": true, @@ -20370,16 +24639,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "put": { - "description": "replace the specified CertificateSigningRequest", + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -20392,16 +24667,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequest", + "operationId": "replaceNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } } ], @@ -20409,16 +24684,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "delete": { - "description": "delete a CertificateSigningRequest", + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -20431,9 +24712,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCertificateSigningRequest", + "operationId": "deleteNamespacedDeployment", "parameters": [ { "name": "body", @@ -20475,10 +24756,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "patch": { - "description": "partially update the specified CertificateSigningRequest", + "description": "partially update the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -20493,9 +24780,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "patchCertificateSigningRequest", + "operationId": "patchNamespacedDeployment", "parameters": [ { "name": "body", @@ -20511,23 +24798,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -20537,9 +24838,44 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "readNamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + } + }, "put": { - "description": "replace approval of the specified CertificateSigningRequest", + "description": "replace scale of the specified Deployment", "consumes": [ "*/*" ], @@ -20552,16 +24888,16 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequestApproval", + "operationId": "replaceNamespacedDeploymentScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" } } ], @@ -20569,37 +24905,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", - "in": "path", - "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } - ] - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "put": { - "description": "replace status of the specified CertificateSigningRequest", + }, + "patch": { + "description": "partially update scale of the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -20610,16 +24935,17 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequestStatus", + "operationId": "patchNamespacedDeploymentScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } } ], @@ -20627,19 +24953,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -20647,79 +24979,8 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -20729,37 +24990,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -20770,29 +25008,31 @@ "https" ], "tags": [ - "extensions" + "apps_v1beta2" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } - } - }, - "/apis/extensions/v1beta1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -20803,222 +25043,101 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta2.Deployment" } - }, - "401": { - "description": "Unauthorized" } - } - } - }, - "/apis/extensions/v1beta1/daemonsets": { - "get": { - "description": "list or watch objects of kind DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" ], - "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } - ] - }, - "/apis/extensions/v1beta1/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", + }, + "patch": { + "description": "partially update status of the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "listDeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } - }, - "401": { - "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/ingresses": { - "get": { - "description": "list or watch objects of kind Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" ], - "operationId": "listIngressForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.IngressList" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -21026,33 +25145,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -21067,10 +25165,17 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "listNamespacedDaemonSet", + "operationId": "listNamespacedReplicaSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21078,6 +25183,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21085,6 +25197,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21111,16 +25230,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" + "$ref": "#/definitions/v1beta2.ReplicaSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "post": { - "description": "create a DaemonSet", + "description": "create a ReplicaSet", "consumes": [ "*/*" ], @@ -21133,16 +25258,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "createNamespacedDaemonSet", + "operationId": "createNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } } ], @@ -21150,16 +25275,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "delete": { - "description": "delete collection of DaemonSet", + "description": "delete collection of ReplicaSet", "consumes": [ "*/*" ], @@ -21172,10 +25303,17 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedDaemonSet", + "operationId": "deleteCollectionNamespacedReplicaSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21183,6 +25321,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21190,6 +25335,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21222,6 +25374,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "parameters": [ @@ -21242,9 +25400,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "read the specified DaemonSet", + "description": "read the specified ReplicaSet", "consumes": [ "*/*" ], @@ -21257,9 +25415,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedDaemonSet", + "operationId": "readNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, @@ -21280,16 +25438,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified DaemonSet", + "description": "replace the specified ReplicaSet", "consumes": [ "*/*" ], @@ -21302,16 +25466,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedDaemonSet", + "operationId": "replaceNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } } ], @@ -21319,16 +25483,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "delete": { - "description": "delete a DaemonSet", + "description": "delete a ReplicaSet", "consumes": [ "*/*" ], @@ -21341,9 +25511,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedDaemonSet", + "operationId": "deleteNamespacedReplicaSet", "parameters": [ { "name": "body", @@ -21385,10 +25555,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "patch": { - "description": "partially update the specified DaemonSet", + "description": "partially update the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21403,9 +25579,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedDaemonSet", + "operationId": "patchNamespacedReplicaSet", "parameters": [ { "name": "body", @@ -21421,19 +25597,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -21455,9 +25637,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale": { "get": { - "description": "read status of the specified DaemonSet", + "description": "read scale of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -21470,23 +25652,29 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedDaemonSetStatus", + "operationId": "readNamespacedReplicaSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified DaemonSet", + "description": "replace scale of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -21499,16 +25687,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedDaemonSetStatus", + "operationId": "replaceNamespacedReplicaSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.Scale" } } ], @@ -21516,16 +25704,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "patch": { - "description": "partially update status of the specified DaemonSet", + "description": "partially update scale of the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21540,9 +25734,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedDaemonSetStatus", + "operationId": "patchNamespacedReplicaSetScale", "parameters": [ { "name": "body", @@ -21558,19 +25752,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -21592,9 +25792,164 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "read status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "readNamespacedReplicaSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + } + }, + "put": { + "description": "replace status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "replaceNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + } + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "patchNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -21609,10 +25964,17 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "listNamespacedDeployment", + "operationId": "listNamespacedStatefulSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21620,6 +25982,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21627,6 +25996,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21653,16 +26029,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/v1beta2.StatefulSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "post": { - "description": "create a Deployment", + "description": "create a StatefulSet", "consumes": [ "*/*" ], @@ -21675,16 +26057,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "createNamespacedDeployment", + "operationId": "createNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } } ], @@ -21692,16 +26074,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "delete": { - "description": "delete collection of Deployment", + "description": "delete collection of StatefulSet", "consumes": [ "*/*" ], @@ -21714,10 +26102,17 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedDeployment", + "operationId": "deleteCollectionNamespacedStatefulSet", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21725,6 +26120,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21732,6 +26134,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21764,6 +26173,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "parameters": [ @@ -21784,9 +26199,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified Deployment", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -21799,9 +26214,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedDeployment", + "operationId": "readNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -21822,16 +26237,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified Deployment", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -21844,16 +26265,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedDeployment", + "operationId": "replaceNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } } ], @@ -21861,16 +26282,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "delete": { - "description": "delete a Deployment", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -21883,9 +26310,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedDeployment", + "operationId": "deleteNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -21927,10 +26354,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "patch": { - "description": "partially update the specified Deployment", + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21945,9 +26378,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedDeployment", + "operationId": "patchNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -21963,85 +26396,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a DeploymentRollback", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedDeploymentRollbackRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - }, - "401": { - "description": "Unauthorized" - } + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DeploymentRollback", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -22063,9 +26436,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale": { "get": { - "description": "read scale of the specified Scale", + "description": "read scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -22078,23 +26451,29 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedDeploymentsScale", + "operationId": "readNamespacedStatefulSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "put": { - "description": "replace scale of the specified Scale", + "description": "replace scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -22107,16 +26486,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedDeploymentsScale", + "operationId": "replaceNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta2.Scale" } } ], @@ -22124,16 +26503,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "patch": { - "description": "partially update scale of the specified Scale", + "description": "partially update scale of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -22148,9 +26533,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedDeploymentsScale", + "operationId": "patchNamespacedStatefulSetScale", "parameters": [ { "name": "body", @@ -22166,12 +26551,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "parameters": [ @@ -22200,9 +26591,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status": { "get": { - "description": "read status of the specified Deployment", + "description": "read status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -22215,23 +26606,29 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedDeploymentStatus", + "operationId": "readNamespacedStatefulSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified Deployment", + "description": "replace status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -22244,16 +26641,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedDeploymentStatus", + "operationId": "replaceNamespacedStatefulSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } } ], @@ -22261,16 +26658,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "patch": { - "description": "partially update status of the specified Deployment", + "description": "partially update status of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -22285,9 +26688,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedDeploymentStatus", + "operationId": "patchNamespacedStatefulSetStatus", "parameters": [ { "name": "body", @@ -22303,19 +26706,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -22337,9 +26746,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "/apis/apps/v1beta2/replicasets": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -22354,171 +26763,62 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create an Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1beta2" ], + "operationId": "listReplicaSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.ReplicaSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -22526,212 +26826,170 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { + "/apis/apps/v1beta2/statefulsets": { "get": { - "description": "read the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete an Ingress", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } + "apps_v1beta2" ], + "operationId": "listStatefulSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.StatefulSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, - "patch": { - "description": "partially update the specified Ingress", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -22739,128 +26997,200 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "description": "read status of the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedIngressStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace status of the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedIngressStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "partially update status of the specified Ingress", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedIngressStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/apis/apps/v1beta2/watch/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -22876,184 +27206,75 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { - "get": { - "description": "list or watch objects of kind NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -23068,201 +27289,146 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { - "get": { - "description": "read the specified NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete a NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update the specified NetworkPolicy", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -23281,184 +27447,67 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -23473,338 +27522,71 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { - "get": { - "description": "read the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ + }, { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "description": "read scale of the specified Scale", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedReplicasetsScale", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace scale of the specified Scale", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedReplicasetsScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update scale of the specified Scale", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedReplicasetsScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -23823,128 +27605,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "description": "read status of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedReplicaSetStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace status of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedReplicaSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update status of the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedReplicaSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -23960,125 +27680,229 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { - "get": { - "description": "read scale of the specified Scale", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedReplicationcontrollersScale", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace scale of the specified Scale", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedReplicationcontrollersScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "partially update scale of the specified Scale", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedReplicationcontrollersScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -24097,42 +27921,106 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/networkpolicies": { - "get": { - "description": "list or watch objects of kind NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNetworkPolicyForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/statefulsets": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -24140,6 +28028,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -24147,6 +28042,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -24177,79 +28079,46 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/authentication.k8s.io/": { "get": { - "description": "list or watch objects of kind PodSecurityPolicy", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "listPodSecurityPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "authentication" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } } - }, - "post": { - "description": "create a PodSecurityPolicy", + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -24260,33 +28129,25 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "createPodSecurityPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" - } - } + "authentication_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "delete": { - "description": "delete collection of PodSecurityPolicy", + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "post": { + "description": "create a TokenReview", "consumes": [ "*/*" ], @@ -24299,56 +28160,35 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authentication_v1" ], - "operationId": "deleteCollectionPodSecurityPolicy", + "operationId": "createTokenReview", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.TokenReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" } }, "parameters": [ @@ -24361,11 +28201,13 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/authentication.k8s.io/v1beta1/": { "get": { - "description": "read the specified PodSecurityPolicy", + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -24376,39 +28218,25 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "readPodSecurityPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "authentication_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "put": { - "description": "replace the specified PodSecurityPolicy", + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { + "post": { + "description": "create a TokenReview", "consumes": [ "*/*" ], @@ -24421,16 +28249,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authentication_v1beta1" ], - "operationId": "replacePodSecurityPolicy", + "operationId": "createTokenReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.TokenReview" } } ], @@ -24438,18 +28266,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1beta1.TokenReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1beta1" } }, - "delete": { - "description": "delete a PodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/": { + "get": { + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -24460,58 +28307,60 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization" ], - "operationId": "deletePodSecurityPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1.APIGroup" } }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" + "401": { + "description": "Unauthorized" } + } + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "patch": { - "description": "partially update the specified PodSecurityPolicy", + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -24522,17 +28371,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "patchPodSecurityPolicy", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } } ], @@ -24540,20 +28388,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodSecurityPolicy", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -24566,154 +28420,121 @@ } ] }, - "/apis/extensions/v1beta1/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" + ], + "operationId": "createSelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + } ], - "operationId": "listReplicaSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" + "$ref": "#/definitions/v1.SelfSubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/thirdpartyresources": { - "get": { - "description": "list or watch objects of kind ThirdPartyResource", + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "listThirdPartyResource", + "operationId": "createSelfSubjectRulesReview", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResourceList" + "$ref": "#/definitions/v1.SelfSubjectRulesReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" } }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/subjectaccessreviews": { "post": { - "description": "create a ThirdPartyResource", + "description": "create a SubjectAccessReview", "consumes": [ "*/*" ], @@ -24726,16 +28547,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "createThirdPartyResource", + "operationId": "createSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1.SubjectAccessReview" } } ], @@ -24743,18 +28564,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1.SubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" } }, - "delete": { - "description": "delete collection of ThirdPartyResource", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -24765,71 +28605,25 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionThirdPartyResource", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "authorization_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] + } }, - "/apis/extensions/v1beta1/thirdpartyresources/{name}": { - "get": { - "description": "read the specified ThirdPartyResource", + "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", "consumes": [ "*/*" ], @@ -24842,39 +28636,58 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "readThirdPartyResource", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1beta1" } }, - "put": { - "description": "replace the specified ThirdPartyResource", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", "consumes": [ "*/*" ], @@ -24887,16 +28700,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "replaceThirdPartyResource", + "operationId": "createSelfSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" } } ], @@ -24904,16 +28717,33 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" } }, - "delete": { - "description": "delete a ThirdPartyResource", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", "consumes": [ "*/*" ], @@ -24926,58 +28756,52 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "deleteThirdPartyResource", + "operationId": "createSelfSubjectRulesReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1beta1" } }, - "patch": { - "description": "partially update the specified ThirdPartyResource", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { + "post": { + "description": "create a SubjectAccessReview", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -24988,17 +28812,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "patchThirdPartyResource", + "operationId": "createSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } } ], @@ -25006,23 +28829,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ThirdPartyResource", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -25032,151 +28853,130 @@ } ] }, - "/apis/extensions/v1beta1/watch/daemonsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "/apis/autoscaling/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } } - ] + } }, - "/apis/extensions/v1beta1/watch/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "/apis/autoscaling/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } } - ] + } }, - "/apis/extensions/v1beta1/watch/ingresses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "/apis/autoscaling/v1/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { @@ -25188,11 +28988,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25224,30 +29023,241 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "listNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "post": { + "description": "create a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "createNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the DaemonSet", - "name": "name", - "in": "path", - "required": true + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", @@ -25262,104 +29272,225 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "read the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "readNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "put": { + "description": "replace the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + }, + "delete": { + "description": "delete a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "patchNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -25378,32 +29509,173 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + } + ] + }, + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "get": { + "description": "read status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25411,6 +29683,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25420,11 +29699,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25456,8 +29734,15 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25465,6 +29750,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25474,11 +29766,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25518,8 +29809,15 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25527,6 +29825,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25534,6 +29839,21 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -25572,8 +29892,85 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/autoscaling/v2beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -25583,26 +29980,24 @@ }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25634,483 +30029,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/networkpolicies": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodSecurityPolicy", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/thirdpartyresources": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/thirdpartyresources/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ThirdPartyResource", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/policy/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/policy/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26125,10 +30046,17 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "listNamespacedPodDisruptionBudget", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26136,6 +30064,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26143,6 +30078,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26169,16 +30111,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "post": { - "description": "create a PodDisruptionBudget", + "description": "create a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26191,16 +30139,16 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "createNamespacedPodDisruptionBudget", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } } ], @@ -26208,16 +30156,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "delete": { - "description": "delete collection of PodDisruptionBudget", + "description": "delete collection of HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26230,10 +30184,17 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26243,16 +30204,30 @@ }, { "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", "in": "query" }, { @@ -26280,6 +30255,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ @@ -26300,9 +30281,9 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "read the specified PodDisruptionBudget", + "description": "read the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26315,9 +30296,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "readNamespacedPodDisruptionBudget", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, @@ -26338,16 +30319,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "put": { - "description": "replace the specified PodDisruptionBudget", + "description": "replace the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26360,16 +30347,16 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "replaceNamespacedPodDisruptionBudget", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } } ], @@ -26377,16 +30364,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "delete": { - "description": "delete a PodDisruptionBudget", + "description": "delete a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26399,9 +30392,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "deleteNamespacedPodDisruptionBudget", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -26443,10 +30436,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "patch": { - "description": "partially update the specified PodDisruptionBudget", + "description": "partially update the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -26461,9 +30460,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "patchNamespacedPodDisruptionBudget", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -26479,19 +30478,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -26513,9 +30518,9 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { - "description": "read status of the specified PodDisruptionBudget", + "description": "read status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26528,23 +30533,29 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "readNamespacedPodDisruptionBudgetStatus", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "put": { - "description": "replace status of the specified PodDisruptionBudget", + "description": "replace status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -26557,16 +30568,16 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "replaceNamespacedPodDisruptionBudgetStatus", + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } } ], @@ -26574,16 +30585,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "patch": { - "description": "partially update status of the specified PodDisruptionBudget", + "description": "partially update status of the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -26598,9 +30615,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "autoscaling_v2beta1" ], - "operationId": "patchNamespacedPodDisruptionBudgetStatus", + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", "parameters": [ { "name": "body", @@ -26616,19 +30633,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -26650,39 +30673,15 @@ } ] }, - "/apis/policy/v1beta1/poddisruptionbudgets": { - "get": { - "description": "list or watch objects of kind PodDisruptionBudget", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "operationId": "listPodDisruptionBudgetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26690,6 +30689,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26697,6 +30703,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26727,8 +30740,15 @@ } ] }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26736,6 +30756,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26743,6 +30770,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26781,8 +30815,15 @@ } ] }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26790,6 +30831,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26797,10 +30845,17 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -26843,8 +30898,118 @@ } ] }, - "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "/apis/batch/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/jobs": { + "get": { + "description": "list or watch objects of kind Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26852,6 +31017,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26859,6 +31031,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26889,75 +31068,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings": { + "/apis/batch/v1/namespaces/{namespace}/jobs": { "get": { - "description": "list or watch objects of kind ClusterRoleBinding", + "description": "list or watch objects of kind Job", "consumes": [ "*/*" ], @@ -26972,10 +31085,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "listClusterRoleBinding", + "operationId": "listNamespacedJob", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26983,6 +31103,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -26990,6 +31117,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27016,16 +31150,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBindingList" + "$ref": "#/definitions/v1.JobList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a Job", "consumes": [ "*/*" ], @@ -27038,16 +31178,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "createClusterRoleBinding", + "operationId": "createNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } } ], @@ -27055,16 +31195,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of Job", "consumes": [ "*/*" ], @@ -27077,10 +31223,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "deleteCollectionClusterRoleBinding", + "operationId": "deleteCollectionNamespacedJob", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27088,6 +31241,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27095,6 +31255,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27127,9 +31294,23 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -27139,9 +31320,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified Job", "consumes": [ "*/*" ], @@ -27154,23 +31335,45 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" + ], + "operationId": "readNamespacedJob", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified Job", "consumes": [ "*/*" ], @@ -27183,16 +31386,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "replaceClusterRoleBinding", + "operationId": "replaceNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } } ], @@ -27200,16 +31403,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a Job", "consumes": [ "*/*" ], @@ -27222,9 +31431,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "deleteClusterRoleBinding", + "operationId": "deleteNamespacedJob", "parameters": [ { "name": "body", @@ -27266,10 +31475,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -27284,9 +31499,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "patchClusterRoleBinding", + "operationId": "patchNamespacedJob", "parameters": [ { "name": "body", @@ -27302,19 +31517,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -27322,187 +31543,11 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { - "get": { - "description": "list or watch objects of kind ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "createClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "deleteCollectionClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -27512,9 +31557,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { - "description": "read the specified ClusterRole", + "description": "read status of the specified Job", "consumes": [ "*/*" ], @@ -27527,62 +31572,29 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "readClusterRole", + "operationId": "readNamespacedJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "replaceClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete a ClusterRole", + "description": "replace status of the specified Job", "consumes": [ "*/*" ], @@ -27595,54 +31607,39 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "deleteClusterRole", + "operationId": "replaceNamespacedJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1.Job" } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "patch": { - "description": "partially update the specified ClusterRole", + "description": "partially update status of the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -27657,9 +31654,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1" ], - "operationId": "patchClusterRole", + "operationId": "patchNamespacedJobStatus", "parameters": [ { "name": "body", @@ -27675,23 +31672,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1.Job" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", + "description": "name of the Job", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -27701,42 +31712,425 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listNamespacedRoleBinding", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { + "/apis/batch/v1/watch/jobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Job", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1beta1/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "listCronJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "listNamespacedCronJob", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { "uniqueItems": true, "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", @@ -27762,16 +32156,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBindingList" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "post": { - "description": "create a RoleBinding", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -27784,16 +32184,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "createNamespacedRoleBinding", + "operationId": "createNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -27801,16 +32201,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of RoleBinding", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -27823,10 +32229,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "deleteCollectionNamespacedRoleBinding", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27834,6 +32247,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27841,6 +32261,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -27873,6 +32300,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ @@ -27893,9 +32326,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -27908,23 +32341,45 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" + ], + "operationId": "readNamespacedCronJob", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "put": { - "description": "replace the specified RoleBinding", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -27937,16 +32392,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "replaceNamespacedRoleBinding", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -27954,16 +32409,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "delete": { - "description": "delete a RoleBinding", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -27976,9 +32437,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "deleteNamespacedRoleBinding", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "name": "body", @@ -28020,10 +32481,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified RoleBinding", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -28038,9 +32505,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "patchNamespacedRoleBinding", + "operationId": "patchNamespacedCronJob", "parameters": [ { "name": "body", @@ -28056,19 +32523,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true @@ -28090,77 +32563,44 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { - "description": "list or watch objects of kind Role", + "description": "read status of the specified CronJob", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "batch_v1beta1" ], + "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleList" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, - "post": { - "description": "create a Role", + "put": { + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -28173,16 +32613,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "createNamespacedRole", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.CronJob" } } ], @@ -28190,229 +32630,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete collection of Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "deleteCollectionNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}": { - "get": { - "description": "read the specified Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "readNamespacedRole", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "replaceNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.Role" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "delete": { - "description": "delete a Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "deleteNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified Role", + "description": "partially update status of the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -28427,9 +32660,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "batch_v1beta1" ], - "operationId": "patchNamespacedRole", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "name": "body", @@ -28445,19 +32678,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true @@ -28479,128 +32718,41 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listRoleBindingForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, + "/apis/batch/v1beta1/watch/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { - "get": { - "description": "list or watch objects of kind Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listRoleForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { @@ -28633,73 +32785,48 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -28733,73 +32860,56 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", "in": "query" }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -28833,8 +32943,85 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { + "/apis/batch/v2alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v2alpha1/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v2alpha1" + ], + "operationId": "listCronJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2alpha1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + } + }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -28842,6 +33029,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -28851,11 +33045,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -28887,312 +33080,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "get": { - "description": "list or watch objects of kind ClusterRoleBinding", + "description": "list or watch objects of kind CronJob", "consumes": [ "*/*" ], @@ -29207,10 +33097,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "listClusterRoleBinding", + "operationId": "listNamespacedCronJob", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29218,6 +33115,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29225,6 +33129,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29251,16 +33162,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -29273,16 +33190,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "createClusterRoleBinding", + "operationId": "createNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -29290,16 +33207,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -29312,10 +33235,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCollectionClusterRoleBinding", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29323,6 +33253,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29330,6 +33267,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29362,9 +33306,23 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -29374,9 +33332,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -29389,23 +33347,45 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" + ], + "operationId": "readNamespacedCronJob", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -29418,16 +33398,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "replaceClusterRoleBinding", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -29435,16 +33415,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -29457,9 +33443,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteClusterRoleBinding", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "name": "body", @@ -29501,10 +33487,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -29519,9 +33511,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "patchClusterRoleBinding", + "operationId": "patchNamespacedCronJob", "parameters": [ { "name": "body", @@ -29537,23 +33529,37 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -29563,77 +33569,44 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { - "description": "list or watch objects of kind ClusterRole", + "description": "read status of the specified CronJob", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "listClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "batch_v2alpha1" ], + "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleList" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, - "post": { - "description": "create a ClusterRole", + "put": { + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -29646,16 +33619,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "createClusterRole", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v2alpha1.CronJob" } } ], @@ -29663,18 +33636,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, - "delete": { - "description": "delete collection of ClusterRole", + "patch": { + "description": "partially update status of the specified CronJob", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -29685,59 +33666,55 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "batch_v2alpha1" ], - "operationId": "deleteCollectionClusterRole", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -29747,41 +33724,239 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { + "/apis/batch/v2alpha1/watch/cronjobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/": { "get": { - "description": "read the specified ClusterRole", + "description": "get information of a group", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "readClusterRole", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified ClusterRole", - "consumes": [ - "*/*" - ], "produces": [ "application/json", "application/yaml", @@ -29791,98 +33966,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "replaceClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" - } - } + "certificates" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } } - }, - "delete": { - "description": "delete a ClusterRole", + } + }, + "/apis/certificates.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "deleteClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update the specified ClusterRole", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], "produces": [ "application/json", "application/yaml", @@ -29892,53 +33999,25 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "patchClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } + "certificates_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind CertificateSigningRequest", "consumes": [ "*/*" ], @@ -29953,10 +34032,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "listNamespacedRoleBinding", + "operationId": "listCertificateSigningRequest", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29964,6 +34050,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29971,6 +34064,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29997,16 +34097,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" + "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "post": { - "description": "create a RoleBinding", + "description": "create a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30019,16 +34125,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "createNamespacedRoleBinding", + "operationId": "createCertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } } ], @@ -30036,16 +34142,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of RoleBinding", + "description": "delete collection of CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30058,10 +34170,17 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteCollectionNamespacedRoleBinding", + "operationId": "deleteCollectionCertificateSigningRequest", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30069,6 +34188,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30076,6 +34202,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30108,17 +34241,15 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -30128,9 +34259,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "read the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30143,23 +34274,45 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" + ], + "operationId": "readCertificateSigningRequest", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "put": { - "description": "replace the specified RoleBinding", + "description": "replace the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30172,16 +34325,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "replaceNamespacedRoleBinding", + "operationId": "replaceCertificateSigningRequest", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } } ], @@ -30189,16 +34342,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "delete": { - "description": "delete a RoleBinding", + "description": "delete a CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30211,9 +34370,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteNamespacedRoleBinding", + "operationId": "deleteCertificateSigningRequest", "parameters": [ { "name": "body", @@ -30255,10 +34414,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified RoleBinding", + "description": "partially update the specified CertificateSigningRequest", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -30273,9 +34438,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "patchNamespacedRoleBinding", + "operationId": "patchCertificateSigningRequest", "parameters": [ { "name": "body", @@ -30291,31 +34456,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the CertificateSigningRequest", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -30325,77 +34488,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { - "get": { - "description": "list or watch objects of kind Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "listNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "description": "create a Role", + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "put": { + "description": "replace approval of the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30408,16 +34503,16 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "createNamespacedRole", + "operationId": "replaceCertificateSigningRequestApproval", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } } ], @@ -30425,16 +34520,41 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, - "delete": { - "description": "delete collection of Role", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "put": { + "description": "replace status of the specified CertificateSigningRequest", "consumes": [ "*/*" ], @@ -30447,64 +34567,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "certificates_v1beta1" ], - "operationId": "deleteCollectionNamespacedRole", + "operationId": "replaceCertificateSigningRequestStatus", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the CertificateSigningRequest", + "name": "name", "in": "path", "required": true }, @@ -30517,41 +34616,156 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/": { "get": { - "description": "read the specified Role", + "description": "get information of a group", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "readNamespacedRole", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "put": { - "description": "replace the specified Role", - "consumes": [ - "*/*" - ], "produces": [ "application/json", "application/yaml", @@ -30561,98 +34775,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "replaceNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Role" - } - } + "extensions" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } } - }, - "delete": { - "description": "delete a Role", + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "deleteNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "patch": { - "description": "partially update the specified Role", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], "produces": [ "application/json", "application/yaml", @@ -30662,61 +34808,25 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "patchNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } + "extensions_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "/apis/extensions/v1beta1/daemonsets": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -30731,22 +34841,35 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "extensions_v1beta1" ], - "operationId": "listRoleBindingForAllNamespaces", + "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" + "$ref": "#/definitions/v1beta1.DaemonSetList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30754,6 +34877,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30761,6 +34891,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30791,9 +34928,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "/apis/extensions/v1beta1/deployments": { "get": { - "description": "list or watch objects of kind Role", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -30808,22 +34945,35 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "extensions_v1beta1" ], - "operationId": "listRoleForAllNamespaces", + "operationId": "listDeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleList" + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -30831,50 +34981,11 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { @@ -30884,59 +34995,12 @@ "name": "labelSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true }, { "uniqueItems": true, @@ -30968,113 +35032,64 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/extensions/v1beta1/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listIngressForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { @@ -31086,11 +35101,10 @@ }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -31122,30 +35136,241 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", @@ -31160,104 +35385,225 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "get": { + "description": "read the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + }, + "put": { + "description": "replace the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -31276,129 +35622,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/settings.k8s.io/": { + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified DaemonSet", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -31409,30 +35640,79 @@ "https" ], "tags": [ - "settings" + "extensions_v1beta1" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } - } - }, - "/apis/settings.k8s.io/v1alpha1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified DaemonSet", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDaemonSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -31442,25 +35722,67 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDaemonSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.DaemonSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind PodPreset", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -31475,10 +35797,17 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "listNamespacedPodPreset", + "operationId": "listNamespacedDeployment", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31486,6 +35815,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31493,6 +35829,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31519,16 +35862,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "post": { - "description": "create a PodPreset", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -31541,16 +35890,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "createNamespacedPodPreset", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } } ], @@ -31558,16 +35907,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of PodPreset", + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -31580,10 +35935,17 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "deleteCollectionNamespacedPodPreset", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31591,6 +35953,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31598,6 +35967,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31630,6 +36006,12 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ @@ -31650,9 +36032,9 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "read the specified PodPreset", + "description": "read the specified Deployment", "consumes": [ "*/*" ], @@ -31665,9 +36047,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "readNamespacedPodPreset", + "operationId": "readNamespacedDeployment", "parameters": [ { "uniqueItems": true, @@ -31688,16 +36070,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "put": { - "description": "replace the specified PodPreset", + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -31710,16 +36098,16 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "replaceNamespacedPodPreset", + "operationId": "replaceNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } } ], @@ -31727,16 +36115,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "delete": { - "description": "delete a PodPreset", + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -31749,9 +36143,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "deleteNamespacedPodPreset", + "operationId": "deleteNamespacedDeployment", "parameters": [ { "name": "body", @@ -31793,10 +36187,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified PodPreset", + "description": "partially update the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -31811,9 +36211,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" ], - "operationId": "patchNamespacedPodPreset", + "operationId": "patchNamespacedDeployment", "parameters": [ { "name": "body", @@ -31829,19 +36229,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodPreset", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -31863,98 +36269,60 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { - "get": { - "description": "list or watch objects of kind PodPreset", + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { + "post": { + "description": "create rollback of a Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "settings_v1alpha1" + "extensions_v1beta1" + ], + "operationId": "createNamespacedDeploymentRollback", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" + } + } ], - "operationId": "listPodPresetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" + "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" } }, "401": { "description": "Unauthorized" } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DeploymentRollback", + "version": "v1beta1" } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -31970,50 +36338,143 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodPreset", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -32032,83 +36493,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/storage.k8s.io/": { + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -32119,30 +36511,79 @@ "https" ], "tags": [ - "storage" + "extensions_v1beta1" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified Deployment", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -32152,25 +36593,67 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] }, - "/apis/storage.k8s.io/v1/storageclasses": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], @@ -32185,10 +36668,17 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "listStorageClass", + "operationId": "listNamespacedIngress", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32196,6 +36686,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32203,6 +36700,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32229,16 +36733,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClassList" + "$ref": "#/definitions/v1beta1.IngressList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "post": { - "description": "create a StorageClass", + "description": "create an Ingress", "consumes": [ "*/*" ], @@ -32251,16 +36761,16 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "createStorageClass", + "operationId": "createNamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } } ], @@ -32268,16 +36778,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of StorageClass", + "description": "delete collection of Ingress", "consumes": [ "*/*" ], @@ -32290,10 +36806,17 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "deleteCollectionStorageClass", + "operationId": "deleteCollectionNamespacedIngress", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32301,6 +36824,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32308,6 +36838,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32340,9 +36877,23 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -32352,9 +36903,9 @@ } ] }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read the specified StorageClass", + "description": "read the specified Ingress", "consumes": [ "*/*" ], @@ -32367,9 +36918,9 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "readStorageClass", + "operationId": "readNamespacedIngress", "parameters": [ { "uniqueItems": true, @@ -32390,16 +36941,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "put": { - "description": "replace the specified StorageClass", + "description": "replace the specified Ingress", "consumes": [ "*/*" ], @@ -32412,16 +36969,16 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "replaceStorageClass", + "operationId": "replaceNamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } } ], @@ -32429,16 +36986,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "delete": { - "description": "delete a StorageClass", + "description": "delete an Ingress", "consumes": [ "*/*" ], @@ -32451,9 +37014,9 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "deleteStorageClass", + "operationId": "deleteNamespacedIngress", "parameters": [ { "name": "body", @@ -32495,10 +37058,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified StorageClass", + "description": "partially update the specified Ingress", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -32513,9 +37082,9 @@ "https" ], "tags": [ - "storage_v1" + "extensions_v1beta1" ], - "operationId": "patchStorageClass", + "operationId": "patchNamespacedIngress", "parameters": [ { "name": "body", @@ -32531,19 +37100,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the Ingress", "name": "name", "in": "path", "required": true @@ -32551,79 +37126,8 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the StorageClass", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -32633,38 +37137,97 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/storage.k8s.io/v1beta1/": { + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { "get": { - "description": "get available resources", + "description": "read status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedIngressStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified Ingress", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -32674,25 +37237,67 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" + ], + "operationId": "patchNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.Ingress" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] }, - "/apis/storage.k8s.io/v1beta1/storageclasses": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -32707,10 +37312,17 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "listStorageClass", + "operationId": "listNamespacedNetworkPolicy", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32718,6 +37330,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32725,6 +37344,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32751,16 +37377,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClassList" + "$ref": "#/definitions/v1beta1.NetworkPolicyList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "post": { - "description": "create a StorageClass", + "description": "create a NetworkPolicy", "consumes": [ "*/*" ], @@ -32773,16 +37405,16 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "createStorageClass", + "operationId": "createNamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } } ], @@ -32790,16 +37422,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "delete": { - "description": "delete collection of StorageClass", + "description": "delete collection of NetworkPolicy", "consumes": [ "*/*" ], @@ -32812,10 +37450,17 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "deleteCollectionStorageClass", + "operationId": "deleteCollectionNamespacedNetworkPolicy", "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32823,6 +37468,13 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32830,6 +37482,13 @@ "name": "labelSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32862,9 +37521,23 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -32874,9 +37547,9 @@ } ] }, - "/apis/storage.k8s.io/v1beta1/storageclasses/{name}": { + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "read the specified StorageClass", + "description": "read the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -32889,9 +37562,9 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "readStorageClass", + "operationId": "readNamespacedNetworkPolicy", "parameters": [ { "uniqueItems": true, @@ -32912,16 +37585,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "put": { - "description": "replace the specified StorageClass", + "description": "replace the specified NetworkPolicy", "consumes": [ "*/*" ], @@ -32934,16 +37613,16 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "replaceStorageClass", + "operationId": "replaceNamespacedNetworkPolicy", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } } ], @@ -32951,16 +37630,22 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "delete": { - "description": "delete a StorageClass", + "description": "delete a NetworkPolicy", "consumes": [ "*/*" ], @@ -32973,9 +37658,9 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "deleteStorageClass", + "operationId": "deleteNamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -33017,10 +37702,16 @@ "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "patch": { - "description": "partially update the specified StorageClass", + "description": "partially update the specified NetworkPolicy", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -33035,9 +37726,9 @@ "https" ], "tags": [ - "storage_v1beta1" + "extensions_v1beta1" ], - "operationId": "patchStorageClass", + "operationId": "patchNamespacedNetworkPolicy", "parameters": [ { "name": "body", @@ -33053,19 +37744,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the NetworkPolicy", "name": "name", "in": "path", "required": true @@ -33073,79 +37770,8 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the StorageClass", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -33155,1105 +37781,20971 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/logs/": { - "get": { - "schemes": [ - "https" - ], - "tags": [ - "logs" - ], - "operationId": "logFileListHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - } - } - }, - "/logs/{logpath}": { - "get": { - "schemes": [ - "https" - ], - "tags": [ - "logs" - ], - "operationId": "logFileHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "path to the log", - "name": "logpath", - "in": "path", - "required": true } ] }, - "/version/": { + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { "get": { - "description": "get the code version", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ - "application/json" + "*/*" ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "version" + "extensions_v1beta1" ], - "operationId": "getCode", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/version.Info" - } + "operationId": "listNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/{group}/{version}/{plural}": { - "post": { + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], "responses": { - "201": { + "200": { + "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1beta1.ReplicaSetList" } }, "401": { "description": "Unauthorized" } }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "schemes": [ "https" ], - "description": "Creates a cluster scoped Custom object", + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedReplicaSet", "parameters": [ { - "schema": { - "type": "object" - }, - "description": "The JSON schema of the Resource to create.", - "required": true, "name": "body", - "in": "body" + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } } ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "operationId": "createClusterCustomObject" - }, - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" - }, - { - "description": "The custom resource's group name", - "required": true, - "type": "string", - "name": "group", - "in": "path" - }, - { - "description": "The custom resource's version", - "required": true, - "type": "string", - "name": "version", - "in": "path" - }, - { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", - "required": true, - "type": "string", - "name": "plural", - "in": "path" - } - ], - "get": { "responses": { "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "schemes": [ "https" ], - "description": "list or watch cluster scoped custom objects", + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, - "in": "query", + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, "type": "string", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, - "in": "query", "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" }, { "uniqueItems": true, - "in": "query", "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + "in": "query" } ], - "tags": [ - "custom_objects" - ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], - "consumes": [ - "*/*" - ], - "operationId": "listClusterCustomObject" - } - }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { - "post": { "responses": { - "201": { + "200": { + "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "description": "Creates a namespace scoped Custom object", - "parameters": [ - { - "schema": { - "type": "object" - }, - "description": "The JSON schema of the Resource to create.", - "required": true, - "name": "body", - "in": "body" - } - ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "operationId": "createNamespacedCustomObject" + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } }, "parameters": [ { "uniqueItems": true, - "in": "query", - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" - }, - { - "description": "The custom resource's group name", - "required": true, - "type": "string", - "name": "group", - "in": "path" - }, - { - "description": "The custom resource's version", - "required": true, - "type": "string", - "name": "version", - "in": "path" - }, - { - "description": "The custom resource's namespace", - "required": true, "type": "string", + "description": "object name and auth scope, such as for teams and projects", "name": "namespace", - "in": "path" + "in": "path", + "required": true }, { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", - "required": true, + "uniqueItems": true, "type": "string", - "name": "plural", - "in": "path" + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" } - ], + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { "get": { - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "401": { - "description": "Unauthorized" - } - }, + "description": "read the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "schemes": [ "https" ], - "description": "list or watch namespace scoped custom objects", + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, - "in": "query", - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" }, { "uniqueItems": true, - "in": "query", "type": "boolean", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" } ], - "tags": [ - "custom_objects" - ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], - "consumes": [ - "*/*" - ], - "operationId": "listNamespacedCustomObject" - } - }, - "/apis/{group}/{version}/{plural}/{name}": { - "put": { "responses": { "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "schemes": [ "https" ], - "description": "replace the specified cluster scoped custom object", + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSet", "parameters": [ { - "schema": { - "type": "object" - }, - "description": "The JSON schema of the Resource to replace.", - "required": true, "name": "body", - "in": "body" + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } } ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "operationId": "replaceClusterCustomObject" - }, - "delete": { "responses": { "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], "schemes": [ "https" ], - "description": "Deletes the specified cluster scoped custom object", + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedReplicaSet", "parameters": [ { + "name": "body", + "in": "body", + "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" - }, - "required": true, - "name": "body", - "in": "body" + } }, { "uniqueItems": true, - "in": "query", "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "name": "gracePeriodSeconds", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + "in": "query" }, { "uniqueItems": true, - "in": "query", "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "name": "orphanDependents", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + "in": "query" }, { "uniqueItems": true, - "in": "query", "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", "name": "propagationPolicy", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + "in": "query" } ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "operationId": "deleteClusterCustomObject" - }, - "parameters": [ - { - "description": "the custom resource's group", - "required": true, - "type": "string", - "name": "group", - "in": "path" - }, - { - "description": "the custom resource's version", - "required": true, - "type": "string", - "name": "version", - "in": "path" - }, - { - "description": "the custom object's plural name. For TPRs this would be lowercase plural kind.", - "required": true, - "type": "string", - "name": "plural", - "in": "path" - }, - { - "description": "the custom object's name", - "required": true, - "type": "string", - "name": "name", - "in": "path" - } - ], - "get": { "responses": { "200": { - "description": "A single Resource", + "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], - "description": "Returns a cluster scoped custom object", "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" ], "tags": [ - "custom_objects" + "extensions_v1beta1" ], - "consumes": [ - "*/*" + "operationId": "patchNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } ], - "operationId": "getClusterCustomObject" - } - }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { - "put": { "responses": { "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1beta1.ReplicaSet" } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "description": "replace the specified namespace scoped custom object", - "parameters": [ - { - "schema": { - "type": "object" - }, - "description": "The JSON schema of the Resource to replace.", - "required": true, - "name": "body", - "in": "body" - } - ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicaSet", + "consumes": [ + "*/*" ], - "operationId": "replaceNamespacedCustomObject" + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } }, - "delete": { + "put": { + "description": "replace scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "get": { + "description": "read status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicationControllerDummyScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + } + ], "responses": { "200": { "description": "OK", "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicationControllerDummy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicyList" + } }, "401": { "description": "Unauthorized" } }, - "schemes": [ - "https" - ], - "description": "Deletes the specified namespace scoped custom object", - "parameters": [ - { - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - }, - "required": true, - "name": "body", - "in": "body" - }, - { - "uniqueItems": true, - "in": "query", - "type": "integer", - "name": "gracePeriodSeconds", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "orphanDependents", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "name": "propagationPolicy", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies": { + "get": { + "description": "list or watch objects of kind PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replacePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deletePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified PodSecurityPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listReplicaSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/ingresses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/podsecuritypolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "post": { + "description": "create a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "createNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteCollectionNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "read the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "put": { + "description": "replace the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified NetworkPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "listNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "createNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "get": { + "description": "read the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "readNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replaceNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deleteNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "patchNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "get": { + "description": "read status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "readNamespacedPodDisruptionBudgetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replaceNamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "patchNamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "listPodDisruptionBudgetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readNamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readNamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readNamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readNamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "readClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "createClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "readClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "replaceClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "createNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "readNamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "createNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteCollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "readNamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "listPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "createPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deleteCollectionPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "readPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "replacePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deletePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PriorityClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "patchPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "get": { + "description": "list or watch objects of kind PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "listNamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "createNamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "deleteCollectionNamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "get": { + "description": "read the specified PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "readNamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "replaceNamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "deleteNamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PodPreset", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "patchNamespacedPodPreset", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodPreset", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/podpresets": { + "get": { + "description": "list or watch objects of kind PodPreset", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "listPodPresetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodPreset", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/storageclasses": { + "get": { + "description": "list or watch objects of kind StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "post": { + "description": "create a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteCollectionStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "get": { + "description": "read the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified StorageClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1beta1/storageclasses": { + "get": { + "description": "list or watch objects of kind StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "listStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "post": { + "description": "create a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "createStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteCollectionStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/storageclasses/{name}": { + "get": { + "description": "read the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "readStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "replaceStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified StorageClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "patchStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/logs/": { + "get": { + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileListHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + } + }, + "/logs/{logpath}": { + "get": { + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "path to the log", + "name": "logpath", + "in": "path", + "required": true + } + ] + }, + "/version/": { + "get": { + "description": "get the code version", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "version" + ], + "operationId": "getCode", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/version.Info" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/{group}/{version}/{plural}": { + "post": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Creates a cluster scoped Custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "operationId": "createClusterCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "list or watch cluster scoped custom objects", + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector" + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion" + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + } + ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listClusterCustomObject" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { + "post": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Creates a namespace scoped Custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "operationId": "createNamespacedCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "list or watch namespace scoped custom objects", + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector" + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion" + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." + } + ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listNamespacedCustomObject" + } + }, + "/apis/{group}/{version}/{plural}/{name}": { + "put": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to replace.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObject" + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Deletes the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + }, + "required": true, + "name": "body", + "in": "body" + }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "name": "gracePeriodSeconds", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "orphanDependents", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "name": "propagationPolicy", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "deleteClusterCustomObject" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "the custom object's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "A single Resource", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Returns a cluster scoped custom object", + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getClusterCustomObject" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { + "put": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to replace.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObject" + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Deletes the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + }, + "required": true, + "name": "body", + "in": "body" + }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "name": "gracePeriodSeconds", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "orphanDependents", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "name": "propagationPolicy", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + } + ], + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "deleteNamespacedCustomObject" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "A single Resource", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Returns a namespace scoped custom object", + "produces": [ + "application/json" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "getNamespacedCustomObject" + } + } + }, + "definitions": { + "v1.SelfSubjectRulesReview": { + "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated.", + "$ref": "#/definitions/v1.SelfSubjectRulesReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates the set of actions a user can perform.", + "$ref": "#/definitions/v1.SubjectRulesReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + } + ] + }, + "extensions.v1beta1.ScaleSpec": { + "description": "describes the attributes of a scale subresource", + "properties": { + "replicas": { + "description": "desired number of instances for the scaled object.", + "type": "integer", + "format": "int32" + } + } + }, + "v1.FlockerVolumeSource": { + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "properties": { + "datasetName": { + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "apps.v1beta1.RollbackConfig": { + "description": "DEPRECATED.", + "properties": { + "revision": { + "description": "The revision to rollback to. If set to 0, rollback to the last revision.", + "type": "integer", + "format": "int64" + } + } + }, + "v1.SecretReference": { + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", + "properties": { + "name": { + "description": "Name is unique within a namespace to reference a secret resource.", + "type": "string" + }, + "namespace": { + "description": "Namespace defines the space within which the secret name must be unique.", + "type": "string" + } + } + }, + "v1.SecretKeySelector": { + "description": "SecretKeySelector selects a key of a Secret.", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or it's key must be defined", + "type": "boolean" + } + } + }, + "v1.NodeStatus": { + "description": "NodeStatus is information about the current status of a node.", + "properties": { + "addresses": { + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeAddress" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "allocatable": { + "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "capacity": { + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "daemonEndpoints": { + "description": "Endpoints of daemons running on the Node.", + "$ref": "#/definitions/v1.NodeDaemonEndpoints" + }, + "images": { + "description": "List of container images on this node", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ContainerImage" + } + }, + "nodeInfo": { + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info", + "$ref": "#/definitions/v1.NodeSystemInfo" + }, + "phase": { + "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.", + "type": "string" + }, + "volumesAttached": { + "description": "List of volumes that are attached to the node.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.AttachedVolume" + } + }, + "volumesInUse": { + "description": "List of attachable volumes in use (mounted) by the node.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1beta1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "required": [ + "backend" + ], + "properties": { + "backend": { + "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to.", + "$ref": "#/definitions/v1beta1.IngressBackend" + }, + "path": { + "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", + "type": "string" + } + } + }, + "v1beta1.PodDisruptionBudget": { + "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the PodDisruptionBudget.", + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetSpec" + }, + "status": { + "description": "Most recently observed status of the PodDisruptionBudget.", + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + ] + }, + "v1.ProjectedVolumeSource": { + "description": "Represents a projected volume source", + "required": [ + "sources" + ], + "properties": { + "defaultMode": { + "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "list of volume projections", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeProjection" + } + } + } + }, + "v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "v1.PodList": { + "description": "PodList is a list of Pods.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Pod" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodList", + "version": "v1" + } + ] + }, + "v1beta1.SubjectAccessReviewSpec": { + "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "properties": { + "extra": { + "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "group": { + "description": "Groups is the groups you're testing for.", + "type": "array", + "items": { + "type": "string" + } + }, + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/v1beta1.NonResourceAttributes" + }, + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/v1beta1.ResourceAttributes" + }, + "uid": { + "description": "UID information about the requesting user.", + "type": "string" + }, + "user": { + "description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups", + "type": "string" + } + } + }, + "v1beta1.RollingUpdateDaemonSet": { + "description": "Spec to control the desired behavior of daemon set rolling update.", + "properties": { + "maxUnavailable": { + "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1alpha1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + ] + }, + "v1.CephFSPersistentVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/v1.SecretReference" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "v1beta1.CustomResourceValidation": { + "description": "CustomResourceValidation is a list of validation methods for CustomResources.", + "properties": { + "openAPIV3Schema": { + "description": "OpenAPIV3Schema is the OpenAPI v3 schema to be validated against.", + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + } + }, + "v1beta2.DaemonSetUpdateStrategy": { + "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if type = \"RollingUpdate\".", + "$ref": "#/definitions/v1beta2.RollingUpdateDaemonSet" + }, + "type": { + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.", + "type": "string" + } + } + }, + "v1.Capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "type": "string" + } + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "apps.v1beta1.DeploymentRollback": { + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "required": [ + "name", + "rollbackTo" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Required: This must match the Name of a deployment.", + "type": "string" + }, + "rollbackTo": { + "description": "The config of this deployment rollback.", + "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + }, + "updatedAnnotations": { + "description": "The annotations to be updated to a deployment", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DeploymentRollback", + "version": "v1beta1" + } + ] + }, + "v1alpha1.ExternalAdmissionHook": { + "description": "ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.", + "required": [ + "name", + "clientConfig" + ], + "properties": { + "clientConfig": { + "description": "ClientConfig defines how to communicate with the hook. Required", + "$ref": "#/definitions/v1alpha1.AdmissionHookClientConfig" + }, + "failurePolicy": { + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", + "type": "string" + }, + "name": { + "description": "The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", + "type": "string" + }, + "rules": { + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.RuleWithOperations" + } + } + } + }, + "v1beta1.NetworkPolicyList": { + "description": "Network Policy List is a list of NetworkPolicy objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "NetworkPolicyList", + "version": "v1beta1" + } + ] + }, + "v1.StorageClass": { + "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "required": [ + "provisioner" + ], + "properties": { + "allowVolumeExpansion": { + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", + "type": "boolean" + }, + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "mountOptions": { + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", + "type": "array", + "items": { + "type": "string" + } + }, + "parameters": { + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioner": { + "description": "Provisioner indicates the type of the provisioner.", + "type": "string" + }, + "reclaimPolicy": { + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + ] + }, + "v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string", + "x-kubernetes-patch-merge-key": "key", + "x-kubernetes-patch-strategy": "merge" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.LoadBalancerIngress": { + "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", + "properties": { + "hostname": { + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", + "type": "string" + }, + "ip": { + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", + "type": "string" + } + } + }, + "v1.SecretList": { + "description": "SecretList is a list of Secret.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Secret" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "SecretList", + "version": "v1" + } + ] + }, + "v1beta1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of RoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1beta1" + } + ] + }, + "v1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "properties": { + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" + }, + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", + "type": "string" + }, + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "type": "string" + }, + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", + "type": "string" + }, + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" + }, + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", + "type": "string" + } + } + }, + "v1.ServicePort": { + "description": "ServicePort contains information on service's port.", + "required": [ + "port" + ], + "properties": { + "name": { + "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.", + "type": "string" + }, + "nodePort": { + "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "The port that will be exposed by this service.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", + "type": "string" + }, + "targetPort": { + "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1.ReplicationControllerList": { + "description": "ReplicationControllerList is a collection of replication controllers.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ReplicationController" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ReplicationControllerList", + "version": "v1" + } + ] + }, + "v1beta1.SelfSubjectRulesReview": { + "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated.", + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates the set of actions a user can perform.", + "$ref": "#/definitions/v1beta1.SubjectRulesReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1beta1" + } + ] + }, + "v1beta1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "required": [ + "rules" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PolicyRule" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1beta1" + } + ] + }, + "v1beta1.RoleList": { + "description": "RoleList is a collection of Roles", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of Roles", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1beta1" + } + ] + }, + "v1.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, + "v1.SelfSubjectAccessReviewSpec": { + "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "properties": { + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/v1.NonResourceAttributes" + }, + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/v1.ResourceAttributes" + } + } + }, + "apps.v1beta1.DeploymentStrategy": { + "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", + "$ref": "#/definitions/apps.v1beta1.RollingUpdateDeployment" + }, + "type": { + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "type": "string" + } + } + }, + "v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ClusterRoles", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] + }, + "v1.GroupVersionForDiscovery": { + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "required": [ + "groupVersion", + "version" + ], + "properties": { + "groupVersion": { + "description": "groupVersion specifies the API group and version in the form \"group/version\"", + "type": "string" + }, + "version": { + "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", + "type": "string" + } + } + }, + "v1.ComponentStatusList": { + "description": "Status of all the conditions for the component as a list of ComponentStatus objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of ComponentStatus objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ComponentStatus" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ComponentStatusList", + "version": "v1" + } + ] + }, + "v1.PodAntiAffinity": { + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.WeightedPodAffinityTerm" + } + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodAffinityTerm" + } + } + } + }, + "v1beta1.DaemonSetUpdateStrategy": { + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if type = \"RollingUpdate\".", + "$ref": "#/definitions/v1beta1.RollingUpdateDaemonSet" + }, + "type": { + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.", + "type": "string" + } + } + }, + "v1.HostAlias": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "v1.Probe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "properties": { + "exec": { + "description": "One and only one of the following should be specified. Exec specifies the action to take.", + "$ref": "#/definitions/v1.ExecAction" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "$ref": "#/definitions/v1.HTTPGetAction" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", + "$ref": "#/definitions/v1.TCPSocketAction" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "v1beta2.Scale": { + "description": "Scale represents a scaling request for a resource.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v1beta2.ScaleSpec" + }, + "status": { + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.", + "$ref": "#/definitions/v1beta2.ScaleStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + } + ] + }, + "v1alpha1.Rule": { + "description": "Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.", + "properties": { + "apiGroups": { + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", + "type": "array", + "items": { + "type": "string" + } + }, + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.CinderVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "v1.NodeSelectorTerm": { + "description": "A null or empty node selector term matches no objects.", + "required": [ + "matchExpressions" + ], + "properties": { + "matchExpressions": { + "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeSelectorRequirement" + } + } + } + }, + "v1.PersistentVolumeClaimSpec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "properties": { + "accessModes": { + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "$ref": "#/definitions/v1.ResourceRequirements" + }, + "selector": { + "description": "A label query over volumes to consider for binding.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "storageClassName": { + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeName": { + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "v1.ReplicationControllerStatus": { + "description": "ReplicationControllerStatus represents the current status of a replication controller.", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replication controller's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ReplicationControllerCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replication controller.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, + "v2beta1.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta1" + } + ] + }, + "extensions.v1beta1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "required": [ + "template" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "paused": { + "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", + "type": "boolean" + }, + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "type": "integer", + "format": "int32" + }, + "rollbackTo": { + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", + "$ref": "#/definitions/extensions.v1beta1.RollbackConfig" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", + "$ref": "#/definitions/extensions.v1beta1.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, + "v1.ScaleStatus": { + "description": "ScaleStatus represents the current status of a scale subresource.", + "required": [ + "replicas" + ], + "properties": { + "replicas": { + "description": "actual number of observed instances of the scaled object.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "type": "string" + } + } + }, + "v1.EndpointPort": { + "description": "EndpointPort is a tuple that describes a single port.", + "required": [ + "port" + ], + "properties": { + "name": { + "description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.", + "type": "string" + }, + "port": { + "description": "The port number of the endpoint.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", + "type": "string" + } + } + }, + "apps.v1beta1.DeploymentList": { + "description": "DeploymentList is a list of Deployments.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of Deployments.", + "type": "array", + "items": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DeploymentList", + "version": "v1beta1" + } + ] + }, + "v1beta1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", + "required": [ + "serviceName", + "servicePort" + ], + "properties": { + "serviceName": { + "description": "Specifies the name of the referenced service.", + "type": "string" + }, + "servicePort": { + "description": "Specifies the port of the referenced service.", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1alpha1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.", + "type": "string" + }, + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "type": "string" + }, + "name": { + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + } + }, + "v2alpha1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "properties": { + "metadata": { + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.JobSpec" + } + } + }, + "v1.ResourceQuotaSpec": { + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", + "properties": { + "hard": { + "description": "Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "scopes": { + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.DownwardAPIProjection": { + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "$ref": "#/definitions/v1.DownwardAPIVolumeFile" + } + } + } + }, + "v1beta1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec contains information for locating and communicating with a server", + "$ref": "#/definitions/v1beta1.APIServiceSpec" + }, + "status": { + "description": "Status contains derived information about an API server", + "$ref": "#/definitions/v1beta1.APIServiceStatus" + } + } + }, + "v1beta1.Ingress": { + "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.IngressSpec" + }, + "status": { + "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.IngressStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + ] + }, + "v1beta1.PodDisruptionBudgetStatus": { + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "required": [ + "disruptedPods", + "disruptionsAllowed", + "currentHealthy", + "desiredHealthy", + "expectedPods" + ], + "properties": { + "currentHealthy": { + "description": "current number of healthy pods", + "type": "integer", + "format": "int32" + }, + "desiredHealthy": { + "description": "minimum desired number of healthy pods", + "type": "integer", + "format": "int32" + }, + "disruptedPods": { + "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "date-time" + } + }, + "disruptionsAllowed": { + "description": "Number of pod disruptions that are currently allowed.", + "type": "integer", + "format": "int32" + }, + "expectedPods": { + "description": "total number of pods counted by this disruption budget", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", + "type": "integer", + "format": "int64" + } + } + }, + "v1beta1.IDRange": { + "description": "ID Range provides a min/max of an allowed range of IDs.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "Max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" + }, + "min": { + "description": "Min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" + } + } + }, + "v1.PodAffinityTerm": { + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key tches that of any node on which a pod of the set of pods is running", + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "namespaces": { + "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", + "type": "array", + "items": { + "type": "string" + } + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.", + "type": "string" + } + } + }, + "v1.ServiceStatus": { + "description": "ServiceStatus represents the current status of a service.", + "properties": { + "loadBalancer": { + "description": "LoadBalancer contains the current status of the load-balancer, if one is present.", + "$ref": "#/definitions/v1.LoadBalancerStatus" + } + } + }, + "v1beta2.ControllerRevision": { + "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", + "required": [ + "revision" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "data": { + "description": "Data is the serialized representation of the state.", + "$ref": "#/definitions/runtime.RawExtension" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "revision": { + "description": "Revision indicates the revision of the state represented by Data.", + "type": "integer", + "format": "int64" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + } + ] + }, + "v1.AzureDiskVolumeSource": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "The Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "The URI the data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "v1.ResourceQuotaList": { + "description": "ResourceQuotaList is a list of ResourceQuota items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuotaList", + "version": "v1" + } + ] + }, + "v1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + } + }, + "v1.ConfigMap": { + "description": "ConfigMap holds configuration data for pods to consume.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "data": { + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + ] + }, + "v1beta1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "required": [ + "cidr" + ], + "properties": { + "cidr": { + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "type": "string" + }, + "except": { + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1beta2.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", + "properties": { + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "type": "string", + "format": "int-or-string" + }, + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1.PersistentVolumeClaimList": { + "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaimList", + "version": "v1" + } + ] + }, + "v1.JobStatus": { + "description": "JobStatus represents the current state of a Job.", + "properties": { + "active": { + "description": "The number of actively running pods.", + "type": "integer", + "format": "int32" + }, + "completionTime": { + "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", + "type": "string", + "format": "date-time" + }, + "conditions": { + "description": "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "array", + "items": { + "$ref": "#/definitions/v1.JobCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "failed": { + "description": "The number of pods which reached phase Failed.", + "type": "integer", + "format": "int32" + }, + "startTime": { + "description": "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", + "type": "string", + "format": "date-time" + }, + "succeeded": { + "description": "The number of pods which reached phase Succeeded.", + "type": "integer", + "format": "int32" + } + } + }, + "v1.PersistentVolumeSpec": { + "description": "PersistentVolumeSpec is the specification of a persistent volume.", + "properties": { + "accessModes": { + "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes", + "type": "array", + "items": { + "type": "string" + } + }, + "awsElasticBlockStore": { + "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureFilePersistentVolumeSource" + }, + "capacity": { + "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "cephfs": { + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.CephFSPersistentVolumeSource" + }, + "cinder": { + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "$ref": "#/definitions/v1.CinderVolumeSource" + }, + "claimRef": { + "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", + "$ref": "#/definitions/v1.ObjectReference" + }, + "fc": { + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/v1.FCVolumeSource" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "$ref": "#/definitions/v1.FlexVolumeSource" + }, + "flocker": { + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", + "$ref": "#/definitions/v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" + }, + "glusterfs": { + "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", + "$ref": "#/definitions/v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", + "$ref": "#/definitions/v1.ISCSIVolumeSource" + }, + "local": { + "description": "Local represents directly-attached storage with node affinity", + "$ref": "#/definitions/v1.LocalVolumeSource" + }, + "mountOptions": { + "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options", + "type": "array", + "items": { + "type": "string" + } + }, + "nfs": { + "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/v1.NFSVolumeSource" + }, + "persistentVolumeReclaimPolicy": { + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", + "type": "string" + }, + "photonPersistentDisk": { + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PortworxVolumeSource" + }, + "quobyte": { + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", + "$ref": "#/definitions/v1.RBDVolumeSource" + }, + "scaleIO": { + "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + "$ref": "#/definitions/v1.ScaleIOVolumeSource" + }, + "storageClassName": { + "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", + "type": "string" + }, + "storageos": { + "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md", + "$ref": "#/definitions/v1.StorageOSPersistentVolumeSource" + }, + "vsphereVolume": { + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" + } + } + }, + "v1beta1.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ReplicaSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, + "v2beta1.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", + "type": "integer", + "format": "int32" + }, + "metrics": { + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta1.MetricSpec" + } + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", + "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" + } + } + }, + "v1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "required": [ + "subjects", + "roleRef" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "roleRef": { + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Subject" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + ] + }, + "v1beta2.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "template", + "serviceName" + ], + "properties": { + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", + "type": "string" + }, + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/v1beta2.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + } + } + }, + "v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + } + ] + }, + "v1alpha1.AdmissionHookClientConfig": { + "description": "AdmissionHookClientConfig contains the information to make a TLS connection with the webhook", + "required": [ + "service", + "caBundle" + ], + "properties": { + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required", + "type": "string", + "format": "byte" + }, + "service": { + "description": "Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required", + "$ref": "#/definitions/v1alpha1.ServiceReference" + } + } + }, + "v1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", + "required": [ + "subjects", + "roleRef" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "roleRef": { + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Subject" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + ] + }, + "v1.LocalSubjectAccessReview": { + "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", + "$ref": "#/definitions/v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + } + ] + }, + "v1.PersistentVolumeList": { + "description": "PersistentVolumeList is a list of PersistentVolume items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolume" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeList", + "version": "v1" + } + ] + }, + "v1.JobSpec": { + "description": "JobSpec describes how the job execution will look like.", + "required": [ + "template" + ], + "properties": { + "activeDeadlineSeconds": { + "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", + "type": "integer", + "format": "int64" + }, + "backoffLimit": { + "description": "Specifies the number of retries before marking this job failed. Defaults to 6", + "type": "integer", + "format": "int32" + }, + "completions": { + "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "integer", + "format": "int32" + }, + "manualSelector": { + "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md", + "type": "boolean" + }, + "parallelism": { + "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, + "v2alpha1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of CronJobs.", + "type": "array", + "items": { + "$ref": "#/definitions/v2alpha1.CronJob" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJobList", + "version": "v2alpha1" + } + ] + }, + "v1beta1.SelfSubjectAccessReviewSpec": { + "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "properties": { + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/v1beta1.NonResourceAttributes" + }, + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/v1beta1.ResourceAttributes" + } + } + }, + "v1.StatusDetails": { + "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "properties": { + "causes": { + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.StatusCause" + } + }, + "group": { + "description": "The group attribute of the resource associated with the status StatusReason.", + "type": "string" + }, + "kind": { + "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", + "type": "string" + }, + "retryAfterSeconds": { + "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", + "type": "integer", + "format": "int32" + }, + "uid": { + "description": "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" + } + } + }, + "v1.ContainerStateWaiting": { + "description": "ContainerStateWaiting is a waiting state of a container.", + "properties": { + "message": { + "description": "Message regarding why the container is not yet running.", + "type": "string" + }, + "reason": { + "description": "(brief) reason the container is not yet running.", + "type": "string" + } + } + }, + "v1beta2.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, + "v1.ConfigMapKeySelector": { + "description": "Selects a key from a ConfigMap.", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or it's key must be defined", + "type": "boolean" + } + } + }, + "v1.PersistentVolumeClaimStatus": { + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", + "properties": { + "accessModes": { + "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + } + }, + "capacity": { + "description": "Represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaimCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "phase": { + "description": "Phase represents the current phase of PersistentVolumeClaim.", + "type": "string" + } + } + }, + "v2beta1.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is a human-readable explanation containing details about the transition", + "type": "string" + }, + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", + "type": "string" + } + } + }, + "extensions.v1beta1.Deployment": { + "description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/extensions.v1beta1.DeploymentSpec" + }, + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + ] + }, + "v1.ConfigMapProjection": { + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", + "properties": { + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.KeyToPath" + } + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or it's keys must be defined", + "type": "boolean" + } + } + }, + "v1beta1.PodDisruptionBudgetList": { + "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudgetList", + "version": "v1beta1" + } + ] + }, + "v1alpha1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "required": [ + "rules" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.PolicyRule" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + ] + }, + "v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", + "$ref": "#/definitions/v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false.", + "type": "boolean" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "$ref": "#/definitions/v1.SELinuxOptions" + } + } + }, + "v1beta1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", + "type": "string" + }, + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "type": "string" + }, + "name": { + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + } + }, + "v1beta1.JSON": { + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "required": [ + "Raw" + ], + "properties": { + "Raw": { + "type": "string", + "format": "byte" + } + } + }, + "v1beta1.ReplicaSet": { + "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet represents the configuration of a ReplicaSet.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.ReplicaSetSpec" + }, + "status": { + "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.ReplicaSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + ] + }, + "v1.NodeCondition": { + "description": "NodeCondition contains condition information for a node.", + "required": [ + "type", + "status" + ], + "properties": { + "lastHeartbeatTime": { + "description": "Last time we got an update on a given condition.", + "type": "string", + "format": "date-time" + }, + "lastTransitionTime": { + "description": "Last time the condition transit from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "(brief) reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of node condition.", + "type": "string" + } + } + }, + "v1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" + }, + "evaluationError": { + "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", + "type": "string" + }, + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", + "type": "string" + } + } + }, + "v1beta1.DaemonSet": { + "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.DaemonSetSpec" + }, + "status": { + "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.DaemonSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + ] + }, + "v2alpha1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", + "properties": { + "active": { + "description": "A list of pointers to currently running jobs.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ObjectReference" + } + }, + "lastScheduleTime": { + "description": "Information when was the last time the job was successfully scheduled.", + "type": "string", + "format": "date-time" + } + } + }, + "v1.PersistentVolumeClaim": { + "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/v1.PersistentVolumeClaimSpec" + }, + "status": { + "description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/v1.PersistentVolumeClaimStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + ] + }, + "v1.NodeSelectorRequirement": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.Volume": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureFileVolumeSource" + }, + "cephfs": { + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.CephFSVolumeSource" + }, + "cinder": { + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "$ref": "#/definitions/v1.CinderVolumeSource" + }, + "configMap": { + "description": "ConfigMap represents a configMap that should populate this volume", + "$ref": "#/definitions/v1.ConfigMapVolumeSource" + }, + "downwardAPI": { + "description": "DownwardAPI represents downward API about the pod that should populate this volume", + "$ref": "#/definitions/v1.DownwardAPIVolumeSource" + }, + "emptyDir": { + "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "$ref": "#/definitions/v1.EmptyDirVolumeSource" + }, + "fc": { + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/v1.FCVolumeSource" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "$ref": "#/definitions/v1.FlexVolumeSource" + }, + "flocker": { + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", + "$ref": "#/definitions/v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" + }, + "gitRepo": { + "description": "GitRepo represents a git repository at a particular revision.", + "$ref": "#/definitions/v1.GitRepoVolumeSource" + }, + "glusterfs": { + "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", + "$ref": "#/definitions/v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md", + "$ref": "#/definitions/v1.ISCSIVolumeSource" + }, + "name": { + "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/v1.NFSVolumeSource" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/v1.PersistentVolumeClaimVolumeSource" + }, + "photonPersistentDisk": { + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PortworxVolumeSource" + }, + "projected": { + "description": "Items for all in one resources secrets, configmaps, and downward API", + "$ref": "#/definitions/v1.ProjectedVolumeSource" + }, + "quobyte": { + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", + "$ref": "#/definitions/v1.RBDVolumeSource" + }, + "scaleIO": { + "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + "$ref": "#/definitions/v1.ScaleIOVolumeSource" + }, + "secret": { + "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "$ref": "#/definitions/v1.SecretVolumeSource" + }, + "storageos": { + "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", + "$ref": "#/definitions/v1.StorageOSVolumeSource" + }, + "vsphereVolume": { + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" + } + } + }, + "v1beta2.ReplicaSetCondition": { + "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "The last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of replica set condition.", + "type": "string" + } + } + }, + "v1.VolumeMount": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release.", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + } + } + }, + "v1.NamespaceList": { + "description": "NamespaceList is a list of Namespaces.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Namespace" } - ], - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "operationId": "deleteNamespacedCustomObject" - }, - "parameters": [ - { - "description": "the custom resource's group", - "required": true, - "type": "string", - "name": "group", - "in": "path" }, - { - "description": "the custom resource's version", - "required": true, - "type": "string", - "name": "version", - "in": "path" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ { - "description": "The custom resource's namespace", - "required": true, - "type": "string", - "name": "namespace", - "in": "path" + "group": "", + "kind": "NamespaceList", + "version": "v1" + } + ] + }, + "v1.EndpointsList": { + "description": "EndpointsList is a list of endpoints.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - { - "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", - "required": true, - "type": "string", - "name": "plural", - "in": "path" + "items": { + "description": "List of endpoints.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Endpoints" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ { - "description": "the custom object's name", - "required": true, - "type": "string", - "name": "name", - "in": "path" + "group": "", + "kind": "EndpointsList", + "version": "v1" } + ] + }, + "v1.Container": { + "description": "A single application container that you want to run within a pod.", + "required": [ + "name" ], - "get": { - "responses": { - "200": { - "description": "A single Resource", - "schema": { - "type": "object" - } + "properties": { + "args": { + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.EnvVar" }, - "401": { - "description": "Unauthorized" + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.EnvFromSource" } }, - "schemes": [ - "https" - ], - "description": "Returns a namespace scoped custom object", - "produces": [ - "application/json" - ], - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "operationId": "getNamespacedCustomObject" - } - } - }, - "definitions": { - "v1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", - "properties": { - "path": { - "description": "Path is the URL path of the request", + "image": { + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", "type": "string" }, - "verb": { - "description": "Verb is the standard HTTP verb", + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/v1.Probe" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ContainerPort" + }, + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "$ref": "#/definitions/v1.ResourceRequirements" + }, + "securityContext": { + "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md", + "$ref": "#/definitions/v1.SecurityContext" + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeMount" + }, + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" } } }, - "v1.EndpointAddress": { - "description": "EndpointAddress is a tuple that describes single IP address.", + "v1.LimitRangeSpec": { + "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", "required": [ - "ip" + "limits" ], "properties": { - "hostname": { - "description": "The Hostname of this endpoint", + "limits": { + "description": "Limits is the list of LimitRangeItem objects that are enforced.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LimitRangeItem" + } + } + } + }, + "v1.Status": { + "description": "Status is a return value for calls that don't return other objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "ip": { - "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", + "code": { + "description": "Suggested HTTP return code for this status, 0 if not set.", + "type": "integer", + "format": "int32" + }, + "details": { + "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", + "$ref": "#/definitions/v1.StatusDetails" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "nodeName": { - "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", + "message": { + "description": "A human-readable description of the status of this operation.", "type": "string" }, - "targetRef": { - "description": "Reference to object providing the endpoint.", - "$ref": "#/definitions/v1.ObjectReference" + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + }, + "reason": { + "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", + "type": "string" + }, + "status": { + "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Status", + "version": "v1" + } + ] }, - "v1.ContainerImage": { - "description": "Describe a container image", + "v1beta2.StatefulSet": { + "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired identities of pods in this set.", + "$ref": "#/definitions/v1beta2.StatefulSetSpec" + }, + "status": { + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", + "$ref": "#/definitions/v1beta2.StatefulSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + } + ] + }, + "v1beta1.ReplicaSetList": { + "description": "ReplicaSetList is a collection of ReplicaSets.", "required": [ - "names" + "items" ], "properties": { - "names": { - "description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1beta1.ReplicaSet" } }, - "sizeBytes": { - "description": "The size of the image in bytes.", - "type": "integer", - "format": "int64" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "ReplicaSetList", + "version": "v1beta1" + } + ] + }, + "v1.ContainerState": { + "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", + "properties": { + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/v1.ContainerStateTerminated" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/v1.ContainerStateWaiting" } } }, - "apps.v1beta1.RollbackConfig": { + "v1beta2.ScaleStatus": { + "description": "ScaleStatus represents the current status of a scale subresource.", + "required": [ + "replicas" + ], "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollbck to the last revision.", + "replicas": { + "description": "actual number of observed instances of the scaled object.", "type": "integer", - "format": "int64" + "format": "int32" + }, + "selector": { + "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetSelector": { + "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "type": "string" } } }, - "extensions.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", + "v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", "properties": { - "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", - "type": "string", - "format": "int-or-string" + "ipBlock": { + "description": "IPBlock defines policy on a particular IPBlock", + "$ref": "#/definitions/v1.IPBlock" }, - "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", - "type": "string", - "format": "int-or-string" + "namespaceSelector": { + "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "podSelector": { + "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "$ref": "#/definitions/v1.LabelSelector" } } }, - "v1.APIResource": { - "description": "APIResource specifies the name of a resource and whether it is namespaced.", + "v1beta1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "required": [ - "name", - "namespaced", - "kind", - "verbs" + "plural", + "kind" ], "properties": { "kind": { - "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", + "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", "type": "string" }, - "name": { - "description": "name is the name of the resource.", + "listKind": { + "description": "ListKind is the serialized kind of the list for this resource. Defaults to List.", "type": "string" }, - "namespaced": { - "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "plural": { + "description": "Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase.", + "type": "string" }, "shortNames": { - "description": "shortNames is a list of suggested short names of the resource.", + "description": "ShortNames are short names for the resource. It must be all lowercase.", "type": "array", "items": { "type": "string" } }, - "verbs": { - "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + "singular": { + "description": "Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased ", + "type": "string" + } + } + }, + "v2beta1.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "required": [ + "currentReplicas", + "desiredReplicas", + "currentMetrics", + "conditions" + ], + "properties": { + "conditions": { + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerCondition" } + }, + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta1.MetricStatus" + } + }, + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", + "type": "string", + "format": "date-time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" } } }, - "v1.Lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "v1.SelfSubjectRulesReviewSpec": { "properties": { - "postStart": { - "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details", - "$ref": "#/definitions/v1.Handler" - }, - "preStop": { - "description": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details", - "$ref": "#/definitions/v1.Handler" + "namespace": { + "description": "Namespace to evaluate rules for. Required.", + "type": "string" } } }, - "v1.AzureDiskVolumeSource": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "v1.LimitRangeList": { + "description": "LimitRangeList is a list of LimitRange items.", "required": [ - "diskName", - "diskURI" + "items" ], "properties": { - "cachingMode": { - "description": "Host Caching mode: None, Read Only, Read Write.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "diskName": { - "description": "The Name of the data disk in the blob storage", - "type": "string" + "items": { + "description": "Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LimitRange" + } }, - "diskURI": { - "description": "The URI the data disk in the blob storage", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "LimitRangeList", + "version": "v1" + } + ] + }, + "v1.PodAffinity": { + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.WeightedPodAffinityTerm" + } }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodAffinityTerm" + } } } }, - "v1beta1.StatefulSet": { - "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "v1beta2.DaemonSet": { + "description": "DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec defines the desired identities of pods in this set.", - "$ref": "#/definitions/v1beta1.StatefulSetSpec" + "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta2.DaemonSetSpec" }, "status": { - "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", - "$ref": "#/definitions/v1beta1.StatefulSetStatus" + "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta2.DaemonSetStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "apps", - "Version": "v1beta1", - "Kind": "StatefulSet" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } ] }, - "v1beta1.APIVersion": { - "description": "An APIVersion represents a single concrete version of an object model.", - "properties": { - "name": { - "description": "Name of this version (e.g. 'v1').", - "type": "string" - } - } - }, - "v1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "v1.NetworkPolicySpec": { + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", + "required": [ + "podSelector" + ], "properties": { - "extra": { - "description": "Any additional information provided by the authenticator.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } + "egress": { + "description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyEgressRule" } }, - "groups": { - "description": "The names of groups this user is a part of.", + "ingress": { + "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.NetworkPolicyIngressRule" } }, - "uid": { - "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", - "type": "string" + "podSelector": { + "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", + "$ref": "#/definitions/v1.LabelSelector" }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", - "type": "string" + "policyTypes": { + "description": "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.ServiceSpec": { - "description": "ServiceSpec describes the attributes that a user creates on a service.", + "v1.APIGroupList": { + "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", + "required": [ + "groups" + ], "properties": { - "clusterIP": { - "description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "deprecatedPublicIPs": { - "description": "deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.", + "groups": { + "description": "groups is a list of APIGroup.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.APIGroup" } }, - "externalIPs": { - "description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field.", - "type": "array", - "items": { - "type": "string" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIGroupList", + "version": "v1" + } + ] + }, + "v1.EnvFromSource": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "$ref": "#/definitions/v1.ConfigMapEnvSource" }, - "externalName": { - "description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.", + "prefix": { + "description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, - "loadBalancerIP": { - "description": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.", + "secretRef": { + "description": "The Secret to select from", + "$ref": "#/definitions/v1.SecretEnvSource" + } + } + }, + "v1beta1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "template", + "serviceName" + ], + "properties": { + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", "type": "string" }, - "loadBalancerSourceRanges": { - "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls", - "type": "array", - "items": { - "type": "string" - } + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" }, - "ports": { - "description": "The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ServicePort" - } + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" }, "selector": { - "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" }, - "sessionAffinity": { - "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", "type": "string" }, - "type": { - "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview", - "type": "string" + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } } } }, - "extensions.v1beta1.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "v1.Service": { + "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata.", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Specification of the desired behavior of the Deployment.", - "$ref": "#/definitions/extensions.v1beta1.DeploymentSpec" + "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ServiceSpec" }, "status": { - "description": "Most recently observed status of the Deployment.", - "$ref": "#/definitions/extensions.v1beta1.DeploymentStatus" + "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ServiceStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "Deployment" + "group": "", + "kind": "Service", + "version": "v1" } ] }, - "v1.DeleteOptions": { - "description": "DeleteOptions may be provided when deleting an API object.", + "v1beta1.CertificateSigningRequestList": { + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "gracePeriodSeconds": { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", - "format": "int64" + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "orphanDependents": { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" - }, - "preconditions": { - "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", - "$ref": "#/definitions/v1.Preconditions" - }, - "propagationPolicy": { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequestList", + "version": "v1beta1" + } + ] }, - "v1.ConfigMapList": { - "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "v1.ObjectFieldSelector": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "required": [ - "items" + "fieldPath" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", "type": "string" }, - "items": { - "description": "Items is the list of ConfigMaps.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ConfigMap" - } + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + } + }, + "v1beta1.StatefulSet": { + "description": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired identities of pods in this set.", + "$ref": "#/definitions/v1beta1.StatefulSetSpec" + }, + "status": { + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", + "$ref": "#/definitions/v1beta1.StatefulSetStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ConfigMapList" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } ] }, - "v1.JobSpec": { - "description": "JobSpec describes how the job execution will look like.", + "v1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelectorRequirement" + } + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "required": [ - "template" + "volumeID" ], "properties": { - "activeDeadlineSeconds": { - "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", - "format": "int64" + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" }, - "completions": { - "description": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs", + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", "type": "integer", "format": "int32" }, - "manualSelector": { - "description": "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md", + "readOnly": { + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "type": "boolean" }, - "parallelism": { - "description": "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs", - "type": "integer", - "format": "int32" + "volumeID": { + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "v1beta1.PodSecurityPolicy": { + "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "selector": { - "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "template": { - "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", - "$ref": "#/definitions/v1.PodTemplateSpec" + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/v1beta1.PodSecurityPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] + }, + "v1beta1.NonResourceAttributes": { + "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", + "properties": { + "path": { + "description": "Path is the URL path of the request", + "type": "string" + }, + "verb": { + "description": "Verb is the standard HTTP verb", + "type": "string" } } }, - "apps.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "v1.JobCondition": { + "description": "JobCondition describes current state of a job.", "required": [ "type", "status" ], "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", + "lastProbeTime": { + "description": "Last time the condition was checked.", "type": "string", "format": "date-time" }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", + "lastTransitionTime": { + "description": "Last time the condition transit from one status to another.", "type": "string", "format": "date-time" }, "message": { - "description": "A human readable message indicating details about the transition.", + "description": "Human readable message indicating details about last transition.", "type": "string" }, "reason": { - "description": "The reason for the condition's last transition.", + "description": "(brief) reason for the condition's last transition.", "type": "string" }, "status": { @@ -34261,186 +58753,258 @@ "type": "string" }, "type": { - "description": "Type of deployment condition.", + "description": "Type of job condition, Complete or Failed.", "type": "string" } } }, - "v1.ContainerStateWaiting": { - "description": "ContainerStateWaiting is a waiting state of a container.", + "v1beta1.NetworkPolicyPeer": { "properties": { - "message": { - "description": "Message regarding why the container is not yet running.", - "type": "string" + "ipBlock": { + "description": "IPBlock defines policy on a particular IPBlock", + "$ref": "#/definitions/v1beta1.IPBlock" }, - "reason": { - "description": "(brief) reason the container is not yet running.", - "type": "string" + "namespaceSelector": { + "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "podSelector": { + "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "$ref": "#/definitions/v1.LabelSelector" } } }, - "v1alpha1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "v1.ReplicationControllerCondition": { + "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "required": [ - "rules" + "type", + "status" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "lastTransitionTime": { + "description": "The last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "message": { + "description": "A human readable message indicating details about the transition.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.PolicyRule" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "ClusterRole" - } - ] - }, - "v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "reason": { + "description": "The reason for the condition's last transition.", "type": "string" - } - } - }, - "v1.ConfigMapProjection": { - "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", - "properties": { - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.KeyToPath" - } }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "status": { + "description": "Status of the condition, one of True, False, Unknown.", "type": "string" }, - "optional": { - "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": { + "description": "Type of replication controller condition.", + "type": "string" } } }, - "v1.EndpointsList": { - "description": "EndpointsList is a list of endpoints.", + "v1alpha1.PodPresetList": { + "description": "PodPresetList is a list of PodPreset objects.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of endpoints.", + "description": "Items is a list of schema objects.", "type": "array", "items": { - "$ref": "#/definitions/v1.Endpoints" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "EndpointsList" + "group": "settings.k8s.io", + "kind": "PodPresetList", + "version": "v1alpha1" } ] }, - "v2alpha1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", + "v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { - "active": { - "description": "Active holds pointers to currently running jobs.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ObjectReference" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaSpec" + }, + "status": { + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + ] + }, + "v1.LimitRangeItem": { + "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", + "properties": { + "default": { + "description": "Default resource requirement limit value by resource name if resource limit is omitted.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "lastScheduleTime": { - "description": "LastScheduleTime keeps information of when was the last time the job was successfully scheduled.", - "type": "string", - "format": "date-time" + "defaultRequest": { + "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "max": { + "description": "Max usage constraints on this kind by resource name.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "maxLimitRequestRatio": { + "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "min": { + "description": "Min usage constraints on this kind by resource name.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "description": "Type of resource that this limit applies to.", + "type": "string" } } }, - "v1.DownwardAPIProjection": { - "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", + "v1.ConfigMapVolumeSource": { + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, "items": { - "description": "Items is a list of DownwardAPIVolume file", + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "type": "array", "items": { - "$ref": "#/definitions/v1.DownwardAPIVolumeFile" + "$ref": "#/definitions/v1.KeyToPath" } + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or it's keys must be defined", + "type": "boolean" } } }, - "v1alpha1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "v1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", "required": [ - "verbs" + "cidr" ], "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "cidr": { + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "type": "string" + }, + "except": { + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", "type": "array", "items": { "type": "string" } + } + } + }, + "v1.FCVolumeSource": { + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "Optional: FC target lun number", + "type": "integer", + "format": "int32" }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "Optional: FC target worldwide names (WWNs)", "type": "array", "items": { "type": "string" } }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "wwids": { + "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", "type": "array", "items": { "type": "string" } - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + } + } + }, + "v1.NonResourceRule": { + "description": "NonResourceRule holds information that describes a rule for the non-resource", + "required": [ + "verbs" + ], + "properties": { + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", "type": "array", "items": { "type": "string" } }, "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", "type": "array", "items": { "type": "string" @@ -34448,717 +59012,704 @@ } } }, - "v2alpha1.ResourceMetricStatus": { - "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "v1beta1.CustomResourceDefinitionStatus": { + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ - "name", - "currentAverageValue" + "conditions", + "acceptedNames" ], "properties": { - "currentAverageUtilization": { - "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", - "format": "int32" + "acceptedNames": { + "description": "AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec.", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames" }, - "currentAverageValue": { - "description": "currentAverageValue is the the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification.", - "type": "string" - }, - "name": { - "description": "name is the name of the resource in question.", - "type": "string" + "conditions": { + "description": "Conditions indicate state for particular aspects of a CustomResourceDefinition", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionCondition" + } } } }, - "v1.QuobyteVolumeSource": { - "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "v2beta1.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", "required": [ - "registry", - "volume" + "type" ], "properties": { - "group": { - "description": "Group to map volume access to Default is no group", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" - }, - "registry": { - "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", - "type": "string" - }, - "user": { - "description": "User to map volume access to Defaults to serivceaccount user", - "type": "string" + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta1.ObjectMetricSource" }, - "volume": { - "description": "Volume is a string that references an already created Quobyte volume by name.", - "type": "string" - } - } - }, - "v1.SELinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta1.PodsMetricSource" }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta1.ResourceMetricSource" }, "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", + "description": "type is the type of metric source. It should match one of the fields below.", "type": "string" } } }, - "v1.HorizontalPodAutoscaler": { - "description": "configuration of a horizontal pod autoscaler.", + "v1beta1.APIServiceList": { + "description": "APIServiceList is a list of APIService objects.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", - "$ref": "#/definitions/v1.HorizontalPodAutoscalerSpec" - }, - "status": { - "description": "current information about the autoscaler.", - "$ref": "#/definitions/v1.HorizontalPodAutoscalerStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "autoscaling", - "Version": "v1", - "Kind": "HorizontalPodAutoscaler" + "$ref": "#/definitions/v1.ListMeta" } - ] + } }, - "v1beta1.ThirdPartyResource": { - "description": "A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.", + "v1.ContainerStateRunning": { + "description": "ContainerStateRunning is a running state of a container.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "description": { - "description": "Description is the description of this object.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "versions": { - "description": "Versions are versions for this third party object", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.APIVersion" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "ThirdPartyResource" + "startedAt": { + "description": "Time at which the container was last (re-)started", + "type": "string", + "format": "date-time" } - ] + } }, - "v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "apps.v1beta1.ScaleStatus": { + "description": "ScaleStatus represents the current status of a scale subresource.", "required": [ - "rule" + "replicas" ], "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" + "replicas": { + "description": "actual number of observed instances of the scaled object.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "targetSelector": { + "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "type": "string" } } }, - "v1.ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", + "v1beta1.HostPortRange": { + "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "required": [ + "min", + "max" + ], "properties": { - "limits": { - "description": "Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/", - "type": "object", - "additionalProperties": { - "type": "string" - } + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" }, - "requests": { - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/", - "type": "object", - "additionalProperties": { - "type": "string" - } + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" } } }, - "v1.PersistentVolume": { - "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", + "v1.HorizontalPodAutoscalerSpec": { + "description": "specification of a horizontal pod autoscaler.", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "maxReplicas": { + "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", + "type": "integer", + "format": "int32" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "minReplicas": { + "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", + "type": "integer", + "format": "int32" }, - "spec": { - "description": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes", - "$ref": "#/definitions/v1.PersistentVolumeSpec" + "scaleTargetRef": { + "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.", + "$ref": "#/definitions/v1.CrossVersionObjectReference" }, - "status": { - "description": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes", - "$ref": "#/definitions/v1.PersistentVolumeStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "PersistentVolume" + "targetCPUUtilizationPercentage": { + "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", + "type": "integer", + "format": "int32" } - ] + } }, - "v1.APIResourceList": { - "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", + "v1alpha1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", "required": [ - "groupVersion", - "resources" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "groupVersion": { - "description": "groupVersion is the group and version this APIResourceList is for.", - "type": "string" + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "resources": { - "description": "resources contains the name of the resources and if they are namespaced.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.APIResource" - } + "metadata": { + "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1alpha1" + } + ] }, - "v1.ScaleIOVolumeSource": { - "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "v1beta1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ - "gateway", - "system", - "secretRef" + "group", + "version", + "names", + "scope" ], "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "gateway": { - "description": "The host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "The name of the Protection Domain for the configured storage (defaults to \"default\").", + "group": { + "description": "Group is the group this resource belongs in", "type": "string" }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", - "$ref": "#/definitions/v1.LocalObjectReference" - }, - "sslEnabled": { - "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" - }, - "storageMode": { - "description": "Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\").", - "type": "string" + "names": { + "description": "Names are the names used to describe this custom resource", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames" }, - "storagePool": { - "description": "The Storage Pool associated with the protection domain (defaults to \"default\").", + "scope": { + "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", "type": "string" }, - "system": { - "description": "The name of the storage system as configured in ScaleIO.", - "type": "string" + "validation": { + "description": "Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.", + "$ref": "#/definitions/v1beta1.CustomResourceValidation" }, - "volumeName": { - "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", + "version": { + "description": "Version is the version this resource belongs in", "type": "string" } } }, - "v1.DaemonEndpoint": { - "description": "DaemonEndpoint contains information about a single Daemon endpoint.", - "required": [ - "Port" - ], - "properties": { - "Port": { - "description": "Port number of the given endpoint.", - "type": "integer", - "format": "int32" - } - } - }, - "v2alpha1.MetricSpec": { - "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", - "required": [ - "type" - ], + "v1beta2.DeploymentStrategy": { + "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { - "object": { - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", - "$ref": "#/definitions/v2alpha1.ObjectMetricSource" - }, - "pods": { - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", - "$ref": "#/definitions/v2alpha1.PodsMetricSource" - }, - "resource": { - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "$ref": "#/definitions/v2alpha1.ResourceMetricSource" + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", + "$ref": "#/definitions/v1beta2.RollingUpdateDeployment" }, "type": { - "description": "type is the type of metric source. It should match one of the fields below.", + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", "type": "string" } } }, - "v1.ReplicationControllerList": { - "description": "ReplicationControllerList is a collection of replication controllers.", + "v1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller", + "description": "Items is a list of RoleBindings", "type": "array", "items": { - "$ref": "#/definitions/v1.ReplicationController" + "$ref": "#/definitions/v1.RoleBinding" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ReplicationControllerList" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1" } ] }, - "v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "v1.SecretEnvSource": { + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + } + }, + "v1.NodeSpec": { + "description": "NodeSpec describes the attributes that a node is created with.", + "properties": { + "configSource": { + "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "externalID": { + "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "type": "string" + }, + "podCIDR": { + "description": "PodCIDR represents the pod IP range assigned to the node.", + "type": "string" + }, + "providerID": { + "description": "ID of the node assigned by the cloud provider in the format: ://", + "type": "string" + }, + "taints": { + "description": "If specified, the node's taints.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.Taint" } }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" + "unschedulable": { + "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", + "type": "boolean" } } }, - "extensions.v1beta1.ScaleSpec": { - "description": "describes the attributes of a scale subresource", + "v1.VolumeProjection": { + "description": "Projection that may be projected along with other supported volume types", "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "type": "integer", - "format": "int32" + "configMap": { + "description": "information about the configMap data to project", + "$ref": "#/definitions/v1.ConfigMapProjection" + }, + "downwardAPI": { + "description": "information about the downwardAPI data to project", + "$ref": "#/definitions/v1.DownwardAPIProjection" + }, + "secret": { + "description": "information about the secret data to project", + "$ref": "#/definitions/v1.SecretProjection" } } }, - "v2alpha1.ObjectMetricSource": { - "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "v1beta2.DaemonSetStatus": { + "description": "DaemonSetStatus represents the current status of a daemon set.", "required": [ - "target", - "metricName", - "targetValue" + "currentNumberScheduled", + "numberMisscheduled", + "desiredNumberScheduled", + "numberReady" ], "properties": { - "metricName": { - "description": "metricName is the name of the metric in question.", - "type": "string" + "collisionCount": { + "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", + "type": "integer", + "format": "int32" }, - "target": { - "description": "target is the described Kubernetes object.", - "$ref": "#/definitions/v2alpha1.CrossVersionObjectReference" + "currentNumberScheduled": { + "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" }, - "targetValue": { - "description": "targetValue is the target value of the metric (as a quantity).", - "type": "string" + "desiredNumberScheduled": { + "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberAvailable": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "numberMisscheduled": { + "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberReady": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", + "type": "integer", + "format": "int32" + }, + "numberUnavailable": { + "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "The most recent generation observed by the daemon set controller.", + "type": "integer", + "format": "int64" + }, + "updatedNumberScheduled": { + "description": "The total number of nodes that are running updated daemon pod", + "type": "integer", + "format": "int32" } } }, - "v1.FlockerVolumeSource": { - "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "v1.NodeSelector": { + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", + "required": [ + "nodeSelectorTerms" + ], "properties": { - "datasetName": { - "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", - "type": "string" - }, - "datasetUUID": { - "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", - "type": "string" + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeSelectorTerm" + } } } }, - "v1.HorizontalPodAutoscalerStatus": { - "description": "current status of a horizontal pod autoscaler", + "v1.PreferredSchedulingTerm": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "required": [ - "currentReplicas", - "desiredReplicas" + "weight", + "preference" ], "properties": { - "currentCPUUtilizationPercentage": { - "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", - "format": "int32" + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "$ref": "#/definitions/v1.NodeSelectorTerm" }, - "currentReplicas": { - "description": "current number of replicas of pods managed by this autoscaler.", + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", "type": "integer", "format": "int32" + } + } + }, + "v1beta1.RunAsUserStrategyOptions": { + "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "Ranges are the allowed ranges of uids that may be used.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + } + }, + "rule": { + "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "type": "string" + } + } + }, + "v1.KeyToPath": { + "description": "Maps a string key to a path within a volume.", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "The key to project.", + "type": "string" }, - "desiredReplicas": { - "description": "desired number of replicas of pods managed by this autoscaler.", + "mode": { + "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer", "format": "int32" }, - "lastScaleTime": { - "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", - "type": "string", - "format": "date-time" - }, - "observedGeneration": { - "description": "most recent generation observed by this autoscaler.", - "type": "integer", - "format": "int64" + "path": { + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" } } }, - "v1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "v1.LocalVolumeSource": { + "description": "Local represents directly-attached storage with node affinity", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "type": "string" + } + } + }, + "v1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "required": [ "kind", "name" ], "properties": { - "apiVersion": { - "description": "API version of the referent", + "apiGroup": { + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", "type": "string" }, "kind": { - "description": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"", + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", "type": "string" }, "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", "type": "string" } } }, - "apps.v1beta1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "v2alpha1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "required": [ + "schedule", + "jobTemplate" + ], "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.", + "type": "string" + }, + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "type": "integer", "format": "int32" }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "type": "array", - "items": { - "$ref": "#/definitions/apps.v1beta1.DeploymentCondition" - } - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "type": "integer", - "format": "int64" + "jobTemplate": { + "description": "Specifies the job that will be created when executing a CronJob.", + "$ref": "#/definitions/v2alpha1.JobTemplateSpec" }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", - "format": "int32" + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "type": "string" }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", "type": "integer", - "format": "int32" + "format": "int64" }, - "unavailableReplicas": { - "description": "Total number of unavailable pods targeted by this deployment.", + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", "type": "integer", "format": "int32" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", - "format": "int32" + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } } }, - "v1beta1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", - "required": [ - "items" - ], + "v1beta1.SelfSubjectRulesReviewSpec": { "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "namespace": { + "description": "Namespace to evaluate rules for. Required.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "policy", - "Version": "v1beta1", - "Kind": "PodDisruptionBudgetList" } - ] + } }, - "extensions.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "v1.PersistentVolumeStatus": { + "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { - "rollingUpdate": { - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", - "$ref": "#/definitions/extensions.v1beta1.RollingUpdateDeployment" + "message": { + "description": "A human-readable message indicating details about why the volume is in this state.", + "type": "string" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "phase": { + "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", + "type": "string" + }, + "reason": { + "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", "type": "string" } } }, - "v1.ContainerStatus": { - "description": "ContainerStatus contains details for the current status of this container.", + "v1.ContainerPort": { + "description": "ContainerPort represents a network port in a single container.", "required": [ - "name", - "ready", - "restartCount", - "image", - "imageID" + "containerPort" ], "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information", - "type": "string" - }, - "image": { - "description": "The image the container is running. More info: http://kubernetes.io/docs/user-guide/images", - "type": "string" + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" }, - "imageID": { - "description": "ImageID of the container's image.", + "hostIP": { + "description": "What host IP to bind the external port to.", "type": "string" }, - "lastState": { - "description": "Details about the container's last termination condition.", - "$ref": "#/definitions/v1.ContainerState" + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "type": "integer", + "format": "int32" }, "name": { - "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", "type": "string" }, - "ready": { - "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" - }, - "restartCount": { - "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", - "format": "int32" - }, - "state": { - "description": "Details about the container's current condition.", - "$ref": "#/definitions/v1.ContainerState" + "protocol": { + "description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", + "type": "string" } } }, - "v2alpha1.ResourceMetricSource": { - "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "v1beta1.HTTPIngressRuleValue": { + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", "required": [ - "name" + "paths" ], "properties": { - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - }, - "targetAverageUtilization": { - "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", - "format": "int32" - }, - "targetAverageValue": { - "description": "targetAverageValue is the the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.", - "type": "string" + "paths": { + "description": "A collection of paths that map requests to backends.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.HTTPIngressPath" + } } } }, - "v1.ComponentStatus": { - "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", + "v1beta1.NetworkPolicySpec": { + "required": [ + "podSelector" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "egress": { + "description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NetworkPolicyEgressRule" + } }, - "conditions": { - "description": "List of component conditions observed", + "ingress": { + "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default).", "type": "array", "items": { - "$ref": "#/definitions/v1.ComponentCondition" + "$ref": "#/definitions/v1beta1.NetworkPolicyIngressRule" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "podSelector": { + "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", + "$ref": "#/definitions/v1.LabelSelector" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "ComponentStatus" + "policyTypes": { + "description": "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", + "type": "array", + "items": { + "type": "string" + } } - ] + } }, - "v1.WeightedPodAffinityTerm": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "v1beta2.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", "required": [ - "weight", - "podAffinityTerm" + "template" ], "properties": { - "podAffinityTerm": { - "description": "Required. A pod affinity term, associated with the corresponding weight.", - "$ref": "#/definitions/v1.PodAffinityTerm" + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", "type": "integer", "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1beta2.DaemonSetUpdateStrategy" } } }, - "v1beta1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "v1alpha1.ExternalAdmissionHookConfigurationList": { + "description": "ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration.", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of ExternalAdmissionHookConfiguration.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "authorization.k8s.io", - "Version": "v1beta1", - "Kind": "SubjectAccessReview" + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfigurationList", + "version": "v1alpha1" } ] }, - "v1beta1.UserInfo": { + "v1.UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { "extra": { @@ -35188,1431 +59739,1343 @@ } } }, - "v1.PersistentVolumeList": { - "description": "PersistentVolumeList is a list of PersistentVolume items.", - "required": [ - "items" - ], + "v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PersistentVolume" + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "PersistentVolumeList" - } - ] - }, - "v1.ServerAddressByClientCIDR": { - "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", - "required": [ - "clientCIDR", - "serverAddress" - ], - "properties": { - "clientCIDR": { - "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", - "type": "string" - }, - "serverAddress": { - "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", - "type": "string" + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", - "required": [ - "rules" - ], + "v1beta1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" + "extra": { + "description": "Any additional information provided by the authenticator.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", + "groups": { + "description": "The names of groups this user is a part of.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.PolicyRule" + "type": "string" } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "Role" - } - ] - }, - "v1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource.", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "type": "integer", - "format": "int32" - } - } - }, - "v1.StatusCause": { - "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", - "properties": { - "field": { - "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", - "type": "string" }, - "message": { - "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", + "uid": { + "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", "type": "string" }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "username": { + "description": "The name that uniquely identifies this user among all active users.", "type": "string" } } }, - "v1beta1.DaemonSet": { - "description": "DaemonSet represents the configuration of a daemon set.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "The desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.DaemonSetSpec" - }, - "status": { - "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.DaemonSetStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "DaemonSet" - } - ] - }, - "extensions.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "v1.PersistentVolumeClaimCondition": { + "description": "PersistentVolumeClaimCondition contails details about state of pvc", "required": [ - "template" + "type", + "status" ], "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", - "format": "int32" - }, - "paused": { - "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" - }, - "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", - "type": "integer", - "format": "int32" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", - "format": "int32" - }, - "rollbackTo": { - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done.", - "$ref": "#/definitions/extensions.v1beta1.RollbackConfig" - }, - "selector": { - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/v1.LabelSelector" + "lastProbeTime": { + "description": "Last time we probed the condition.", + "type": "string", + "format": "date-time" }, - "strategy": { - "description": "The deployment strategy to use to replace existing pods with new ones.", - "$ref": "#/definitions/extensions.v1beta1.DeploymentStrategy" + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" }, - "template": { - "description": "Template describes the pods that will be created.", - "$ref": "#/definitions/v1.PodTemplateSpec" - } - } - }, - "v1beta1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", - "properties": { - "path": { - "description": "Path is the URL path of the request", + "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, - "verb": { - "description": "Verb is the standard HTTP verb", + "reason": { + "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.", "type": "string" - } - } - }, - "v1.PodSecurityContext": { - "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", - "properties": { - "fsGroup": { - "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", - "format": "int64" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", - "format": "int64" - }, - "seLinuxOptions": { - "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "$ref": "#/definitions/v1.SELinuxOptions" }, - "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", - "type": "array", - "items": { - "type": "integer", - "format": "int64" - } + "status": { + "type": "string" + }, + "type": { + "type": "string" } } }, - "v1.ComponentStatusList": { - "description": "Status of all the conditions for the component as a list of ComponentStatus objects.", + "v1beta2.ControllerRevisionList": { + "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of ComponentStatus objects.", + "description": "Items is the list of ControllerRevisions", "type": "array", "items": { - "$ref": "#/definitions/v1.ComponentStatus" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ComponentStatusList" + "group": "apps", + "kind": "ControllerRevisionList", + "version": "v1beta2" } ] }, - "v1alpha1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", - "required": [ - "kind", - "name" - ], + "v1beta1.StatefulSetUpdateStrategy": { + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "properties": { - "apiVersion": { - "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.", - "type": "string" - }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", - "type": "string" - }, - "name": { - "description": "Name of the object being referenced.", - "type": "string" + "rollingUpdate": { + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.", + "$ref": "#/definitions/v1beta1.RollingUpdateStatefulSetStrategy" }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": { + "description": "Type indicates the type of the StatefulSetUpdateStrategy.", "type": "string" } } }, - "v1.LabelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LabelSelectorRequirement" - } - }, - "matchLabels": { - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "v1beta1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", + "extensions.v1beta1.Scale": { + "description": "represents a scaling request for a resource.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.IngressSpec" + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/extensions.v1beta1.ScaleSpec" }, "status": { - "description": "Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.IngressStatus" + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.", + "$ref": "#/definitions/extensions.v1beta1.ScaleStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "Ingress" + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" } ] }, - "v1.NodeAddress": { - "description": "NodeAddress contains information for the node's address.", - "required": [ - "type", - "address" - ], + "v1beta1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { - "address": { - "description": "The node address.", + "description": { "type": "string" }, - "type": { - "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", + "url": { "type": "string" } } }, - "extensions.v1beta1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "v1beta1.DaemonSetStatus": { + "description": "DaemonSetStatus represents the current status of a daemon set.", + "required": [ + "currentNumberScheduled", + "numberMisscheduled", + "desiredNumberScheduled", + "numberReady" + ], "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "collisionCount": { + "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "type": "integer", "format": "int32" }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "type": "array", - "items": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentCondition" - } + "currentNumberScheduled": { + "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", + "desiredNumberScheduled": { + "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", "type": "integer", - "format": "int64" + "format": "int32" }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", + "numberAvailable": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", "type": "integer", "format": "int32" }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "numberMisscheduled": { + "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", "type": "integer", "format": "int32" }, - "unavailableReplicas": { - "description": "Total number of unavailable pods targeted by this deployment.", + "numberReady": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", "type": "integer", "format": "int32" }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "numberUnavailable": { + "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "The most recent generation observed by the daemon set controller.", + "type": "integer", + "format": "int64" + }, + "updatedNumberScheduled": { + "description": "The total number of nodes that are running updated daemon pod", "type": "integer", "format": "int32" } } }, - "v1.EnvVar": { - "description": "EnvVar represents an environment variable present in a Container.", + "v1alpha1.InitializerConfiguration": { + "description": "InitializerConfiguration describes the configuration of initializers.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "initializers": { + "description": "Initializers is a list of resources and their default initializers Order-sensitive. When merging multiple InitializerConfigurations, we sort the initializers from different InitializerConfigurations by the name of the InitializerConfigurations; the order of the initializers from the same InitializerConfiguration is preserved.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.Initializer" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" + } + ] + }, + "v1.SelfSubjectAccessReview": { + "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", "required": [ - "name" + "spec" ], "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "valueFrom": { - "description": "Source for the environment variable's value. Cannot be used if value is not empty.", - "$ref": "#/definitions/v1.EnvVarSource" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated. user and groups must be empty", + "$ref": "#/definitions/v1.SelfSubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + } + ] + }, + "v1.LoadBalancerStatus": { + "description": "LoadBalancerStatus represents the status of a load-balancer.", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LoadBalancerIngress" + } } } }, - "v1.AWSElasticBlockStoreVolumeSource": { - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "v1.Initializer": { + "description": "Initializer is information about an initializer that has not yet completed.", "required": [ - "volumeID" + "name" ], "properties": { - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "name": { + "description": "name of the process that is responsible for initializing this object.", "type": "string" + } + } + }, + "v1.HorizontalPodAutoscalerStatus": { + "description": "current status of a horizontal pod autoscaler", + "required": [ + "currentReplicas", + "desiredReplicas" + ], + "properties": { + "currentCPUUtilizationPercentage": { + "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", + "type": "integer", + "format": "int32" }, - "partition": { - "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "currentReplicas": { + "description": "current number of replicas of pods managed by this autoscaler.", "type": "integer", "format": "int32" }, - "readOnly": { - "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", - "type": "boolean" + "desiredReplicas": { + "description": "desired number of replicas of pods managed by this autoscaler.", + "type": "integer", + "format": "int32" }, - "volumeID": { - "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", - "type": "string" + "lastScaleTime": { + "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", + "type": "string", + "format": "date-time" + }, + "observedGeneration": { + "description": "most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" } } }, - "v1.NFSVolumeSource": { - "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", - "required": [ - "server", - "path" - ], + "v1.SELinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", "properties": { - "path": { - "description": "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "level": { + "description": "Level is SELinux level label that applies to the container.", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", - "type": "boolean" + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" }, - "server": { - "description": "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", "type": "string" } } }, - "v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", - "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" - ], + "v1beta1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", "properties": { - "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", - "type": "array", - "items": { - "type": "string" - } - }, - "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", + "active": { + "description": "A list of pointers to currently running jobs.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.ObjectReference" } }, - "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.FSGroupStrategyOptions" + "lastScheduleTime": { + "description": "Information when was the last time the job was successfully scheduled.", + "type": "string", + "format": "date-time" + } + } + }, + "v1.ScaleIOVolumeSource": { + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "hostIPC": { - "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "gateway": { + "description": "The host address of the ScaleIO API Gateway.", + "type": "string" }, - "hostNetwork": { - "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "protectionDomain": { + "description": "The name of the Protection Domain for the configured storage (defaults to \"default\").", + "type": "string" }, - "hostPID": { - "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "type": "boolean" }, - "hostPorts": { - "description": "hostPorts determines which host port ranges are allowed to be exposed.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.HostPortRange" - } - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "secretRef": { + "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", + "$ref": "#/definitions/v1.LocalObjectReference" }, - "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "sslEnabled": { + "description": "Flag to enable/disable SSL communication with Gateway, default false", "type": "boolean" }, - "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", - "type": "array", - "items": { - "type": "string" - } - }, - "runAsUser": { - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", - "$ref": "#/definitions/v1beta1.RunAsUserStrategyOptions" - }, - "seLinux": { - "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", - "$ref": "#/definitions/v1beta1.SELinuxStrategyOptions" + "storageMode": { + "description": "Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\").", + "type": "string" }, - "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.SupplementalGroupsStrategyOptions" + "storagePool": { + "description": "The Storage Pool associated with the protection domain (defaults to \"default\").", + "type": "string" }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "v1.ListMeta": { - "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", - "properties": { - "resourceVersion": { - "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", + "system": { + "description": "The name of the storage system as configured in ScaleIO.", "type": "string" }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.", + "volumeName": { + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", "type": "string" } } }, - "v1beta1.ReplicaSetList": { - "description": "ReplicaSetList is a collection of ReplicaSets.", - "required": [ - "items" - ], + "v1beta1.CronJob": { + "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.CronJobSpec" + }, + "status": { + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.CronJobStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "ReplicaSetList" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } ] }, - "v1.ServiceAccountList": { - "description": "ServiceAccountList is a list of ServiceAccount objects", - "required": [ - "items" - ], + "v1.SecretProjection": { + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, "items": { - "description": "List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts", + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "type": "array", "items": { - "$ref": "#/definitions/v1.ServiceAccount" + "$ref": "#/definitions/v1.KeyToPath" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "ServiceAccountList" + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" } - ] + } }, - "v1.HorizontalPodAutoscalerList": { - "description": "list of horizontal pod autoscaler objects.", + "v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", "required": [ - "items" + "port" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", "type": "string" }, - "items": { - "description": "list of horizontal pod autoscaler objects.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" - } + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1.StorageOSPersistentVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "volumeName": { + "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", "type": "string" }, - "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/v1.ListMeta" + "volumeNamespace": { + "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "autoscaling", - "Version": "v1", - "Kind": "HorizontalPodAutoscalerList" + } + }, + "v1beta1.IngressRule": { + "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", + "properties": { + "host": { + "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.", + "type": "string" + }, + "http": { + "$ref": "#/definitions/v1beta1.HTTPIngressRuleValue" } - ] + } }, - "v1.Probe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "v1.PhotonPersistentDiskVolumeSource": { + "description": "Represents a Photon Controller persistent disk resource.", + "required": [ + "pdID" + ], "properties": { - "exec": { - "description": "One and only one of the following should be specified. Exec specifies the action to take.", - "$ref": "#/definitions/v1.ExecAction" + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "pdID": { + "description": "ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "v1beta2.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", "type": "integer", "format": "int32" }, - "httpGet": { - "description": "HTTPGet specifies the http request to perform.", - "$ref": "#/definitions/v1.HTTPGetAction" - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", + "collisionCount": { + "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", "type": "integer", "format": "int32" }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.DeploymentCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "The generation observed by the deployment controller.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "Total number of ready pods targeted by this deployment.", "type": "integer", "format": "int32" }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "replicas": { + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", "type": "integer", "format": "int32" }, - "tcpSocket": { - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", - "$ref": "#/definitions/v1.TCPSocketAction" + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", + "type": "integer", + "format": "int32" }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", "type": "integer", "format": "int32" } } }, - "v1.SecretKeySelector": { - "description": "SecretKeySelector selects a key of a Secret.", + "version.Info": { + "description": "Info contains versioning information. how we'll want to distribute that information.", "required": [ - "key" + "major", + "minor", + "gitVersion", + "gitCommit", + "gitTreeState", + "buildDate", + "goVersion", + "compiler", + "platform" ], "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", + "buildDate": { "type": "string" }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "compiler": { "type": "string" }, - "optional": { - "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "gitCommit": { + "type": "string" + }, + "gitTreeState": { + "type": "string" + }, + "gitVersion": { + "type": "string" + }, + "goVersion": { + "type": "string" + }, + "major": { + "type": "string" + }, + "minor": { + "type": "string" + }, + "platform": { + "type": "string" } } }, - "v1.NamespaceSpec": { - "description": "NamespaceSpec describes the attributes on a Namespace.", + "extensions.v1beta1.RollbackConfig": { + "description": "DEPRECATED.", "properties": { - "finalizers": { - "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers", - "type": "array", - "items": { - "type": "string" - } + "revision": { + "description": "The revision to rollback to. If set to 0, rollback to the last revision.", + "type": "integer", + "format": "int64" } } }, - "v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", - "required": [ - "items" - ], + "v1.ConfigMapEnvSource": { + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "ClusterRoleBindingList" + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" } - ] + } }, - "v1.Volume": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "apps.v1beta1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ - "name" + "type", + "status" ], "properties": { - "awsElasticBlockStore": { - "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", - "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" - }, - "azureDisk": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "$ref": "#/definitions/v1.AzureDiskVolumeSource" - }, - "azureFile": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "$ref": "#/definitions/v1.AzureFileVolumeSource" - }, - "cephfs": { - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/v1.CephFSVolumeSource" - }, - "cinder": { - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/v1.CinderVolumeSource" - }, - "configMap": { - "description": "ConfigMap represents a configMap that should populate this volume", - "$ref": "#/definitions/v1.ConfigMapVolumeSource" - }, - "downwardAPI": { - "description": "DownwardAPI represents downward API about the pod that should populate this volume", - "$ref": "#/definitions/v1.DownwardAPIVolumeSource" - }, - "emptyDir": { - "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", - "$ref": "#/definitions/v1.EmptyDirVolumeSource" - }, - "fc": { - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", - "$ref": "#/definitions/v1.FCVolumeSource" - }, - "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", - "$ref": "#/definitions/v1.FlexVolumeSource" - }, - "flocker": { - "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", - "$ref": "#/definitions/v1.FlockerVolumeSource" - }, - "gcePersistentDisk": { - "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" - }, - "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", - "$ref": "#/definitions/v1.GitRepoVolumeSource" - }, - "glusterfs": { - "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", - "$ref": "#/definitions/v1.GlusterfsVolumeSource" - }, - "hostPath": { - "description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", - "$ref": "#/definitions/v1.HostPathVolumeSource" + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" }, - "iscsi": { - "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md", - "$ref": "#/definitions/v1.ISCSIVolumeSource" + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" }, - "name": { - "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "message": { + "description": "A human readable message indicating details about the transition.", "type": "string" }, - "nfs": { - "description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs", - "$ref": "#/definitions/v1.NFSVolumeSource" - }, - "persistentVolumeClaim": { - "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", - "$ref": "#/definitions/v1.PersistentVolumeClaimVolumeSource" - }, - "photonPersistentDisk": { - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" - }, - "portworxVolume": { - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.PortworxVolumeSource" - }, - "projected": { - "description": "Items for all in one resources secrets, configmaps, and downward API", - "$ref": "#/definitions/v1.ProjectedVolumeSource" - }, - "quobyte": { - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/v1.QuobyteVolumeSource" - }, - "rbd": { - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", - "$ref": "#/definitions/v1.RBDVolumeSource" - }, - "scaleIO": { - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", - "$ref": "#/definitions/v1.ScaleIOVolumeSource" - }, - "secret": { - "description": "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", - "$ref": "#/definitions/v1.SecretVolumeSource" - }, - "vsphereVolume": { - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" - } - } - }, - "v1.ConfigMapKeySelector": { - "description": "Selects a key from a ConfigMap.", - "required": [ - "key" - ], - "properties": { - "key": { - "description": "The key to select.", + "reason": { + "description": "The reason for the condition's last transition.", "type": "string" }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "status": { + "description": "Status of the condition, one of True, False, Unknown.", "type": "string" }, - "optional": { - "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": { + "description": "Type of deployment condition.", + "type": "string" } } }, - "v1beta1.IngressList": { - "description": "IngressList is a collection of Ingress.", - "required": [ - "items" - ], + "v1beta1.Eviction": { + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of Ingress.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Ingress" - } + "deleteOptions": { + "description": "DeleteOptions may be provided", + "$ref": "#/definitions/v1.DeleteOptions" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" + "description": "ObjectMeta describes the pod that is being evicted.", + "$ref": "#/definitions/v1.ObjectMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "IngressList" + "group": "policy", + "kind": "Eviction", + "version": "v1beta1" } ] }, - "v1beta1.ReplicaSet": { - "description": "ReplicaSet represents the configuration of a ReplicaSet.", + "v1.NodeConfigSource": { + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "configMapRef": { + "$ref": "#/definitions/v1.ObjectReference" + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" - }, - "metadata": { - "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.ReplicaSetSpec" - }, - "status": { - "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta1.ReplicaSetStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "ReplicaSet" + "group": "", + "kind": "NodeConfigSource", + "version": "v1" } ] }, - "v2alpha1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", + "v1beta1.LocalSubjectAccessReview": { + "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", + "required": [ + "spec" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v2alpha1.CronJobSpec" + "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" }, "status": { - "description": "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v2alpha1.CronJobStatus" + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "batch", - "Version": "v2alpha1", - "Kind": "CronJob" - }, - { - "Group": "batch", - "Version": "v2alpha1", - "Kind": "ScheduledJob" + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1beta1" } ] }, - "v1.VsphereVirtualDiskVolumeSource": { - "description": "Represents a vSphere volume resource.", + "v1beta1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "required": [ - "volumePath" + "verbs" ], "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "volumePath": { - "description": "Path that identifies vSphere volume vmdk", - "type": "string" - } - } - }, - "v1.Status": { - "description": "Status is a return value for calls that don't return other objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "code": { - "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", - "format": "int32" - }, - "details": { - "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", - "$ref": "#/definitions/v1.StatusDetails" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "type": "array", + "items": { + "type": "string" + } }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { + "type": "string" + } }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "type": "array", + "items": { + "type": "string" + } }, - "reason": { - "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", - "type": "string" + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { + "type": "string" + } }, - "status": { - "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "type": "string" + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.ReplicationControllerStatus": { - "description": "ReplicationControllerStatus represents the current status of a replication controller.", + "v2beta1.ResourceMetricStatus": { + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", "required": [ - "replicas" + "name", + "currentAverageValue" ], "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", - "format": "int32" - }, - "conditions": { - "description": "Represents the latest available observations of a replication controller's current state.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ReplicationControllerCondition" - } - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", + "currentAverageUtilization": { + "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", "type": "integer", "format": "int32" }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", - "format": "int64" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replication controller.", - "type": "integer", - "format": "int32" + "currentAverageValue": { + "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification.", + "type": "string" }, - "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", - "type": "integer", - "format": "int32" - } - } - }, - "v1.LoadBalancerStatus": { - "description": "LoadBalancerStatus represents the status of a load-balancer.", - "properties": { - "ingress": { - "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LoadBalancerIngress" - } + "name": { + "description": "name is the name of the resource in question.", + "type": "string" } } }, - "v1.Binding": { - "description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", + "v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles", "required": [ - "target" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of Roles", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "target": { - "description": "The target object that you want to bind to the standard object.", - "$ref": "#/definitions/v1.ObjectReference" + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Binding" + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" } ] }, - "v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", + "v1.Lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", "properties": { - "configMap": { - "description": "information about the configMap data to project", - "$ref": "#/definitions/v1.ConfigMapProjection" - }, - "downwardAPI": { - "description": "information about the downwardAPI data to project", - "$ref": "#/definitions/v1.DownwardAPIProjection" + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/v1.Handler" }, - "secret": { - "description": "information about the secret data to project", - "$ref": "#/definitions/v1.SecretProjection" - } - } - }, - "v1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", - "properties": { - "token": { - "description": "Token is the opaque bearer token.", - "type": "string" + "preStop": { + "description": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/v1.Handler" } } }, - "v1beta1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "v1.Event": { + "description": "Event is a report of an event somewhere in the cluster.", "required": [ - "kind", - "name" + "metadata", + "involvedObject" ], "properties": { - "apiGroup": { - "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "count": { + "description": "The number of times this event has occurred.", + "type": "integer", + "format": "int32" + }, + "firstTimestamp": { + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "type": "string", + "format": "date-time" + }, + "involvedObject": { + "description": "The object that this event is about.", + "$ref": "#/definitions/v1.ObjectReference" + }, "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "name": { - "description": "Name of the object being referenced.", + "lastTimestamp": { + "description": "The time at which the most recent occurrence of this event was recorded.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human-readable description of the status of this operation.", "type": "string" }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "reason": { + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "type": "string" + }, + "source": { + "description": "The component reporting this event. Should be a short machine understandable string.", + "$ref": "#/definitions/v1.EventSource" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] }, - "v1.NodeList": { - "description": "NodeList is the whole list of all Nodes which have been registered with master.", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of nodes", - "type": "array", - "items": { - "$ref": "#/definitions/v1.Node" - } + "v1.Scale": { + "description": "Scale represents a scaling request for a resource.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v1.ScaleSpec" + }, + "status": { + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.", + "$ref": "#/definitions/v1.ScaleStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "NodeList" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } ] }, - "v1.ContainerPort": { - "description": "ContainerPort represents a network port in a single container.", + "v1.NFSVolumeSource": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "required": [ - "containerPort" + "server", + "path" ], "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", - "format": "int32" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", + "path": { + "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "type": "string" }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", - "format": "int32" + "readOnly": { + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "server": { + "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "type": "string" + } + } + }, + "v1.WatchEvent": { + "description": "Event represents a single event to a watched resource.", + "required": [ + "type", + "object" + ], + "properties": { + "object": { + "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", + "$ref": "#/definitions/runtime.RawExtension" }, - "protocol": { - "description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", + "type": { "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta2" + }, + { + "group": "authentication.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "authentication.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta1" + }, + { + "group": "batch", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "batch", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "batch", + "kind": "WatchEvent", + "version": "v2alpha1" + }, + { + "group": "certificates.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "federation", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "policy", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "settings.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + } + ] }, - "v1.FCVolumeSource": { - "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "v1.GCEPersistentDiskVolumeSource": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", "required": [ - "targetWWNs", - "lun" + "pdName" ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", "type": "string" }, - "lun": { - "description": "Required: FC target lun number", + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", "type": "integer", "format": "int32" }, + "pdName": { + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", "type": "boolean" - }, - "targetWWNs": { - "description": "Required: FC target worldwide names (WWNs)", - "type": "array", - "items": { - "type": "string" - } } } }, - "runtime.RawExtension": { - "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "v1.HTTPGetAction": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", "required": [ - "Raw" + "port" ], "properties": { - "Raw": { - "description": "Raw is the underlying serialization of this object.", + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.HTTPHeader" + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", "type": "string", - "format": "byte" + "format": "int-or-string" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.", + "type": "string" } } }, - "v1alpha1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", - "required": [ - "subjects", - "roleRef" - ], + "v1.Secret": { + "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "data": { + "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "roleRef": { - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", - "$ref": "#/definitions/v1alpha1.RoleRef" - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.Subject" + "stringData": { + "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", + "type": "object", + "additionalProperties": { + "type": "string" } + }, + "type": { + "description": "Used to facilitate programmatic handling of secret data.", + "type": "string" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "ClusterRoleBinding" + "group": "", + "kind": "Secret", + "version": "v1" } ] }, - "version.Info": { - "description": "Info contains versioning information. how we'll want to distribute that information.", - "required": [ - "major", - "minor", - "gitVersion", - "gitCommit", - "gitTreeState", - "buildDate", - "goVersion", - "compiler", - "platform" - ], - "properties": { - "buildDate": { - "type": "string" - }, - "compiler": { - "type": "string" - }, - "gitCommit": { - "type": "string" - }, - "gitTreeState": { - "type": "string" - }, - "gitVersion": { - "type": "string" - }, - "goVersion": { - "type": "string" - }, - "major": { - "type": "string" - }, - "minor": { - "type": "string" - }, - "platform": { - "type": "string" - } - } - }, - "v2alpha1.HorizontalPodAutoscaler": { - "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", + "v1.ReplicationController": { + "description": "ReplicationController represents the configuration of a replication controller.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "metadata is the standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "spec is the specification for the behaviour of the autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscalerSpec" + "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ReplicationControllerSpec" }, "status": { - "description": "status is the current information about the autoscaler.", - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscalerStatus" + "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ReplicationControllerStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "autoscaling", - "Version": "v2alpha1", - "Kind": "HorizontalPodAutoscaler" + "group": "", + "kind": "ReplicationController", + "version": "v1" } ] }, - "v1.ReplicationControllerSpec": { - "description": "ReplicationControllerSpec is the specification of a replication controller.", + "v2beta1.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", + "required": [ + "type" + ], + "properties": { + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta1.ObjectMetricStatus" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta1.PodsMetricStatus" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta1.ResourceMetricStatus" + }, + "type": { + "description": "type is the type of metric source. It will match one of the fields below.", + "type": "string" + } + } + }, + "v1beta1.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", @@ -36620,217 +61083,515 @@ "format": "int32" }, "replicas": { - "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", "type": "integer", "format": "int32" }, "selector": { - "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" }, "template": { - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", "$ref": "#/definitions/v1.PodTemplateSpec" } } }, - "v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", + "v1beta1.NetworkPolicyIngressRule": { + "description": "This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", + "properties": { + "from": { + "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NetworkPolicyPeer" + } + }, + "ports": { + "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NetworkPolicyPort" + } + } + } + }, + "v1beta1.ResourceRule": { + "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ - "port" + "verbs" ], "properties": { - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "type": "string", - "format": "int-or-string" + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } + }, + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "v1beta1.SubjectRulesReviewStatus": { + "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "required": [ - "items" + "resourceRules", + "nonResourceRules", + "incomplete" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "evaluationError": { + "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", "type": "string" }, - "items": { - "description": "Items is a list of Roles", + "incomplete": { + "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", + "type": "boolean" + }, + "nonResourceRules": { + "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "type": "array", "items": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.NonResourceRule" + } + }, + "resourceRules": { + "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ResourceRule" + } + } + } + }, + "v1.FlexVolumeSource": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" } }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/v1.LocalObjectReference" + } + } + }, + "v1beta2.Deployment": { + "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/v1beta2.DeploymentSpec" + }, + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/v1beta2.DeploymentStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "RoleList" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } ] }, - "v1beta1.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", - "required": [ - "items" - ], + "v1.DeleteOptions": { + "description": "DeleteOptions may be provided when deleting an API object.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.StatefulSet" - } + "gracePeriodSeconds": { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "type": "integer", + "format": "int64" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "orphanDependents": { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "type": "boolean" + }, + "preconditions": { + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", + "$ref": "#/definitions/v1.Preconditions" + }, + "propagationPolicy": { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "type": "string" } }, "x-kubernetes-group-version-kind": [ { - "Group": "apps", - "Version": "v1beta1", - "Kind": "StatefulSetList" + "group": "", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta1" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v2alpha1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "federation", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "policy", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "settings.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" } ] }, - "v1.ISCSIVolumeSource": { - "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", - "required": [ - "targetPortal", - "iqn", - "lun" - ], + "v1.NetworkPolicyIngressRule": { + "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", "properties": { - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi", + "from": { + "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPeer" + } + }, + "ports": { + "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPort" + } + } + } + }, + "v1.ServiceSpec": { + "description": "ServiceSpec describes the attributes that a user creates on a service.", + "properties": { + "clusterIP": { + "description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", "type": "string" }, - "iqn": { - "description": "Target iSCSI Qualified Name.", + "externalIPs": { + "description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.", + "type": "array", + "items": { + "type": "string" + } + }, + "externalName": { + "description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.", "type": "string" }, - "iscsiInterface": { - "description": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", + "externalTrafficPolicy": { + "description": "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.", "type": "string" }, - "lun": { - "description": "iSCSI target lun number.", + "healthCheckNodePort": { + "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", "type": "integer", "format": "int32" }, - "portals": { - "description": "iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "loadBalancerIP": { + "description": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.", + "type": "string" + }, + "loadBalancerSourceRanges": { + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/", + "type": "array", + "items": { + "type": "string" + } + }, + "ports": { + "description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", "type": "array", "items": { + "$ref": "#/definitions/v1.ServicePort" + }, + "x-kubernetes-patch-merge-key": "port", + "x-kubernetes-patch-strategy": "merge" + }, + "publishNotReadyAddresses": { + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "type": "boolean" + }, + "selector": { + "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", + "type": "object", + "additionalProperties": { "type": "string" } }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "sessionAffinity": { + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" }, - "targetPortal": { - "description": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "sessionAffinityConfig": { + "description": "sessionAffinityConfig contains the configurations of session affinity.", + "$ref": "#/definitions/v1.SessionAffinityConfig" + }, + "type": { + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types", "type": "string" } } }, - "v1.PodTemplate": { - "description": "PodTemplate describes a template for creating copies of a predefined pod.", + "v1.NamespaceStatus": { + "description": "NamespaceStatus is information about the current status of a Namespace.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "phase": { + "description": "Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases", "type": "string" - }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "template": { - "description": "Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.PodTemplateSpec" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "PodTemplate" } - ] + } }, - "v1.Toleration": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", + "v1beta2.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "required": [ + "replicas" + ], "properties": { - "effect": { - "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", - "type": "string" + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" }, - "key": { - "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", - "type": "string" + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.ReplicaSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "operator": { - "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", - "type": "string" + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" }, - "tolerationSeconds": { - "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", "type": "integer", "format": "int64" }, - "value": { - "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", - "type": "string" + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" } } }, - "v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "v1.Affinity": { + "description": "Affinity is a group of affinity scheduling rules.", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "$ref": "#/definitions/v1.NodeAffinity" + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/v1.PodAffinity" + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/v1.PodAntiAffinity" + } + } + }, + "v1alpha1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoles", + "description": "Items is a list of RoleBindings", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.RoleBinding" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { @@ -36840,1447 +61601,1277 @@ }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "ClusterRoleList" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1alpha1" } ] }, - "extensions.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", - "required": [ - "items" - ], + "v1.TokenReviewStatus": { + "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Deployments.", - "type": "array", - "items": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } + "authenticated": { + "description": "Authenticated indicates that the token was associated with a known user.", + "type": "boolean" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "error": { + "description": "Error indicates that the token couldn't be checked", "type": "string" }, - "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "DeploymentList" + "user": { + "description": "User is the UserInfo associated with the provided token.", + "$ref": "#/definitions/v1.UserInfo" } - ] + } }, - "v1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", + "v1alpha1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "required": [ - "replicas" + "apiGroup", + "kind", + "name" ], "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "type": "integer", - "format": "int32" + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" }, - "selector": { - "description": "label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", "type": "string" } } }, - "v1.ServiceStatus": { - "description": "ServiceStatus represents the current status of a service.", + "v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { - "loadBalancer": { - "description": "LoadBalancer contains the current status of the load-balancer, if one is present.", - "$ref": "#/definitions/v1.LoadBalancerStatus" + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "$ref": "#/definitions/v1.ConfigMapKeySelector" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.", + "$ref": "#/definitions/v1.ObjectFieldSelector" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "$ref": "#/definitions/v1.ResourceFieldSelector" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "$ref": "#/definitions/v1.SecretKeySelector" } } }, - "v1.PodSpec": { - "description": "PodSpec is a description of a pod.", - "required": [ - "containers" - ], + "v1beta1.TokenReviewStatus": { + "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { - "activeDeadlineSeconds": { - "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", - "format": "int64" - }, - "affinity": { - "description": "If specified, the pod's scheduling constraints", - "$ref": "#/definitions/v1.Affinity" - }, - "automountServiceAccountToken": { - "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "authenticated": { + "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" }, - "containers": { - "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers", + "error": { + "description": "Error indicates that the token couldn't be checked", + "type": "string" + }, + "user": { + "description": "User is the UserInfo associated with the provided token.", + "$ref": "#/definitions/v1beta1.UserInfo" + } + } + }, + "v1beta1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", + "properties": { + "conditions": { + "description": "Current service state of apiService.", "type": "array", "items": { - "$ref": "#/definitions/v1.Container" + "$ref": "#/definitions/v1beta1.APIServiceCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "v1.ObjectMeta": { + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "dnsPolicy": { - "description": "Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", + "clusterName": { + "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", "type": "string" }, - "hostIPC": { - "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" - }, - "hostNetwork": { - "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" - }, - "hostPID": { - "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "creationTimestamp": { + "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "type": "string", + "format": "date-time" }, - "hostname": { - "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", - "type": "string" + "deletionGracePeriodSeconds": { + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", + "type": "integer", + "format": "int64" }, - "imagePullSecrets": { - "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LocalObjectReference" - } + "deletionTimestamp": { + "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "type": "string", + "format": "date-time" }, - "initContainers": { - "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers", + "finalizers": { + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.", "type": "array", "items": { - "$ref": "#/definitions/v1.Container" - } + "type": "string" + }, + "x-kubernetes-patch-strategy": "merge" }, - "nodeName": { - "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", + "generateName": { + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency", "type": "string" }, - "nodeSelector": { - "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README", + "generation": { + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", + "type": "integer", + "format": "int64" + }, + "initializers": { + "description": "An initializer is a controller which enforces some system invariant at object creation time. This field is a list of initializers that have not yet acted on this object. If nil or empty, this object has been completely initialized. Otherwise, the object is considered uninitialized and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to observe uninitialized objects.\n\nWhen an object is created, the system will populate this list with the current set of initializers. Only privileged users may set or modify this list. Once it is empty, it may not be modified further by any user.", + "$ref": "#/definitions/v1.Initializers" + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", "type": "object", "additionalProperties": { "type": "string" } }, - "restartPolicy": { - "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy", + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, - "schedulerName": { - "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", + "namespace": { + "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "string" }, - "securityContext": { - "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", - "$ref": "#/definitions/v1.PodSecurityContext" + "ownerReferences": { + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.OwnerReference" + }, + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" }, - "serviceAccount": { - "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", + "resourceVersion": { + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, - "serviceAccountName": { - "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md", + "selfLink": { + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.", "type": "string" }, - "subdomain": { - "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", + "uid": { + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", - "format": "int64" - }, - "tolerations": { - "description": "If specified, the pod's tolerations.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.Toleration" - } - }, - "volumes": { - "description": "List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes", - "type": "array", - "items": { - "$ref": "#/definitions/v1.Volume" - } } } }, - "v1.NamespaceList": { - "description": "NamespaceList is a list of Namespaces.", + "v1beta1.StatefulSetList": { + "description": "StatefulSetList is a collection of StatefulSets.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "array", "items": { - "$ref": "#/definitions/v1.Namespace" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "NamespaceList" + "group": "apps", + "kind": "StatefulSetList", + "version": "v1beta1" } ] }, - "v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", - "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" - ], - "properties": { - "architecture": { - "description": "The Architecture reported by the node", - "type": "string" - }, - "bootID": { - "description": "Boot ID reported by the node.", - "type": "string" - }, - "containerRuntimeVersion": { - "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", - "type": "string" - }, - "kernelVersion": { - "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", - "type": "string" - }, - "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", - "type": "string" - }, - "kubeletVersion": { - "description": "Kubelet Version reported by the node.", - "type": "string" - }, - "machineID": { - "description": "MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", - "type": "string" - }, - "operatingSystem": { - "description": "The Operating System reported by the node", - "type": "string" - }, - "osImage": { - "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", - "type": "string" - }, - "systemUUID": { - "description": "SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", - "type": "string" - } - } - }, - "v1.KeyToPath": { - "description": "Maps a string key to a path within a volume.", + "v1alpha1.Initializer": { + "description": "Initializer describes the name and the failure policy of an initializer, and what resources it applies to.", "required": [ - "key", - "path" + "name" ], "properties": { - "key": { - "description": "The key to project.", + "name": { + "description": "Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \"alwayspullimages\" is the name of the webhook, and kubernetes.io is the name of the organization. Required", "type": "string" }, - "mode": { - "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" - }, - "path": { - "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" + "rules": { + "description": "Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.Rule" + } } } }, - "v1beta1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "apps.v1beta1.Scale": { + "description": "Scale represents a scaling request for a resource.", "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", - "type": "string" - }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" + "metadata": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" + "spec": { + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/apps.v1beta1.ScaleSpec" }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "status": { + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.", + "$ref": "#/definitions/apps.v1beta1.ScaleStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + } + ] }, - "v1.EnvFromSource": { - "description": "EnvFromSource represents the source of a set of ConfigMaps", + "v1.ListMeta": { + "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { - "configMapRef": { - "description": "The ConfigMap to select from", - "$ref": "#/definitions/v1.ConfigMapEnvSource" + "continue": { + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", + "type": "string" }, - "prefix": { - "description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "resourceVersion": { + "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, - "secretRef": { - "description": "The Secret to select from", - "$ref": "#/definitions/v1.SecretEnvSource" + "selfLink": { + "description": "selfLink is a URL representing this object. Populated by the system. Read-only.", + "type": "string" } } }, - "v1beta1.CertificateSigningRequestList": { - "required": [ - "items" - ], + "v2beta1.HorizontalPodAutoscaler": { + "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "certificates.k8s.io", - "Version": "v1beta1", - "Kind": "CertificateSigningRequestList" - } - ] - }, - "v1.JobStatus": { - "description": "JobStatus represents the current state of a Job.", - "properties": { - "active": { - "description": "Active is the number of actively running pods.", - "type": "integer", - "format": "int32" - }, - "completionTime": { - "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "type": "string", - "format": "date-time" - }, - "conditions": { - "description": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", - "type": "array", - "items": { - "$ref": "#/definitions/v1.JobCondition" - } - }, - "failed": { - "description": "Failed is the number of pods which reached Phase Failed.", - "type": "integer", - "format": "int32" - }, - "startTime": { - "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "type": "string", - "format": "date-time" - }, - "succeeded": { - "description": "Succeeded is the number of pods which reached Phase Succeeded.", - "type": "integer", - "format": "int32" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" } - } + ] }, - "v1.EventSource": { - "description": "EventSource contains information for an event.", + "v1.ComponentStatus": { + "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", "properties": { - "component": { - "description": "Component from which the event is generated.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "host": { - "description": "Node name on which the event is generated.", + "conditions": { + "description": "List of component conditions observed", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ComponentCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ComponentStatus", + "version": "v1" + } + ] }, - "v1beta1.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "v1.Taint": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", "required": [ - "type", - "status" + "key", + "effect" ], "properties": { - "lastTransitionTime": { - "description": "The last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "A human readable message indicating details about the transition.", + "effect": { + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", "type": "string" }, - "reason": { - "description": "The reason for the condition's last transition.", + "key": { + "description": "Required. The taint key to be applied to a node.", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "timeAdded": { + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "type": "string", + "format": "date-time" }, - "type": { - "description": "Type of replica set condition.", + "value": { + "description": "Required. The taint value corresponding to the taint key.", "type": "string" } } }, - "v1.GCEPersistentDiskVolumeSource": { - "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", - "required": [ - "pdName" - ], + "v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", "properties": { - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "type": "string" - }, - "partition": { - "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "type": "integer", - "format": "int32" - }, - "pdName": { - "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "type": "boolean" + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.ServiceAccount": { - "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", + "v1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "automountServiceAccountToken": { - "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" - }, - "imagePullSecrets": { - "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret", + "items": { + "description": "Items is a list of ClusterRoleBindings", "type": "array", "items": { - "$ref": "#/definitions/v1.LocalObjectReference" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "secrets": { - "description": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ObjectReference" - } + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ServiceAccount" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1" } ] }, - "v1.PersistentVolumeSpec": { - "description": "PersistentVolumeSpec is the specification of a persistent volume.", + "v1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "required": [ + "verbs" + ], "properties": { - "accessModes": { - "description": "AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes", + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", "type": "array", "items": { "type": "string" } }, - "awsElasticBlockStore": { - "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", - "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" - }, - "azureDisk": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "$ref": "#/definitions/v1.AzureDiskVolumeSource" - }, - "azureFile": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "$ref": "#/definitions/v1.AzureFileVolumeSource" - }, - "capacity": { - "description": "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity", - "type": "object", - "additionalProperties": { + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { "type": "string" } }, - "cephfs": { - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/v1.CephFSVolumeSource" - }, - "cinder": { - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/v1.CinderVolumeSource" - }, - "claimRef": { - "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding", - "$ref": "#/definitions/v1.ObjectReference" - }, - "fc": { - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", - "$ref": "#/definitions/v1.FCVolumeSource" - }, - "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", - "$ref": "#/definitions/v1.FlexVolumeSource" - }, - "flocker": { - "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", - "$ref": "#/definitions/v1.FlockerVolumeSource" - }, - "gcePersistentDisk": { - "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", - "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" - }, - "glusterfs": { - "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", - "$ref": "#/definitions/v1.GlusterfsVolumeSource" - }, - "hostPath": { - "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", - "$ref": "#/definitions/v1.HostPathVolumeSource" - }, - "iscsi": { - "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", - "$ref": "#/definitions/v1.ISCSIVolumeSource" - }, - "nfs": { - "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", - "$ref": "#/definitions/v1.NFSVolumeSource" - }, - "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy", - "type": "string" - }, - "photonPersistentDisk": { - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" - }, - "portworxVolume": { - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.PortworxVolumeSource" - }, - "quobyte": { - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/v1.QuobyteVolumeSource" - }, - "rbd": { - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", - "$ref": "#/definitions/v1.RBDVolumeSource" - }, - "scaleIO": { - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", - "$ref": "#/definitions/v1.ScaleIOVolumeSource" - }, - "storageClassName": { - "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", - "type": "string" + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "type": "array", + "items": { + "type": "string" + } }, - "vsphereVolume": { - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" - } - } - }, - "v1beta1.CertificateSigningRequestStatus": { - "properties": { - "certificate": { - "description": "If request was approved, the controller will place the issued certificate here.", - "type": "string", - "format": "byte" + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { + "type": "string" + } }, - "conditions": { - "description": "Conditions applied to the request, such as approval or denial.", + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestCondition" + "type": "string" } } } }, - "v1.Service": { - "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", + "v1beta1.CertificateSigningRequest": { + "description": "Describes a certificate signing request", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ServiceSpec" + "description": "The certificate request itself and any additional information.", + "$ref": "#/definitions/v1beta1.CertificateSigningRequestSpec" }, "status": { - "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ServiceStatus" + "description": "Derived information about the request.", + "$ref": "#/definitions/v1beta1.CertificateSigningRequestStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Service" + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" } ] }, - "v1beta1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.", - "type": "string" - }, - "http": { - "$ref": "#/definitions/v1beta1.HTTPIngressRuleValue" - } - } - }, - "apps.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "v1beta1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "required": [ - "template" + "type", + "status" ], "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", - "format": "int32" - }, - "paused": { - "description": "Indicates that the deployment is paused.", - "type": "boolean" - }, - "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", - "format": "int32" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", - "format": "int32" + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" }, - "rollbackTo": { - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done.", - "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" }, - "selector": { - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/v1.LabelSelector" + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" }, - "strategy": { - "description": "The deployment strategy to use to replace existing pods with new ones.", - "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" }, - "template": { - "description": "Template describes the pods that will be created.", - "$ref": "#/definitions/v1.PodTemplateSpec" + "type": { + "description": "Type is the type of the condition.", + "type": "string" } } }, - "v1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", + "v2beta1.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "required": [ - "allowed" + "metricName", + "currentAverageValue" ], "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", + "currentAverageValue": { + "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)", "type": "string" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", + "metricName": { + "description": "metricName is the name of the metric in question", "type": "string" } } }, - "v2alpha1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "v1.DaemonEndpoint": { + "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "required": [ - "kind", - "name" + "Port" ], "properties": { - "apiVersion": { - "description": "API version of the referent", - "type": "string" - }, - "kind": { - "description": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"", - "type": "string" + "Port": { + "description": "Port number of the given endpoint.", + "type": "integer", + "format": "int32" + } + } + }, + "v1beta1.NetworkPolicyPort": { + "properties": { + "port": { + "description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", + "type": "string", + "format": "int-or-string" }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "protocol": { + "description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } }, - "v1.PortworxVolumeSource": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", + "v2beta1.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "required": [ - "volumeID" + "target", + "metricName", + "targetValue" ], "properties": { - "fsType": { - "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "metricName": { + "description": "metricName is the name of the metric in question.", "type": "string" }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "target": { + "description": "target is the described Kubernetes object.", + "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" }, - "volumeID": { - "description": "VolumeID uniquely identifies a Portworx volume", + "targetValue": { + "description": "targetValue is the target value of the metric (as a quantity).", "type": "string" } } }, - "v1.NodeCondition": { - "description": "NodeCondition contains condition information for a node.", - "required": [ - "type", - "status" - ], + "v1beta1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { - "lastHeartbeatTime": { - "description": "Last time we got an update on a given condition.", - "type": "string", - "format": "date-time" + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" }, - "lastTransitionTime": { - "description": "Last time the condition transit from one status to another.", - "type": "string", - "format": "date-time" + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "type": "string" }, - "message": { - "description": "Human readable message indicating details about last transition.", + "namespace": { + "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", "type": "string" }, - "reason": { - "description": "(brief) reason for the condition's last transition.", + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", "type": "string" }, - "type": { - "description": "Type of node condition.", + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" + }, + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", "type": "string" } } }, - "v1.EndpointSubset": { - "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", + "v1.Pod": { + "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", "properties": { - "addresses": { - "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EndpointAddress" - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "notReadyAddresses": { - "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EndpointAddress" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "ports": { - "description": "Port numbers available on the related IP addresses.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EndpointPort" - } + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.PodSpec" + }, + "status": { + "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.PodStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Pod", + "version": "v1" + } + ] }, - "v1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "v1.PodTemplate": { + "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { - "extra": { - "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "groups": { - "description": "Groups is the groups you're testing for.", - "type": "array", - "items": { - "type": "string" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "nonResourceAttributes": { - "description": "NonResourceAttributes describes information for a non-resource access request", - "$ref": "#/definitions/v1.NonResourceAttributes" + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" }, - "resourceAttributes": { - "description": "ResourceAuthorizationAttributes describes information for a resource access request", - "$ref": "#/definitions/v1.ResourceAttributes" + "template": { + "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + ] + }, + "v1.Job": { + "description": "Job represents the configuration of a single job.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "user": { - "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.JobSpec" + }, + "status": { + "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.JobStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "Job", + "version": "v1" } - } + ] }, - "apps.v1beta1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", + "v1.PersistentVolumeClaimVolumeSource": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "required": [ + "claimName" + ], "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "type": "integer", - "format": "int32" + "claimName": { + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" } } }, - "v1alpha1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "v1.ServerAddressByClientCIDR": { + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ - "apiGroup", - "kind", - "name" + "clientCIDR", + "serverAddress" ], "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", + "clientCIDR": { + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", "type": "string" }, - "name": { - "description": "Name is the name of resource being referenced", + "serverAddress": { + "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", "type": "string" } } }, - "v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", + "v1.ISCSIVolumeSource": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "required": [ + "targetPortal", + "iqn", + "lun" + ], "properties": { - "backend": { - "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", - "$ref": "#/definitions/v1beta1.IngressBackend" + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressRule" - } + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressTLS" - } - } - } - }, - "v1beta1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "extra": { - "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" }, - "group": { - "description": "Groups is the groups you're testing for.", + "initiatorName": { + "description": "Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", + "type": "string" + }, + "lun": { + "description": "iSCSI target lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", "type": "array", "items": { "type": "string" } }, - "nonResourceAttributes": { - "description": "NonResourceAttributes describes information for a non-resource access request", - "$ref": "#/definitions/v1beta1.NonResourceAttributes" + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" }, - "resourceAttributes": { - "description": "ResourceAuthorizationAttributes describes information for a resource access request", - "$ref": "#/definitions/v1beta1.ResourceAttributes" + "secretRef": { + "description": "CHAP secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/v1.LocalObjectReference" }, - "user": { - "description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups", + "targetPortal": { + "description": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", "type": "string" } } }, - "v1beta1.NetworkPolicyIngressRule": { - "description": "This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", + "v1beta1.CustomResourceDefinition": { + "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "properties": { - "from": { - "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPeer" - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "ports": { - "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyPort" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec describes how the user wants the resources to appear", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionSpec" + }, + "status": { + "description": "Status indicates the actual state of the CustomResourceDefinition", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionStatus" } } }, - "v1.PersistentVolumeClaim": { - "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", + "v1.HorizontalPodAutoscaler": { + "description": "configuration of a horizontal pod autoscaler.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", - "$ref": "#/definitions/v1.PersistentVolumeClaimSpec" + "description": "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v1.HorizontalPodAutoscalerSpec" }, "status": { - "description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", - "$ref": "#/definitions/v1.PersistentVolumeClaimStatus" + "description": "current information about the autoscaler.", + "$ref": "#/definitions/v1.HorizontalPodAutoscalerStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "PersistentVolumeClaim" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } ] }, - "v1.SecretList": { - "description": "SecretList is a list of Secret.", + "v1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets", + "description": "Items is the list of StorageClasses", "type": "array", "items": { - "$ref": "#/definitions/v1.Secret" + "$ref": "#/definitions/v1.StorageClass" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "SecretList" + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1" } ] }, - "v1.SecretEnvSource": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "v1beta1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", + "required": [ + "apiGroup", + "kind", + "name" + ], "properties": { - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", "type": "string" }, - "optional": { - "description": "Specify whether the Secret must be defined", - "type": "boolean" + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } } }, - "v1.Capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", + "v1alpha1.PodPresetSpec": { + "description": "PodPresetSpec is a description of a pod preset.", "properties": { - "add": { - "description": "Added capabilities", + "env": { + "description": "Env defines the collection of EnvVar to inject into containers.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.EnvVar" } }, - "drop": { - "description": "Removed capabilities", + "envFrom": { + "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.EnvFromSource" } - } - } - }, - "v1.ResourceQuotaStatus": { - "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", - "properties": { - "hard": { - "description": "Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", - "type": "object", - "additionalProperties": { - "type": "string" + }, + "selector": { + "description": "Selector is a label query over a set of resources, in this case pods. Required.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "volumeMounts": { + "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeMount" } }, - "used": { - "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", - "additionalProperties": { - "type": "string" + "volumes": { + "description": "Volumes defines the collection of Volume to inject into the pod.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Volume" } } } }, - "v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", + "v1.APIGroup": { + "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ - "apiVersion", - "kind", "name", - "uid" + "versions", + "serverAddressByClientCIDRs" ], "properties": { "apiVersion": { - "description": "API version of the referent.", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller.", - "type": "boolean" - }, "kind": { - "description": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "description": "name is the name of the group.", "type": "string" }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" + "preferredVersion": { + "description": "preferredVersion is the version preferred by the API server, which probably is the storage version.", + "$ref": "#/definitions/v1.GroupVersionForDiscovery" + }, + "serverAddressByClientCIDRs": { + "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ServerAddressByClientCIDR" + } + }, + "versions": { + "description": "versions are the versions supported in this group.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.GroupVersionForDiscovery" + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIGroup", + "version": "v1" + } + ] }, - "v1alpha1.PodPreset": { - "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", + "v1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "required": [ + "rules" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { + "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" }, - "spec": { - "$ref": "#/definitions/v1alpha1.PodPresetSpec" + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + } } }, "x-kubernetes-group-version-kind": [ { - "Group": "settings.k8s.io", - "Version": "v1alpha1", - "Kind": "PodPreset" + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" } ] }, - "v1beta1.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "v1.ResourceQuotaStatus": { + "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", - "format": "int32" - }, - "replicas": { - "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" + "hard": { + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "template": { - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" + "used": { + "description": "Used is the current observed total usage of the resource in the namespace.", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "v1.PhotonPersistentDiskVolumeSource": { - "description": "Represents a Photon Controller persistent disk resource.", + "v1beta1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "required": [ - "pdID" + "rules" ], "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "pdID": { - "description": "ID that identifies Photon Controller persistent disk", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" - } - } - }, - "v1.SecretVolumeSource": { - "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" }, - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.KeyToPath" - } - }, - "optional": { - "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "secretName": { - "description": "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", - "type": "string" - } - } - }, - "v1.PersistentVolumeClaimSpec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", - "properties": { - "accessModes": { - "description": "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1", + "rules": { + "description": "Rules holds all the PolicyRules for this Role", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1beta1.PolicyRule" } - }, - "resources": { - "description": "Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", - "$ref": "#/definitions/v1.ResourceRequirements" - }, - "selector": { - "description": "A label query over volumes to consider for binding.", - "$ref": "#/definitions/v1.LabelSelector" - }, - "storageClassName": { - "description": "Name of the StorageClass required by the claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#class-1", - "type": "string" - }, - "volumeName": { - "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", - "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + ] }, - "v1.PersistentVolumeClaimList": { - "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", + "v1alpha1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "items" + "subjects", + "roleRef" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "roleRef": { + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1alpha1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.Subject" + } } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "PersistentVolumeClaimList" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" } ] }, - "v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { - "apiVersion": { - "description": "API version of the referent.", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" - }, - "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + } + } + }, + "runtime.RawExtension": { + "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "required": [ + "Raw" + ], + "properties": { + "Raw": { + "description": "Raw is the underlying serialization of this object.", + "type": "string", + "format": "byte" + } + } + }, + "v1beta1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "required": [ + "subjects", + "roleRef" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "namespace": { - "description": "Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces", - "type": "string" + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", - "type": "string" + "roleRef": { + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1beta1.RoleRef" }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Subject" + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + ] + }, + "v1beta2.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "properties": { + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", + "type": "integer", + "format": "int32" } } }, - "v1.PodCondition": { - "description": "PodCondition contains details for the current condition of this pod.", - "required": [ - "type", - "status" - ], + "v1.SubjectAccessReviewSpec": { + "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { - "lastProbeTime": { - "description": "Last time we probed the condition.", - "type": "string", - "format": "date-time" - }, - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" + "extra": { + "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" + "groups": { + "description": "Groups is the groups you're testing for.", + "type": "array", + "items": { + "type": "string" + } }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/v1.NonResourceAttributes" }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/v1.ResourceAttributes" + }, + "uid": { + "description": "UID information about the requesting user.", "type": "string" }, - "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", + "user": { + "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", "type": "string" } } }, - "v1beta1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "v1.ServiceList": { + "description": "ServiceList holds a list of services.", "required": [ - "apiGroup", - "kind", - "name" + "items" ], "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" + "items": { + "description": "List of services", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Service" + } }, - "name": { - "description": "Name is the name of resource being referenced", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" - } - } - }, - "v2alpha1.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", - "required": [ - "type" - ], - "properties": { - "object": { - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", - "$ref": "#/definitions/v2alpha1.ObjectMetricStatus" }, - "pods": { - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", - "$ref": "#/definitions/v2alpha1.PodsMetricStatus" - }, - "resource": { - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "$ref": "#/definitions/v2alpha1.ResourceMetricStatus" - }, - "type": { - "description": "type is the type of metric source. It will match one of the fields below.", - "type": "string" - } - } - }, - "v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "description": "LoadBalancer contains the current status of the load-balancer.", - "$ref": "#/definitions/v1.LoadBalancerStatus" + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" } - } - }, - "v1.ConfigMapEnvSource": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ServiceList", + "version": "v1" } - } + ] }, "v1beta1.CertificateSigningRequestCondition": { "required": [ @@ -38306,23 +62897,6 @@ } } }, - "v1.ContainerState": { - "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", - "properties": { - "running": { - "description": "Details about a running container", - "$ref": "#/definitions/v1.ContainerStateRunning" - }, - "terminated": { - "description": "Details about a terminated container", - "$ref": "#/definitions/v1.ContainerStateTerminated" - }, - "waiting": { - "description": "Details about a waiting container", - "$ref": "#/definitions/v1.ContainerStateWaiting" - } - } - }, "v1beta1.TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "required": [ @@ -38330,11 +62904,11 @@ ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { @@ -38351,353 +62925,426 @@ }, "x-kubernetes-group-version-kind": [ { - "Group": "authentication.k8s.io", - "Version": "v1beta1", - "Kind": "TokenReview" + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1beta1" } ] }, - "v1.GroupVersionForDiscovery": { - "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", - "required": [ - "groupVersion", - "version" - ], - "properties": { - "groupVersion": { - "description": "groupVersion specifies the API group and version in the form \"group/version\"", - "type": "string" - }, - "version": { - "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", - "type": "string" - } - } - }, - "v1.ResourceQuotaSpec": { - "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", - "properties": { - "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "scopes": { - "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "v1.RoleList": { + "description": "RoleList is a collection of Roles", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "Items is a list of Roles", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.Role" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "PodSecurityPolicyList" + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1" } ] }, - "v1beta1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", - "required": [ - "subjects", - "roleRef" - ], + "v1.LimitRange": { + "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "roleRef": { - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", - "$ref": "#/definitions/v1beta1.RoleRef" - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Subject" - } + "spec": { + "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.LimitRangeSpec" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "ClusterRoleBinding" + "group": "", + "kind": "LimitRange", + "version": "v1" } ] }, - "v1alpha1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "v1beta1.SupplementalGroupsStrategyOptions": { + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "properties": { + "ranges": { + "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + } + }, + "rule": { + "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "type": "string" + } + } + }, + "v1beta1.ControllerRevision": { + "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "required": [ - "items" + "revision" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.RoleBinding" - } + "data": { + "description": "Data is the serialized representation of the state.", + "$ref": "#/definitions/runtime.RawExtension" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "revision": { + "description": "Revision indicates the revision of the state represented by Data.", + "type": "integer", + "format": "int64" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "RoleBindingList" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } ] }, - "v1.EmptyDirVolumeSource": { - "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "v1.NamespaceSpec": { + "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { - "medium": { - "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", - "type": "string" + "finalizers": { + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.LocalSubjectAccessReview": { - "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", + "v1.ServiceAccountList": { + "description": "ServiceAccountList is a list of ServiceAccount objects", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ServiceAccount" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", - "$ref": "#/definitions/v1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "authorization.k8s.io", - "Version": "v1", - "Kind": "LocalSubjectAccessReview" + "group": "", + "kind": "ServiceAccountList", + "version": "v1" } ] }, - "v1alpha1.PodPresetList": { - "description": "PodPresetList is a list of PodPreset objects.", + "v1.CephFSVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "v1beta2.RollingUpdateDaemonSet": { + "description": "Spec to control the desired behavior of daemon set rolling update.", + "properties": { + "maxUnavailable": { + "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", + "type": "string", + "format": "int-or-string" + } + } + }, + "v1beta2.StatefulSetUpdateStrategy": { + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", + "properties": { + "rollingUpdate": { + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.", + "$ref": "#/definitions/v1beta2.RollingUpdateStatefulSetStrategy" + }, + "type": { + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", + "type": "string" + } + } + }, + "v1beta1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of schema objects.", + "description": "items is the list of CronJobs.", "type": "array", "items": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.CronJob" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "settings.k8s.io", - "Version": "v1alpha1", - "Kind": "PodPresetList" + "group": "batch", + "kind": "CronJobList", + "version": "v1beta1" } ] }, - "v1alpha1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "v1.EventList": { + "description": "EventList is a list of events.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoles", + "description": "List of events", "type": "array", "items": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1.Event" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "ClusterRoleList" + "group": "", + "kind": "EventList", + "version": "v1" } ] }, - "v1beta1.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", - "required": [ - "replicas" - ], + "v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { - "observedGeneration": { - "description": "most recent generation observed by this StatefulSet.", - "type": "integer", - "format": "int64" + "backend": { + "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", + "$ref": "#/definitions/v1beta1.IngressBackend" }, - "replicas": { - "description": "Replicas is the number of actual replicas.", - "type": "integer", - "format": "int32" + "rules": { + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressRule" + } + }, + "tls": { + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressTLS" + } } } }, - "v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "v1.APIVersions": { + "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "required": [ - "items" + "versions", + "serverAddressByClientCIDRs" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "serverAddressByClientCIDRs": { + "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1.ServerAddressByClientCIDR" + } + }, + "versions": { + "description": "versions are the api versions that are available.", + "type": "array", + "items": { + "type": "string" } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIVersions", + "version": "v1" + } + ] + }, + "v1.Node": { + "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.NodeSpec" + }, + "status": { + "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.NodeStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "RoleBindingList" + "group": "", + "kind": "Node", + "version": "v1" } ] }, - "v1.LimitRangeList": { - "description": "LimitRangeList is a list of LimitRange items.", + "v1.TokenReview": { + "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "required": [ - "items" + "spec" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LimitRange" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1.TokenReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request can be authenticated.", + "$ref": "#/definitions/v1.TokenReviewStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "LimitRangeList" + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" } ] }, - "v1.AzureFileVolumeSource": { + "v1.AzureFilePersistentVolumeSource": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "required": [ "secretName", @@ -38712,2097 +63359,1882 @@ "description": "the name of secret that contains Azure Storage Account Name and Key", "type": "string" }, + "secretNamespace": { + "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod", + "type": "string" + }, "shareName": { "description": "Share Name", "type": "string" } } }, - "v1.DownwardAPIVolumeSource": { - "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" - }, - "items": { - "description": "Items is a list of downward API volume file", - "type": "array", - "items": { - "$ref": "#/definitions/v1.DownwardAPIVolumeFile" - } - } - } - }, - "extensions.v1beta1.ScaleStatus": { - "description": "represents the current status of a scale subresource.", + "v1alpha1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "required": [ - "replicas" + "verbs" ], "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", - "additionalProperties": { + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "type": "array", + "items": { "type": "string" } }, - "targetSelector": { - "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "string" - } - } - }, - "v1.ObjectMeta": { - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "properties": { - "annotations": { - "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", - "additionalProperties": { + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { "type": "string" } }, - "clusterName": { - "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", - "type": "string" - }, - "creationTimestamp": { - "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "type": "string", - "format": "date-time" - }, - "deletionGracePeriodSeconds": { - "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", - "format": "int64" - }, - "deletionTimestamp": { - "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "type": "string", - "format": "date-time" - }, - "finalizers": { - "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.", + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", "type": "array", "items": { "type": "string" } }, - "generateName": { - "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency", - "type": "string" - }, - "generation": { - "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", - "format": "int64" - }, - "labels": { - "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", - "additionalProperties": { + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { "type": "string" } }, - "name": { - "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", - "type": "string" - }, - "ownerReferences": { - "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", "type": "array", "items": { - "$ref": "#/definitions/v1.OwnerReference" + "type": "string" + } + } + } + }, + "v1.NetworkPolicyEgressRule": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "properties": { + "ports": { + "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPort" + } + }, + "to": { + "description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPeer" } - }, - "resourceVersion": { - "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.", - "type": "string" - }, - "uid": { - "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" } } }, - "v1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "v1.HostPathVolumeSource": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", "required": [ - "items" + "path" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "path": { + "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", "type": "string" }, - "items": { - "description": "Items is the list of StorageClasses", - "type": "array", - "items": { - "$ref": "#/definitions/v1.StorageClass" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": { + "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", "type": "string" - }, - "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "storage.k8s.io", - "Version": "v1", - "Kind": "StorageClassList" } - ] + } }, - "v1.Handler": { - "description": "Handler defines a specific action that should be taken", + "v1beta1.NonResourceRule": { + "description": "NonResourceRule holds information that describes a rule for the non-resource", + "required": [ + "verbs" + ], "properties": { - "exec": { - "description": "One and only one of the following should be specified. Exec specifies the action to take.", - "$ref": "#/definitions/v1.ExecAction" - }, - "httpGet": { - "description": "HTTPGet specifies the http request to perform.", - "$ref": "#/definitions/v1.HTTPGetAction" + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } }, - "tcpSocket": { - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", - "$ref": "#/definitions/v1.TCPSocketAction" + "verbs": { + "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.Namespace": { - "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", + "v1.NetworkPolicy": { + "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.NamespaceSpec" - }, - "status": { - "description": "Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.NamespaceStatus" + "description": "Specification of the desired behavior for this NetworkPolicy.", + "$ref": "#/definitions/v1.NetworkPolicySpec" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Namespace" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } ] }, - "v1.Event": { - "description": "Event is a report of an event somewhere in the cluster.", + "v1beta1.APIServiceCondition": { "required": [ - "metadata", - "involvedObject" + "type", + "status" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "count": { - "description": "The number of times this event has occurred.", - "type": "integer", - "format": "int32" - }, - "firstTimestamp": { - "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", "type": "string", "format": "date-time" }, - "involvedObject": { - "description": "The object that this event is about.", - "$ref": "#/definitions/v1.ObjectReference" + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "lastTimestamp": { - "description": "The time at which the most recent occurrence of this event was recorded.", - "type": "string", - "format": "date-time" + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" }, - "message": { - "description": "A human-readable description of the status of this operation.", + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, + "extensions.v1beta1.DeploymentRollback": { + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "required": [ + "name", + "rollbackTo" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "reason": { - "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "name": { + "description": "Required: This must match the Name of a deployment.", "type": "string" }, - "source": { - "description": "The component reporting this event. Should be a short machine understandable string.", - "$ref": "#/definitions/v1.EventSource" + "rollbackTo": { + "description": "The config of this deployment rollback.", + "$ref": "#/definitions/extensions.v1beta1.RollbackConfig" }, - "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future", - "type": "string" + "updatedAnnotations": { + "description": "The annotations to be updated to a deployment", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Event" + "group": "extensions", + "kind": "DeploymentRollback", + "version": "v1beta1" } ] }, - "apps.v1beta1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", + "v1beta1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", "required": [ - "replicas" + "template" ], "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", "type": "integer", "format": "int32" }, "selector": { - "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" }, - "targetSelector": { - "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "string" - } - } - }, - "v1.ResourceFieldSelector": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "required": [ - "resource" - ], - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" }, - "divisor": { - "description": "Specifies the output format of the exposed resources, defaults to \"1\"", - "type": "string" + "templateGeneration": { + "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", + "type": "integer", + "format": "int64" }, - "resource": { - "description": "Required: resource to select", - "type": "string" + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" } } }, - "v1.StorageClass": { - "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "v1.Endpoints": { + "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", "required": [ - "provisioner" + "subsets" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "parameters": { - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", - "additionalProperties": { - "type": "string" + "subsets": { + "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.EndpointSubset" } - }, - "provisioner": { - "description": "Provisioner indicates the type of the provisioner.", - "type": "string" } }, "x-kubernetes-group-version-kind": [ { - "Group": "storage.k8s.io", - "Version": "v1", - "Kind": "StorageClass" + "group": "", + "kind": "Endpoints", + "version": "v1" } ] }, - "v1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", "properties": { - "nonResourceAttributes": { - "description": "NonResourceAttributes describes information for a non-resource access request", - "$ref": "#/definitions/v1.NonResourceAttributes" - }, - "resourceAttributes": { - "description": "ResourceAuthorizationAttributes describes information for a resource access request", - "$ref": "#/definitions/v1.ResourceAttributes" + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "$ref": "#/definitions/v1.ClientIPConfig" } } }, - "v1.AttachedVolume": { - "description": "AttachedVolume describes a volume attached to a node", + "v1.PortworxVolumeSource": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", "required": [ - "name", - "devicePath" + "volumeID" ], "properties": { - "devicePath": { - "description": "DevicePath represents the device path where the volume should be available", + "fsType": { + "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, - "name": { - "description": "Name of the attached volume", + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "VolumeID uniquely identifies a Portworx volume", "type": "string" } } }, - "v1beta1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "v1.JobList": { + "description": "JobList is a collection of jobs.", "required": [ - "template", - "serviceName" + "items" ], "properties": { - "replicas": { - "description": "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "serviceName": { - "description": "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "template": { - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "volumeClaimTemplates": { - "description": "VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "items": { + "description": "items is the list of Jobs.", "type": "array", "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" + "$ref": "#/definitions/v1.Job" } - } - } - }, - "apps.v1beta1.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired behavior of the Deployment.", - "$ref": "#/definitions/apps.v1beta1.DeploymentSpec" - }, - "status": { - "description": "Most recently observed status of the Deployment.", - "$ref": "#/definitions/apps.v1beta1.DeploymentStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "apps", - "Version": "v1beta1", - "Kind": "Deployment" + "group": "batch", + "kind": "JobList", + "version": "v1" } ] }, - "v1.StatusDetails": { - "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "v1.APIResourceList": { + "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", + "required": [ + "groupVersion", + "resources" + ], "properties": { - "causes": { - "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.StatusCause" - } - }, - "group": { - "description": "The group attribute of the resource associated with the status StatusReason.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "kind": { - "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "groupVersion": { + "description": "groupVersion is the group and version this APIResourceList is for.", "type": "string" }, - "name": { - "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "retryAfterSeconds": { - "description": "If specified, the time in seconds before the operation should be retried.", - "type": "integer", - "format": "int32" + "resources": { + "description": "resources contains the name of the resources and if they are namespaced.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.APIResource" + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIResourceList", + "version": "v1" + } + ] }, - "v1.ResourceQuotaList": { - "description": "ResourceQuotaList is a list of ResourceQuota items.", + "v1.PodTemplateList": { + "description": "PodTemplateList is a list of PodTemplates.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", + "description": "List of pod templates", "type": "array", "items": { - "$ref": "#/definitions/v1.ResourceQuota" + "$ref": "#/definitions/v1.PodTemplate" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ResourceQuotaList" + "group": "", + "kind": "PodTemplateList", + "version": "v1" } ] }, - "v1.LimitRangeSpec": { - "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", - "required": [ - "limits" - ], + "v1beta1.AllowedHostPath": { + "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", "properties": { - "limits": { - "description": "Limits is the list of LimitRangeItem objects that are enforced.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LimitRangeItem" - } + "pathPrefix": { + "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "type": "string" } } }, - "v1.FlexVolumeSource": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "v1.OwnerReference": { + "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", "required": [ - "driver" + "apiVersion", + "kind", + "name", + "uid" ], "properties": { - "driver": { - "description": "Driver is the name of the driver to use for this volume.", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "apiVersion": { + "description": "API version of the referent.", "type": "string" }, - "options": { - "description": "Optional: Extra command options if any.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "blockOwnerDeletion": { + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", "type": "boolean" }, - "secretRef": { - "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", - "$ref": "#/definitions/v1.LocalObjectReference" - } - } - }, - "v1.PodAffinity": { - "description": "Pod affinity is a group of inter pod affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.WeightedPodAffinityTerm" - } + "controller": { + "description": "If true, this reference points to the managing controller.", + "type": "boolean" }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PodAffinityTerm" - } - } - } - }, - "v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", - "required": [ - "rule" - ], - "properties": { - "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "seLinuxOptions": { - "description": "seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context", - "$ref": "#/definitions/v1.SELinuxOptions" - } - } - }, - "v1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", - "properties": { - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" - }, - "error": { - "description": "Error indicates that the token couldn't be checked", + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, - "user": { - "description": "User is the UserInfo associated with the provided token.", - "$ref": "#/definitions/v1.UserInfo" + "uid": { + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" } } }, - "v1beta1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", + "v1beta1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "required": [ - "subjects", - "roleRef" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of ClusterRoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "roleRef": { - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", - "$ref": "#/definitions/v1beta1.RoleRef" - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Subject" - } + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "RoleBinding" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1beta1" } ] }, - "v1.ServicePort": { - "description": "ServicePort contains information on service's port.", + "v1.GitRepoVolumeSource": { + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", "required": [ - "port" + "repository" ], "properties": { - "name": { - "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.", + "directory": { + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", "type": "string" }, - "nodePort": { - "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport", - "type": "integer", - "format": "int32" - }, - "port": { - "description": "The port that will be exposed by this service.", - "type": "integer", - "format": "int32" - }, - "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", + "repository": { + "description": "Repository URL", "type": "string" }, - "targetPort": { - "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service", - "type": "string", - "format": "int-or-string" + "revision": { + "description": "Commit hash for the specified revision.", + "type": "string" } } }, - "v1.ProjectedVolumeSource": { - "description": "Represents a projected volume source", + "v1.EnvVar": { + "description": "EnvVar represents an environment variable present in a Container.", "required": [ - "sources" + "name" ], "properties": { - "defaultMode": { - "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" }, - "sources": { - "description": "list of volume projections", + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "$ref": "#/definitions/v1.EnvVarSource" + } + } + }, + "v1beta1.CertificateSigningRequestStatus": { + "properties": { + "certificate": { + "description": "If request was approved, the controller will place the issued certificate here.", + "type": "string", + "format": "byte" + }, + "conditions": { + "description": "Conditions applied to the request, such as approval or denial.", "type": "array", "items": { - "$ref": "#/definitions/v1.VolumeProjection" + "$ref": "#/definitions/v1beta1.CertificateSigningRequestCondition" } } } }, - "v1alpha1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "v1.ComponentCondition": { + "description": "Information about the condition of a component.", "required": [ - "rules" + "type", + "status" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "error": { + "description": "Condition error code for a component. For example, a health check error code.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "message": { + "description": "Message about the condition for a component. For example, information about a health check.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" + "status": { + "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", + "type": "string" }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.PolicyRule" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "Role" + "type": { + "description": "Type of condition for a component. Valid value: \"Healthy\"", + "type": "string" } - ] + } }, - "v1.Preconditions": { - "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "v1beta1.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { - "uid": { - "description": "Specifies the target UID.", - "type": "string" + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", + "type": "integer", + "format": "int32" } } }, - "v1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "extensions.v1beta1.DeploymentStrategy": { + "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", + "$ref": "#/definitions/extensions.v1beta1.RollingUpdateDeployment" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": { + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", "type": "string" - }, - "metadata": { - "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", - "$ref": "#/definitions/v1.ScaleSpec" - }, - "status": { - "description": "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", - "$ref": "#/definitions/v1.ScaleStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "autoscaling", - "Version": "v1", - "Kind": "Scale" } - ] + } }, - "v2alpha1.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "v1.SubjectRulesReviewStatus": { + "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", "required": [ - "scaleTargetRef", - "maxReplicas" + "resourceRules", + "nonResourceRules", + "incomplete" ], "properties": { - "maxReplicas": { - "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", - "format": "int32" + "evaluationError": { + "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", + "type": "string" }, - "metrics": { - "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.", + "incomplete": { + "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", + "type": "boolean" + }, + "nonResourceRules": { + "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "type": "array", "items": { - "$ref": "#/definitions/v2alpha1.MetricSpec" + "$ref": "#/definitions/v1.NonResourceRule" } }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", - "format": "int32" - }, - "scaleTargetRef": { - "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", - "$ref": "#/definitions/v2alpha1.CrossVersionObjectReference" + "resourceRules": { + "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ResourceRule" + } } } }, - "apps.v1beta1.DeploymentRollback": { - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "v1beta1.JSONSchemaPropsOrBool": { + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", "required": [ - "name", - "rollbackTo" + "Allows", + "Schema" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Required: This must match the Name of a deployment.", - "type": "string" - }, - "rollbackTo": { - "description": "The config of this deployment rollback.", - "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + "Allows": { + "type": "boolean" }, - "updatedAnnotations": { - "description": "The annotations to be updated to a deployment", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "apps", - "Version": "v1beta1", - "Kind": "DeploymentRollback" + "Schema": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" } - ] + } }, - "v2alpha1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "properties": { - "metadata": { - "description": "Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "name": { + "description": "Name is the name of the service", + "type": "string" }, - "spec": { - "description": "Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.JobSpec" + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" } } }, - "v1.Secret": { - "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", + "v1beta1.SelfSubjectAccessReview": { + "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", + "required": [ + "spec" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "data": { - "description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", - "additionalProperties": { - "type": "string", - "format": "byte" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "stringData": { - "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "spec": { + "description": "Spec holds information about the request being evaluated. user and groups must be empty", + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec" }, - "type": { - "description": "Used to facilitate programmatic handling of secret data.", - "type": "string" + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Secret" + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" } ] }, - "extensions.v1beta1.DeploymentRollback": { - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "v1beta1.DaemonSetList": { + "description": "DaemonSetList is a collection of daemon sets.", "required": [ - "name", - "rollbackTo" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "items": { + "description": "A list of daemon sets.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } }, - "name": { - "description": "Required: This must match the Name of a deployment.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "rollbackTo": { - "description": "The config of this deployment rollback.", - "$ref": "#/definitions/extensions.v1beta1.RollbackConfig" - }, - "updatedAnnotations": { - "description": "The annotations to be updated to a deployment", - "type": "object", - "additionalProperties": { - "type": "string" - } + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "DeploymentRollback" + "group": "extensions", + "kind": "DaemonSetList", + "version": "v1beta1" } ] }, - "v1beta1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "nonResourceAttributes": { - "description": "NonResourceAttributes describes information for a non-resource access request", - "$ref": "#/definitions/v1beta1.NonResourceAttributes" - }, - "resourceAttributes": { - "description": "ResourceAuthorizationAttributes describes information for a resource access request", - "$ref": "#/definitions/v1beta1.ResourceAttributes" - } - } - }, - "v1beta1.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", + "v1beta1.StatefulSetStatus": { + "description": "StatefulSetStatus represents the current state of a StatefulSet.", "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" + "replicas" ], "properties": { - "currentNumberScheduled": { - "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", + "collisionCount": { + "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "type": "integer", "format": "int32" }, - "desiredNumberScheduled": { - "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", + "currentReplicas": { + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", "type": "integer", "format": "int32" }, - "numberAvailable": { - "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", - "format": "int32" + "currentRevision": { + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", + "type": "string" }, - "numberMisscheduled": { - "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", "type": "integer", - "format": "int32" + "format": "int64" }, - "numberReady": { - "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", + "readyReplicas": { + "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", "type": "integer", "format": "int32" }, - "numberUnavailable": { - "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "replicas": { + "description": "replicas is the number of Pods created by the StatefulSet controller.", "type": "integer", "format": "int32" }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", - "format": "int64" + "updateRevision": { + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", + "type": "string" }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", + "updatedReplicas": { + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", "type": "integer", "format": "int32" } } }, - "v2alpha1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", - "required": [ - "items" - ], + "v1beta1.NetworkPolicyEgressRule": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of CronJob.", + "ports": { + "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", "type": "array", "items": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta1.NetworkPolicyPort" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "to": { + "description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NetworkPolicyPeer" + } + } + } + }, + "v2beta1.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "target", + "metricName", + "currentValue" + ], + "properties": { + "currentValue": { + "description": "currentValue is the current value of the metric (as a quantity).", "type": "string" }, - "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "batch", - "Version": "v2alpha1", - "Kind": "CronJobList" + "metricName": { + "description": "metricName is the name of the metric in question.", + "type": "string" }, - { - "Group": "batch", - "Version": "v2alpha1", - "Kind": "ScheduledJobList" + "target": { + "description": "target is the described Kubernetes object.", + "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" } - ] + } }, - "v1.JobList": { - "description": "JobList is a collection of jobs.", + "v1.Binding": { + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "required": [ - "items" + "target" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of Job.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.Job" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "target": { + "description": "The target object that you want to bind to the standard object.", + "$ref": "#/definitions/v1.ObjectReference" } }, "x-kubernetes-group-version-kind": [ { - "Group": "batch", - "Version": "v1", - "Kind": "JobList" + "group": "", + "kind": "Binding", + "version": "v1" } ] }, - "extensions.v1beta1.Scale": { - "description": "represents a scaling request for a resource.", + "v1alpha1.ExternalAdmissionHookConfiguration": { + "description": "ExternalAdmissionHookConfiguration describes the configuration of initializers.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "externalAdmissionHooks": { + "description": "ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.ExternalAdmissionHook" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", - "$ref": "#/definitions/extensions.v1beta1.ScaleSpec" - }, - "status": { - "description": "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", - "$ref": "#/definitions/extensions.v1beta1.ScaleStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "Scale" + "group": "admissionregistration.k8s.io", + "kind": "ExternalAdmissionHookConfiguration", + "version": "v1alpha1" } ] }, - "v1.Taint": { - "description": "The node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.", + "v1beta2.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ - "key", - "effect" + "type", + "status" ], "properties": { - "effect": { - "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", "type": "string" }, - "key": { - "description": "Required. The taint key to be applied to a node.", + "reason": { + "description": "The reason for the condition's last transition.", "type": "string" }, - "timeAdded": { - "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", - "type": "string", - "format": "date-time" + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" }, - "value": { - "description": "Required. The taint value corresponding to the taint key.", + "type": { + "description": "Type of deployment condition.", "type": "string" } } }, - "v1beta1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "required": [ + "rules" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "deleteOptions": { - "description": "DeleteOptions may be provided", - "$ref": "#/definitions/v1.DeleteOptions" - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "ObjectMeta describes the pod that is being evicted.", + "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + } } }, "x-kubernetes-group-version-kind": [ { - "Group": "policy", - "Version": "v1beta1", - "Kind": "Eviction" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" } ] }, - "v1.NodeDaemonEndpoints": { - "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", - "properties": { - "kubeletEndpoint": { - "description": "Endpoint on which Kubelet is listening.", - "$ref": "#/definitions/v1.DaemonEndpoint" - } - } - }, - "v1.ObjectFieldSelector": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere volume resource.", "required": [ - "fieldPath" + "volumePath" ], "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", + "storagePolicyID": { + "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", "type": "string" - } - } - }, - "v1.SecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "capabilities": { - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", - "$ref": "#/definitions/v1.Capabilities" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" + "storagePolicyName": { + "description": "Storage Policy Based Management (SPBM) profile name.", + "type": "string" }, - "seLinuxOptions": { - "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "$ref": "#/definitions/v1.SELinuxOptions" + "volumePath": { + "description": "Path that identifies vSphere volume vmdk", + "type": "string" } } }, - "v1.ConfigMap": { - "description": "ConfigMap holds configuration data for pods to consume.", + "v1.NodeList": { + "description": "NodeList is the whole list of all Nodes which have been registered with master.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "data": { - "description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.", - "type": "object", - "additionalProperties": { - "type": "string" + "items": { + "description": "List of nodes", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Node" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ConfigMap" + "group": "", + "kind": "NodeList", + "version": "v1" } ] }, - "v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", - "required": [ - "min", - "max" - ], + "v1.EmptyDirVolumeSource": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { - "max": { - "description": "Max is the end of the range, inclusive.", - "type": "integer", - "format": "int64" + "medium": { + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" }, - "min": { - "description": "Min is the start of the range, inclusive.", - "type": "integer", - "format": "int64" + "sizeLimit": { + "description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", + "type": "string" } } }, - "v1beta1.CertificateSigningRequestSpec": { - "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", + "v1.NetworkPolicyPort": { + "description": "NetworkPolicyPort describes a port to allow traffic on", + "properties": { + "port": { + "description": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.", + "type": "string", + "format": "int-or-string" + }, + "protocol": { + "description": "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "type": "string" + } + } + }, + "v1beta1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", "required": [ - "request" + "allowed" ], "properties": { - "extra": { - "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "groups": { - "description": "Group information about the requesting user. See user.Info interface for details.", - "type": "array", - "items": { - "type": "string" - } - }, - "request": { - "description": "Base64-encoded PKCS#10 CSR data", - "type": "string", - "format": "byte" + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" }, - "uid": { - "description": "UID information about the requesting user. See user.Info interface for details.", + "evaluationError": { + "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", "type": "string" }, - "usages": { - "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12", + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", + "type": "string" + } + } + }, + "v1.Initializers": { + "description": "Initializers tracks the progress of initialization.", + "required": [ + "pending" + ], + "properties": { + "pending": { + "description": "Pending is a list of initializers that must execute in order before this object is visible. When the last pending initializer is removed, and no failing result is set, the initializers struct will be set to nil and the object is considered as initialized and visible to all clients.", "type": "array", - "items": { - "type": "string" - } + "items": { + "$ref": "#/definitions/v1.Initializer" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" }, - "username": { - "description": "Information about the requesting user. See user.Info interface for details.", - "type": "string" + "result": { + "description": "If result is set with the Failure field, the object will be persisted to storage and then deleted, ensuring that other clients can observe the deletion.", + "$ref": "#/definitions/v1.Status" } } }, - "v1.TokenReview": { - "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", + "v1beta1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "spec" + "subjects", + "roleRef" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { + "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" }, - "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1.TokenReviewSpec" + "roleRef": { + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1beta1.RoleRef" }, - "status": { - "description": "Status is filled in by the server and indicates whether the request can be authenticated.", - "$ref": "#/definitions/v1.TokenReviewStatus" + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Subject" + } } }, "x-kubernetes-group-version-kind": [ { - "Group": "authentication.k8s.io", - "Version": "v1", - "Kind": "TokenReview" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" } ] }, - "v1beta1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", + "v1.ContainerStateTerminated": { + "description": "ContainerStateTerminated is a terminated state of a container.", + "required": [ + "exitCode" + ], "properties": { - "token": { - "description": "Token is the opaque bearer token.", + "containerID": { + "description": "Container's ID in the format 'docker://'", + "type": "string" + }, + "exitCode": { + "description": "Exit status from the last termination of the container", + "type": "integer", + "format": "int32" + }, + "finishedAt": { + "description": "Time at which the container last terminated", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Message regarding the last termination of the container", + "type": "string" + }, + "reason": { + "description": "(brief) reason from the last termination of the container", "type": "string" + }, + "signal": { + "description": "Signal from the last termination of the container", + "type": "integer", + "format": "int32" + }, + "startedAt": { + "description": "Time at which previous execution of the container started", + "type": "string", + "format": "date-time" } } }, - "v1.SecretProjection": { - "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", + "v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "hosts": { + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", "type": "array", "items": { - "$ref": "#/definitions/v1.KeyToPath" + "type": "string" } }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "secretName": { + "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" } } }, - "v1beta1.SelfSubjectAccessReview": { - "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", + "v1beta1.StorageClass": { + "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "required": [ - "spec" + "provisioner" ], "properties": { + "allowVolumeExpansion": { + "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", + "type": "boolean" + }, "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "spec": { - "description": "Spec holds information about the request being evaluated. user and groups must be empty", - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec" + "mountOptions": { + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", + "type": "array", + "items": { + "type": "string" + } }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" + "parameters": { + "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioner": { + "description": "Provisioner indicates the type of the provisioner.", + "type": "string" + }, + "reclaimPolicy": { + "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", + "type": "string" } }, "x-kubernetes-group-version-kind": [ { - "Group": "authorization.k8s.io", - "Version": "v1beta1", - "Kind": "SelfSubjectAccessReview" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" } ] }, - "v1beta1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "required": [ - "template" - ], + "v1.PodStatus": { + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", "properties": { - "minReadySeconds": { - "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", - "format": "int32" + "conditions": { + "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "selector": { - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" + "containerStatuses": { + "description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ContainerStatus" + } }, - "template": { - "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" + "hostIP": { + "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", + "type": "string" }, - "templateGeneration": { - "description": "A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", - "format": "int64" + "initContainerStatuses": { + "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ContainerStatus" + } }, - "updateStrategy": { - "description": "An update strategy to replace existing DaemonSet pods with new pods.", - "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" + "message": { + "description": "A human readable message indicating details about why the pod is in this condition.", + "type": "string" + }, + "phase": { + "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "type": "string" + }, + "podIP": { + "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", + "type": "string" + }, + "qosClass": { + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md", + "type": "string" + }, + "reason": { + "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'", + "type": "string" + }, + "startTime": { + "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.", + "type": "string", + "format": "date-time" } } }, - "v2alpha1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "v1beta2.StatefulSetStatus": { + "description": "StatefulSetStatus represents the current state of a StatefulSet.", "required": [ - "schedule", - "jobTemplate" + "replicas" ], "properties": { - "concurrencyPolicy": { - "description": "ConcurrencyPolicy specifies how to treat concurrent executions of a Job. Defaults to Allow.", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "collisionCount": { + "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "type": "integer", "format": "int32" }, - "jobTemplate": { - "description": "JobTemplate is the object that describes the job that will be created when executing a CronJob.", - "$ref": "#/definitions/v2alpha1.JobTemplateSpec" + "currentReplicas": { + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", + "type": "integer", + "format": "int32" }, - "schedule": { - "description": "Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "currentRevision": { + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", "type": "string" }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", "type": "integer", "format": "int64" }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", + "readyReplicas": { + "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", "type": "integer", "format": "int32" }, - "suspend": { - "description": "Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" - } - } - }, - "v1.PersistentVolumeClaimStatus": { - "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", - "properties": { - "accessModes": { - "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1", - "type": "array", - "items": { - "type": "string" - } - }, - "capacity": { - "description": "Represents the actual resources of the underlying volume.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "replicas": { + "description": "replicas is the number of Pods created by the StatefulSet controller.", + "type": "integer", + "format": "int32" }, - "phase": { - "description": "Phase represents the current phase of PersistentVolumeClaim.", + "updateRevision": { + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", "type": "string" + }, + "updatedReplicas": { + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", + "type": "integer", + "format": "int32" } } }, - "v1beta1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", + "v1beta1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "maxUnavailable": { + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", + "type": "string", + "format": "int-or-string" }, - "error": { - "description": "Error indicates that the token couldn't be checked", - "type": "string" + "minAvailable": { + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", + "type": "string", + "format": "int-or-string" }, - "user": { - "description": "User is the UserInfo associated with the provided token.", - "$ref": "#/definitions/v1beta1.UserInfo" + "selector": { + "description": "Label query over pods whose evictions are managed by the disruption budget.", + "$ref": "#/definitions/v1.LabelSelector" } } }, - "v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "v1.AttachedVolume": { + "description": "AttachedVolume describes a volume attached to a node", "required": [ - "min", - "max" + "name", + "devicePath" ], "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "type": "integer", - "format": "int32" + "devicePath": { + "description": "DevicePath represents the device path where the volume should be available", + "type": "string" }, - "min": { - "description": "min is the start of the range, inclusive.", - "type": "integer", - "format": "int32" + "name": { + "description": "Name of the attached volume", + "type": "string" } } }, - "v1.Endpoints": { - "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "required": [ - "subsets" - ], + "v1.PersistentVolume": { + "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, - "subsets": { - "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EndpointSubset" - } + "spec": { + "description": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", + "$ref": "#/definitions/v1.PersistentVolumeSpec" + }, + "status": { + "description": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", + "$ref": "#/definitions/v1.PersistentVolumeStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Endpoints" + "group": "", + "kind": "PersistentVolume", + "version": "v1" } ] }, - "v1.Job": { - "description": "Job represents the configuration of a single job.", + "apps.v1beta1.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "type": "integer", + "format": "int32" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "collisionCount": { + "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", + "type": "integer", + "format": "int32" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/apps.v1beta1.DeploymentCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "spec": { - "description": "Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.JobSpec" + "observedGeneration": { + "description": "The generation observed by the deployment controller.", + "type": "integer", + "format": "int64" }, - "status": { - "description": "Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.JobStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "batch", - "Version": "v1", - "Kind": "Job" + "readyReplicas": { + "description": "Total number of ready pods targeted by this deployment.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "type": "integer", + "format": "int32" } - ] + } }, - "v2alpha1.HorizontalPodAutoscalerList": { - "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", + "v1.NetworkPolicyList": { + "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of horizontal pod autoscaler objects.", + "description": "Items is a list of schema objects.", "type": "array", "items": { - "$ref": "#/definitions/v2alpha1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "metadata is the standard list metadata.", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "autoscaling", - "Version": "v2alpha1", - "Kind": "HorizontalPodAutoscalerList" + "group": "networking.k8s.io", + "kind": "NetworkPolicyList", + "version": "v1" } ] }, - "v1.LimitRangeItem": { - "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", + "v1.ClientIPConfig": { + "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { - "default": { - "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "defaultRequest": { - "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "max": { - "description": "Max usage constraints on this kind by resource name.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "maxLimitRequestRatio": { - "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "min": { - "description": "Min usage constraints on this kind by resource name.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "type": { - "description": "Type of resource that this limit applies to.", + "timeoutSeconds": { + "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", + "type": "integer", + "format": "int32" + } + } + }, + "v1beta1.SELinuxStrategyOptions": { + "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "rule": { + "description": "type is the strategy that will dictate the allowable labels that may be set.", "type": "string" + }, + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md", + "$ref": "#/definitions/v1.SELinuxOptions" } } }, - "v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "v1alpha1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of ClusterRoles", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "authorization.k8s.io", - "Version": "v1", - "Kind": "SubjectAccessReview" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1alpha1" } ] }, - "v1beta1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", - "required": [ - "disruptedPods", - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" - ], + "v1.NonResourceAttributes": { + "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { - "currentHealthy": { - "description": "current number of healthy pods", - "type": "integer", - "format": "int32" - }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "type": "integer", - "format": "int32" - }, - "disruptedPods": { - "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", - "additionalProperties": { - "type": "string", - "format": "date-time" - } - }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", - "format": "int32" - }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "type": "integer", - "format": "int32" + "path": { + "description": "Path is the URL path of the request", + "type": "string" }, - "observedGeneration": { - "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", - "format": "int64" + "verb": { + "description": "Verb is the standard HTTP verb", + "type": "string" } } }, - "v1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "v1beta1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "required": [ + "schedule", + "jobTemplate" + ], "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", - "type": "string" - }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.", "type": "string" }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", - "type": "string" + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" + "jobTemplate": { + "description": "Specifies the job that will be created when executing a CronJob.", + "$ref": "#/definitions/v1beta1.JobTemplateSpec" }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", "type": "string" }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "type": "integer", + "format": "int64" }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", + "type": "integer", + "format": "int32" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } } }, - "v1.ConfigMapVolumeSource": { - "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", + "v1.StatusCause": { + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" - }, - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.KeyToPath" - } + "field": { + "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", + "type": "string" }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "message": { + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", "type": "string" }, - "optional": { - "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "reason": { + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "type": "string" } } }, - "v1.HTTPHeader": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "v1alpha1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", "required": [ - "name", - "value" + "namespace", + "name" ], "properties": { "name": { - "description": "The header field name", + "description": "Name is the name of the service Required", "type": "string" }, - "value": { - "description": "The header field value", + "namespace": { + "description": "Namespace is the namespace of the service Required", "type": "string" } } }, - "v1.ReplicationController": { - "description": "ReplicationController represents the configuration of a replication controller.", + "v1beta2.DaemonSetList": { + "description": "DaemonSetList is a collection of daemon sets.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "A list of daemon sets.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.DaemonSet" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ReplicationControllerSpec" - }, - "status": { - "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ReplicationControllerStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ReplicationController" + "group": "apps", + "kind": "DaemonSetList", + "version": "v1beta2" } ] }, - "v1.APIGroupList": { - "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", + "v1beta2.StatefulSetList": { + "description": "StatefulSetList is a collection of StatefulSets.", "required": [ - "groups" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "groups": { - "description": "groups is a list of APIGroup.", + "items": { "type": "array", "items": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - } - } - }, - "v1beta1.NetworkPolicy": { - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired behavior for this NetworkPolicy.", - "$ref": "#/definitions/v1beta1.NetworkPolicySpec" + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "NetworkPolicy" + "group": "apps", + "kind": "StatefulSetList", + "version": "v1beta2" } ] }, - "apps.v1beta1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", - "type": "string", - "format": "int-or-string" - }, - "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", - "type": "string", - "format": "int-or-string" - } - } - }, - "v1beta1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", - "required": [ - "replicas" - ], + "extensions.v1beta1.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "type": "integer", + "format": "int32" + }, + "collisionCount": { + "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", "type": "integer", "format": "int32" }, "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "description": "Represents the latest available observations of a deployment's current state.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.ReplicaSetCondition" - } - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", - "format": "int32" + "$ref": "#/definitions/extensions.v1beta1.DeploymentCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "description": "The generation observed by the deployment controller.", "type": "integer", "format": "int64" }, "readyReplicas": { - "description": "The number of ready replicas for this replica set.", + "description": "Total number of ready pods targeted by this deployment.", "type": "integer", "format": "int32" }, "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", "type": "integer", "format": "int32" } } }, - "v1.HTTPGetAction": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "v1.ResourceRule": { + "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ - "port" + "verbs" ], "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", "type": "array", "items": { - "$ref": "#/definitions/v1.HTTPHeader" + "type": "string" } }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } }, - "port": { - "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "type": "string", - "format": "int-or-string" + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + } } } }, - "v1.Affinity": { - "description": "Affinity is a group of affinity scheduling rules.", + "v1.DownwardAPIVolumeFile": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "required": [ + "path" + ], "properties": { - "nodeAffinity": { - "description": "Describes node affinity scheduling rules for the pod.", - "$ref": "#/definitions/v1.NodeAffinity" + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "$ref": "#/definitions/v1.ObjectFieldSelector" }, - "podAffinity": { - "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", - "$ref": "#/definitions/v1.PodAffinity" + "mode": { + "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" }, - "podAntiAffinity": { - "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", - "$ref": "#/definitions/v1.PodAntiAffinity" + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "$ref": "#/definitions/v1.ResourceFieldSelector" } } }, - "v1.APIGroup": { - "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", + "v1alpha1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "required": [ - "name", - "versions", - "serverAddressByClientCIDRs" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "name is the name of the group.", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "preferredVersion": { - "description": "preferredVersion is the version preferred by the API server, which probably is the storage version.", - "$ref": "#/definitions/v1.GroupVersionForDiscovery" - }, - "serverAddressByClientCIDRs": { - "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", + "items": { + "description": "Items is a list of ClusterRoleBindings", "type": "array", "items": { - "$ref": "#/definitions/v1.ServerAddressByClientCIDR" + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" } }, - "versions": { - "description": "versions are the versions supported in this group.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1alpha1" + } + ] + }, + "v1.ContainerImage": { + "description": "Describe a container image", + "required": [ + "names" + ], + "properties": { + "names": { + "description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", "type": "array", "items": { - "$ref": "#/definitions/v1.GroupVersionForDiscovery" + "type": "string" } + }, + "sizeBytes": { + "description": "The size of the image in bytes.", + "type": "integer", + "format": "int64" } } }, - "v1.ComponentCondition": { - "description": "Information about the condition of a component.", - "required": [ - "type", - "status" - ], + "v1.Namespace": { + "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { - "error": { - "description": "Condition error code for a component. For example, a health check error code.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "message": { - "description": "Message about the condition for a component. For example, information about a health check.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", - "type": "string" + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" }, - "type": { - "description": "Type of condition for a component. Valid value: \"Healthy\"", - "type": "string" + "spec": { + "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.NamespaceSpec" + }, + "status": { + "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.NamespaceStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Namespace", + "version": "v1" + } + ] }, - "v1.ReplicationControllerCondition": { - "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", + "v1beta1.ReplicaSetCondition": { + "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "required": [ "type", "status" @@ -40826,1294 +65258,1190 @@ "type": "string" }, "type": { - "description": "Type of replication controller condition.", + "description": "Type of replica set condition.", "type": "string" } } }, - "v1.APIVersions": { - "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", + "v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", "required": [ - "versions", - "serverAddressByClientCIDRs" + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "architecture": { + "description": "The Architecture reported by the node", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "bootID": { + "description": "Boot ID reported by the node.", "type": "string" }, - "serverAddressByClientCIDRs": { - "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ServerAddressByClientCIDR" - } + "containerRuntimeVersion": { + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", + "type": "string" }, - "versions": { - "description": "versions are the api versions that are available.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "v1beta1.CertificateSigningRequest": { - "description": "Describes a certificate signing request", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "kernelVersion": { + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "kubeProxyVersion": { + "description": "KubeProxy Version reported by the node.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" + "kubeletVersion": { + "description": "Kubelet Version reported by the node.", + "type": "string" }, - "spec": { - "description": "The certificate request itself and any additional information.", - "$ref": "#/definitions/v1beta1.CertificateSigningRequestSpec" + "machineID": { + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", + "type": "string" }, - "status": { - "description": "Derived information about the request.", - "$ref": "#/definitions/v1beta1.CertificateSigningRequestStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "certificates.k8s.io", - "Version": "v1beta1", - "Kind": "CertificateSigningRequest" - } - ] - }, - "v2alpha1.ObjectMetricStatus": { - "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "required": [ - "target", - "metricName", - "currentValue" - ], - "properties": { - "currentValue": { - "description": "currentValue is the current value of the metric (as a quantity).", + "operatingSystem": { + "description": "The Operating System reported by the node", "type": "string" }, - "metricName": { - "description": "metricName is the name of the metric in question.", + "osImage": { + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", "type": "string" }, - "target": { - "description": "target is the described Kubernetes object.", - "$ref": "#/definitions/v2alpha1.CrossVersionObjectReference" + "systemUUID": { + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", + "type": "string" } } }, - "v1beta1.LocalSubjectAccessReview": { - "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", + "v1beta1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of ClusterRoles", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "authorization.k8s.io", - "Version": "v1beta1", - "Kind": "LocalSubjectAccessReview" + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1beta1" } ] }, - "v1.WatchEvent": { - "description": "Event represents a single event to a watched resource.", + "v1.PodCondition": { + "description": "PodCondition contains details for the current condition of this pod.", "required": [ "type", - "object" + "status" ], "properties": { - "object": { - "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", - "$ref": "#/definitions/runtime.RawExtension" + "lastProbeTime": { + "description": "Last time we probed the condition.", + "type": "string", + "format": "date-time" }, - "type": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" - } - } - }, - "v1.CinderVolumeSource": { - "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", - "required": [ - "volumeID" - ], - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "string" }, - "volumeID": { - "description": "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": { + "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } }, - "v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "v1.ConfigMapList": { + "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is the list of ConfigMaps.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ConfigMap" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaSpec" - }, - "status": { - "description": "Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaStatus" + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ResourceQuota" + "group": "", + "kind": "ConfigMapList", + "version": "v1" } ] }, - "v1.LimitRange": { - "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", + "v1beta2.DeploymentList": { + "description": "DeploymentList is a list of Deployments.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is the list of Deployments.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.Deployment" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.LimitRangeSpec" + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "LimitRange" + "group": "apps", + "kind": "DeploymentList", + "version": "v1beta2" + } + ] + }, + "v1.Handler": { + "description": "Handler defines a specific action that should be taken", + "properties": { + "exec": { + "description": "One and only one of the following should be specified. Exec specifies the action to take.", + "$ref": "#/definitions/v1.ExecAction" + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "$ref": "#/definitions/v1.HTTPGetAction" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", + "$ref": "#/definitions/v1.TCPSocketAction" } - ] + } }, - "v1beta1.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", + "v1beta1.ControllerRevisionList": { + "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "A list of daemon sets.", + "description": "Items is the list of ControllerRevisions", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.DaemonSet" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "DaemonSetList" + "group": "apps", + "kind": "ControllerRevisionList", + "version": "v1beta1" } ] }, - "apps.v1beta1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "v1.HorizontalPodAutoscalerList": { + "description": "list of horizontal pod autoscaler objects.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.", - "$ref": "#/definitions/apps.v1beta1.ScaleSpec" - }, - "status": { - "description": "current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.", - "$ref": "#/definitions/apps.v1beta1.ScaleStatus" + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "apps", - "Version": "v1beta1", - "Kind": "Scale" + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v1" } ] }, - "v1.PodTemplateList": { - "description": "PodTemplateList is a list of PodTemplates.", + "v1beta1.CertificateSigningRequestSpec": { + "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", "required": [ - "items" + "request" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "extra": { + "description": "Extra information about the requesting user. See user.Info interface for details.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } }, - "items": { - "description": "List of pod templates", + "groups": { + "description": "Group information about the requesting user. See user.Info interface for details.", "type": "array", "items": { - "$ref": "#/definitions/v1.PodTemplate" + "type": "string" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "request": { + "description": "Base64-encoded PKCS#10 CSR data", + "type": "string", + "format": "byte" + }, + "uid": { + "description": "UID information about the requesting user. See user.Info interface for details.", "type": "string" }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "PodTemplateList" + "usages": { + "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12", + "type": "array", + "items": { + "type": "string" + } + }, + "username": { + "description": "Information about the requesting user. See user.Info interface for details.", + "type": "string" } - ] + } }, - "v1beta1.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", + "apps.v1beta1.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", "properties": { + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "type": "string", + "format": "int-or-string" + }, "maxUnavailable": { - "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "string", "format": "int-or-string" } } }, - "v1.PodAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key tches that of any node on which a pod of the set of pods is running", + "v1.NodeAffinity": { + "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { - "labelSelector": { - "description": "A label query over a set of resources, in this case pods.", - "$ref": "#/definitions/v1.LabelSelector" - }, - "namespaces": { - "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.PreferredSchedulingTerm" } }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.", - "type": "string" + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", + "$ref": "#/definitions/v1.NodeSelector" } } }, - "v1beta1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "v1beta1.PodSecurityPolicyList": { + "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "required": [ + "items" + ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired behavior of the PodDisruptionBudget.", - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetSpec" - }, - "status": { - "description": "Most recently observed status of the PodDisruptionBudget.", - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetStatus" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "policy", - "Version": "v1beta1", - "Kind": "PodDisruptionBudget" + "group": "extensions", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" } ] }, - "v1.VolumeMount": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "required": [ - "name", - "mountPath" - ], - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - } - } - }, - "v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", - "required": [ - "rules" - ], + "v1alpha1.PodPreset": { + "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.PolicyRule" - } + "spec": { + "$ref": "#/definitions/v1alpha1.PodPresetSpec" } }, "x-kubernetes-group-version-kind": [ { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "ClusterRole" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } ] }, - "v1.PersistentVolumeStatus": { - "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "v1.SecretVolumeSource": { + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", "properties": { - "message": { - "description": "A human-readable message indicating details about why the volume is in this state.", - "type": "string" + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" }, - "phase": { - "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase", - "type": "string" + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.KeyToPath" + } }, - "reason": { - "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", + "optional": { + "description": "Specify whether the Secret or it's keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", "type": "string" } } }, - "v1.SelfSubjectAccessReview": { - "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", + "v1beta1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "required": [ - "spec" + "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items individual CustomResourceDefinitions", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated. user and groups must be empty", - "$ref": "#/definitions/v1.SelfSubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1.SubjectAccessReviewStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "authorization.k8s.io", - "Version": "v1", - "Kind": "SelfSubjectAccessReview" + "$ref": "#/definitions/v1.ListMeta" } - ] + } }, - "v1alpha1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", - "required": [ - "subjects", - "roleRef" - ], + "v1.Toleration": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" + "operator": { + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", + "type": "string" }, - "roleRef": { - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", - "$ref": "#/definitions/v1alpha1.RoleRef" + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.Subject" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "RoleBinding" + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" } - ] + } }, - "extensions.v1beta1.RollbackConfig": { + "apps.v1beta1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollbck to the last revision.", + "replicas": { + "description": "desired number of instances for the scaled object.", "type": "integer", - "format": "int64" + "format": "int32" } } }, - "v1beta1.NetworkPolicyPeer": { + "v1.EndpointAddress": { + "description": "EndpointAddress is a tuple that describes single IP address.", + "required": [ + "ip" + ], "properties": { - "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", - "$ref": "#/definitions/v1.LabelSelector" + "hostname": { + "description": "The Hostname of this endpoint", + "type": "string" }, - "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", - "$ref": "#/definitions/v1.LabelSelector" + "ip": { + "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", + "type": "string" + }, + "nodeName": { + "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", + "type": "string" + }, + "targetRef": { + "description": "Reference to object providing the endpoint.", + "$ref": "#/definitions/v1.ObjectReference" } } }, - "v1.PodList": { - "description": "PodList is a list of Pods.", + "v1beta1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of pods. More info: http://kubernetes.io/docs/user-guide/pods", + "description": "Items is the list of StorageClasses", "type": "array", "items": { - "$ref": "#/definitions/v1.Pod" + "$ref": "#/definitions/v1beta1.StorageClass" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "PodList" + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1beta1" } ] }, - "v1.NodeStatus": { - "description": "NodeStatus is information about the current status of a node.", - "properties": { - "addresses": { - "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses", - "type": "array", - "items": { - "$ref": "#/definitions/v1.NodeAddress" - } - }, - "allocatable": { - "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "capacity": { - "description": "Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition", - "type": "array", - "items": { - "$ref": "#/definitions/v1.NodeCondition" - } - }, - "daemonEndpoints": { - "description": "Endpoints of daemons running on the Node.", - "$ref": "#/definitions/v1.NodeDaemonEndpoints" - }, - "images": { - "description": "List of container images on this node", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ContainerImage" - } - }, - "nodeInfo": { - "description": "Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info", - "$ref": "#/definitions/v1.NodeSystemInfo" - }, - "phase": { - "description": "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.", - "type": "string" - }, - "volumesAttached": { - "description": "List of volumes that are attached to the node.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.AttachedVolume" - } - }, - "volumesInUse": { - "description": "List of attachable volumes in use (mounted) by the node.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "v1.EventList": { - "description": "EventList is a list of events.", - "required": [ - "items" - ], + "v1beta2.ReplicaSet": { + "description": "ReplicaSet represents the configuration of a ReplicaSet.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "List of events", - "type": "array", - "items": { - "$ref": "#/definitions/v1.Event" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" + "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta2.ReplicaSetSpec" + }, + "status": { + "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta2.ReplicaSetStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "EventList" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } ] }, - "v1.HostPathVolumeSource": { - "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", - "required": [ - "path" - ], + "extensions.v1beta1.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", "properties": { - "path": { - "description": "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", - "type": "string" + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "type": "string", + "format": "int-or-string" + }, + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "type": "string", + "format": "int-or-string" } } }, - "v1.ExecAction": { - "description": "ExecAction describes a \"run in container\" action.", + "v1.AzureFileVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "required": [ + "secretName", + "shareName" + ], "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "type": "array", - "items": { - "type": "string" - } + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "Share Name", + "type": "string" } } }, - "v1.ContainerStateRunning": { - "description": "ContainerStateRunning is a running state of a container.", + "v1.PodTemplateSpec": { + "description": "PodTemplateSpec describes the data a pod should have when created from a template", "properties": { - "startedAt": { - "description": "Time at which the container was last (re-)started", - "type": "string", - "format": "date-time" + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.PodSpec" } } }, - "v1alpha1.PodPresetSpec": { - "description": "PodPresetSpec is a description of a pod injection policy.", + "v1.PodSpec": { + "description": "PodSpec is a description of a pod.", + "required": [ + "containers" + ], "properties": { - "env": { - "description": "Env defines the collection of EnvVar to inject into containers.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EnvVar" - } + "activeDeadlineSeconds": { + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", + "type": "integer", + "format": "int64" }, - "envFrom": { - "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EnvFromSource" - } + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "$ref": "#/definitions/v1.Affinity" }, - "selector": { - "description": "Selector is a label query over a set of resources, in this case pods. Required.", - "$ref": "#/definitions/v1.LabelSelector" + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" }, - "volumeMounts": { - "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", + "containers": { + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", "type": "array", "items": { - "$ref": "#/definitions/v1.VolumeMount" - } + "$ref": "#/definitions/v1.Container" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" }, - "volumes": { - "description": "Volumes defines the collection of Volume to inject into the pod.", + "dnsPolicy": { + "description": "Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", + "type": "string" + }, + "hostAliases": { + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "type": "array", "items": { - "$ref": "#/definitions/v1.Volume" - } - } - } - }, - "v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "$ref": "#/definitions/v1.HostAlias" + }, + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "hostIPC": { + "description": "Use the host's ipc namespace. Optional: Default to false.", + "type": "boolean" + }, + "hostNetwork": { + "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", + "type": "boolean" + }, + "hostPID": { + "description": "Use the host's pid namespace. Optional: Default to false.", + "type": "boolean" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "hostname": { + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "spec defines the policy enforced.", - "$ref": "#/definitions/v1beta1.PodSecurityPolicySpec" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "PodSecurityPolicy" - } - ] - }, - "v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", - "properties": { - "conditions": { - "description": "Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", + "imagePullSecrets": { + "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", "type": "array", "items": { - "$ref": "#/definitions/v1.PodCondition" - } + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" }, - "containerStatuses": { - "description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses", + "initContainers": { + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", "type": "array", "items": { - "$ref": "#/definitions/v1.ContainerStatus" - } + "$ref": "#/definitions/v1.Container" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" }, - "hostIP": { - "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", + "nodeName": { + "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", "type": "string" }, - "initContainerStatuses": { - "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ContainerStatus" + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "message": { - "description": "A human readable message indicating details about why the pod is in this condition.", - "type": "string" + "priority": { + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", + "type": "integer", + "format": "int32" }, - "phase": { - "description": "Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase", + "priorityClassName": { + "description": "If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, - "podIP": { - "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", + "restartPolicy": { + "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" }, - "qosClass": { - "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md", + "schedulerName": { + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "type": "string" }, - "reason": { - "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'", - "type": "string" + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", + "$ref": "#/definitions/v1.PodSecurityContext" }, - "startTime": { - "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.", - "type": "string", - "format": "date-time" - } - } - }, - "v1.NodeSelector": { - "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", - "required": [ - "nodeSelectorTerms" - ], - "properties": { - "nodeSelectorTerms": { - "description": "Required. A list of node selector terms. The terms are ORed.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.NodeSelectorTerm" - } - } - } - }, - "v1.PodTemplateSpec": { - "description": "PodTemplateSpec describes the data a pod should have when created from a template", - "properties": { - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "serviceAccount": { + "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", + "type": "string" }, - "spec": { - "description": "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.PodSpec" - } - } - }, - "apps.v1beta1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", - "properties": { - "rollingUpdate": { - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", - "$ref": "#/definitions/apps.v1beta1.RollingUpdateDeployment" + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "subdomain": { + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", "type": "string" - } - } - }, - "v1beta1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", - "properties": { - "minAvailable": { - "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", - "type": "string", - "format": "int-or-string" }, - "selector": { - "description": "Label query over pods whose evictions are managed by the disruption budget.", - "$ref": "#/definitions/v1.LabelSelector" - } - } - }, - "v1.NodeAffinity": { - "description": "Node affinity is a group of node affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", "type": "array", "items": { - "$ref": "#/definitions/v1.PreferredSchedulingTerm" + "$ref": "#/definitions/v1.Toleration" } }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", - "$ref": "#/definitions/v1.NodeSelector" + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Volume" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" } } }, - "v1beta1.ThirdPartyResourceList": { - "description": "ThirdPartyResourceList is a list of ThirdPartyResources.", + "v1beta2.ReplicaSetList": { + "description": "ReplicaSetList is a collection of ReplicaSets.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of ThirdPartyResources.", + "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.ThirdPartyResource" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata.", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "ThirdPartyResourceList" + "group": "apps", + "kind": "ReplicaSetList", + "version": "v1beta2" } ] }, - "v1beta1.StorageClass": { - "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "v1beta1.APIServiceSpec": { + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ - "provisioner" + "service", + "caBundle", + "groupPriorityMinimum", + "versionPriority" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "type": "string", + "format": "byte" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "group": { + "description": "Group is the API group name this server hosts", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "type": "integer", + "format": "int32" }, - "parameters": { - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" }, - "provisioner": { - "description": "Provisioner indicates the type of the provisioner.", + "service": { + "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", + "$ref": "#/definitions/v1beta1.ServiceReference" + }, + "version": { + "description": "Version is the API version this server hosts. For example, \"v1\"", "type": "string" + }, + "versionPriority": { + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "type": "integer", + "format": "int32" } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "storage.k8s.io", - "Version": "v1beta1", - "Kind": "StorageClass" - } - ] + } }, - "v1beta1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", - "required": [ - "serviceName", - "servicePort" - ], + "v1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { - "serviceName": { - "description": "Specifies the name of the referenced service.", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" - }, - "servicePort": { - "description": "Specifies the port of the referenced service.", - "type": "string", - "format": "int-or-string" } } }, - "v1beta1.RoleList": { - "description": "RoleList is a collection of Roles", - "required": [ - "items" - ], + "v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "API version of the referent.", "type": "string" }, - "items": { - "description": "Items is a list of Roles", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Role" - } + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1beta1", - "Kind": "RoleList" - } - ] - }, - "v1.Pod": { - "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.PodSpec" + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", + "type": "string" }, - "status": { - "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.PodStatus" + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "", - "Version": "v1", - "Kind": "Pod" + } + }, + "v2beta1.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + }, + "targetAverageUtilization": { + "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "targetAverageValue": { + "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.", + "type": "string" } - ] + } }, - "v1.NodeSpec": { - "description": "NodeSpec describes the attributes that a node is created with.", + "v1.ResourceFieldSelector": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "required": [ + "resource" + ], "properties": { - "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "containerName": { + "description": "Container name: required for volumes, optional for env vars", "type": "string" }, - "podCIDR": { - "description": "PodCIDR represents the pod IP range assigned to the node.", + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "type": "string" }, - "providerID": { - "description": "ID of the node assigned by the cloud provider in the format: ://", + "resource": { + "description": "Required: resource to select", "type": "string" + } + } + }, + "v1.EndpointSubset": { + "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", + "properties": { + "addresses": { + "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.EndpointAddress" + } }, - "taints": { - "description": "If specified, the node's taints.", + "notReadyAddresses": { + "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", "type": "array", "items": { - "$ref": "#/definitions/v1.Taint" + "$ref": "#/definitions/v1.EndpointAddress" } }, - "unschedulable": { - "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration", - "type": "boolean" + "ports": { + "description": "Port numbers available on the related IP addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.EndpointPort" + } } } }, - "v1.CephFSVolumeSource": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "apps.v1beta1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ - "monitors" + "template" ], "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "array", - "items": { - "type": "string" - } - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "paused": { + "description": "Indicates that the deployment is paused.", "type": "boolean" }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "string" + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", + "type": "integer", + "format": "int32" }, - "secretRef": { - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "$ref": "#/definitions/v1.LocalObjectReference" + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "string" + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", + "type": "integer", + "format": "int32" + }, + "rollbackTo": { + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", + "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" } } }, - "v1.PersistentVolumeClaimVolumeSource": { - "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "v1beta1.JSONSchemaPropsOrStringArray": { + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", "required": [ - "claimName" + "Schema", + "Property" ], "properties": { - "claimName": { - "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", - "type": "string" + "Property": { + "type": "array", + "items": { + "type": "string" + } }, - "readOnly": { - "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "Schema": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" } } }, - "v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "v2beta1.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "required": [ - "backend" + "kind", + "name" ], "properties": { - "backend": { - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to.", - "$ref": "#/definitions/v1beta1.IngressBackend" + "apiVersion": { + "description": "API version of the referent", + "type": "string" }, - "path": { - "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } } }, - "v2alpha1.HorizontalPodAutoscalerStatus": { - "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "extensions.v1beta1.DeploymentList": { + "description": "DeploymentList is a list of Deployments.", "required": [ - "currentReplicas", - "desiredReplicas", - "currentMetrics" + "items" ], "properties": { - "currentMetrics": { - "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of Deployments.", "type": "array", "items": { - "$ref": "#/definitions/v2alpha1.MetricStatus" + "$ref": "#/definitions/extensions.v1beta1.Deployment" } }, - "currentReplicas": { - "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", - "format": "int32" - }, - "desiredReplicas": { - "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", - "format": "int32" - }, - "lastScaleTime": { - "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", - "type": "string", - "format": "date-time" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", - "format": "int64" + "metadata": { + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "DeploymentList", + "version": "v1beta1" + } + ] }, - "v1.ContainerStateTerminated": { - "description": "ContainerStateTerminated is a terminated state of a container.", + "v1beta1.PodSecurityPolicySpec": { + "description": "Pod Security Policy Spec defines the policy enforced.", "required": [ - "exitCode" + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" ], "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://'", - "type": "string" + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation.", + "type": "boolean" }, - "exitCode": { - "description": "Exit status from the last termination of the container", - "type": "integer", - "format": "int32" + "allowedCapabilities": { + "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", + "type": "array", + "items": { + "type": "string" + } }, - "finishedAt": { - "description": "Time at which the container last terminated", - "type": "string", - "format": "date-time" + "allowedHostPaths": { + "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.AllowedHostPath" + } }, - "message": { - "description": "Message regarding the last termination of the container", - "type": "string" + "defaultAddCapabilities": { + "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", + "type": "array", + "items": { + "type": "string" + } }, - "reason": { - "description": "(brief) reason from the last termination of the container", - "type": "string" + "defaultAllowPrivilegeEscalation": { + "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" }, - "signal": { - "description": "Signal from the last termination of the container", - "type": "integer", - "format": "int32" + "fsGroup": { + "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "$ref": "#/definitions/v1beta1.FSGroupStrategyOptions" + }, + "hostIPC": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.HostPortRange" + } }, - "startedAt": { - "description": "Time at which previous execution of the container started", - "type": "string", - "format": "date-time" - } - } - }, - "v1beta1.NetworkPolicyList": { - "description": "Network Policy List is a list of NetworkPolicy objects.", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", - "type": "string" + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "type": "boolean" }, - "items": { - "description": "Items is a list of schema objects.", + "readOnlyRootFilesystem": { + "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "type": "boolean" + }, + "requiredDropCapabilities": { + "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "type": "string" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/v1beta1.RunAsUserStrategyOptions" }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "extensions", - "Version": "v1beta1", - "Kind": "NetworkPolicyList" - } - ] - }, - "v1.NodeSelectorRequirement": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "required": [ - "key", - "operator" - ], - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$ref": "#/definitions/v1beta1.SELinuxStrategyOptions" }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" + "supplementalGroups": { + "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "$ref": "#/definitions/v1beta1.SupplementalGroupsStrategyOptions" }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "volumes": { + "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", "type": "array", "items": { "type": "string" @@ -42121,25 +66449,39 @@ } } }, - "v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", + "v1alpha1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "required": [ - "allowed" + "rules" ], "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.PolicyRule" + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + ] }, "v1.RBDVolumeSource": { "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", @@ -42149,621 +66491,780 @@ ], "properties": { "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd", + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", "type": "string" }, "image": { - "description": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" }, "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" }, "monitors": { - "description": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "array", "items": { "type": "string" } }, "pool": { - "description": "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.", + "description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" }, "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "boolean" }, "secretRef": { - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "$ref": "#/definitions/v1.LocalObjectReference" }, "user": { - "description": "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" } } }, - "v1.HorizontalPodAutoscalerSpec": { - "description": "specification of a horizontal pod autoscaler.", + "v1beta1.FSGroupStrategyOptions": { + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "properties": { + "ranges": { + "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IDRange" + } + }, + "rule": { + "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "type": "string" + } + } + }, + "extensions.v1beta1.ScaleStatus": { + "description": "represents the current status of a scale subresource.", "required": [ - "scaleTargetRef", - "maxReplicas" + "replicas" ], "properties": { - "maxReplicas": { - "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", + "replicas": { + "description": "actual number of observed instances of the scaled object.", "type": "integer", "format": "int32" }, - "minReplicas": { - "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", + "selector": { + "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetSelector": { + "description": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "type": "string" + } + } + }, + "v1beta2.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "required": [ + "template" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "type": "integer", "format": "int32" }, - "scaleTargetRef": { - "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.", - "$ref": "#/definitions/v1.CrossVersionObjectReference" + "paused": { + "description": "Indicates that the deployment is paused.", + "type": "boolean" }, - "targetCPUUtilizationPercentage": { - "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", "type": "integer", "format": "int32" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "$ref": "#/definitions/v1beta2.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" } } }, - "v1beta1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "v1beta1.NetworkPolicy": { + "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior for this NetworkPolicy.", + "$ref": "#/definitions/v1beta1.NetworkPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + ] + }, + "v1beta1.IngressList": { + "description": "IngressList is a collection of Ingress.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of StorageClasses", + "description": "Items is the list of Ingress.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.StorageClass" + "$ref": "#/definitions/v1beta1.Ingress" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "storage.k8s.io", - "Version": "v1beta1", - "Kind": "StorageClassList" + "group": "extensions", + "kind": "IngressList", + "version": "v1beta1" } ] }, - "extensions.v1beta1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "required": [ - "type", - "status" - ], + "apps.v1beta1.Deployment": { + "description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.", "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" - }, - "lastUpdateTime": { - "description": "The last time this condition was updated.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "A human readable message indicating details about the transition.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "The reason for the condition's last transition.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" + "metadata": { + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "type": { - "description": "Type of deployment condition.", - "type": "string" + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/apps.v1beta1.DeploymentSpec" + }, + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/apps.v1beta1.DeploymentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + } + ] }, - "v1.DownwardAPIVolumeFile": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "v1.GlusterfsVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "required": [ + "endpoints", "path" ], "properties": { - "fieldRef": { - "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", - "$ref": "#/definitions/v1.ObjectFieldSelector" - }, - "mode": { - "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", - "format": "int32" + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" }, "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", "type": "string" }, - "resourceFieldRef": { - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", - "$ref": "#/definitions/v1.ResourceFieldSelector" + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" } } }, - "v1.PreferredSchedulingTerm": { - "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", - "required": [ - "weight", - "preference" - ], + "v1beta1.JSONSchemaProps": { + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", "properties": { - "preference": { - "description": "A node selector term, associated with the corresponding weight.", - "$ref": "#/definitions/v1.NodeSelectorTerm" + "$ref": { + "type": "string" }, - "weight": { - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", - "format": "int32" - } - } - }, - "v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], - "properties": { - "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "$schema": { + "type": "string" + }, + "additionalItems": { + "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + }, + "additionalProperties": { + "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + }, + "allOf": { "type": "array", "items": { - "$ref": "#/definitions/v1.NodeSelectorRequirement" + "$ref": "#/definitions/v1beta1.JSONSchemaProps" } - } - } - }, - "v1.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "required": [ - "key", - "operator" - ], - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", + }, + "anyOf": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "default": { + "$ref": "#/definitions/v1beta1.JSON" + }, + "definitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "dependencies": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrStringArray" + } + }, + "description": { "type": "string" }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "enum": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.JSON" + } + }, + "example": { + "$ref": "#/definitions/v1beta1.JSON" + }, + "exclusiveMaximum": { + "type": "boolean" + }, + "exclusiveMinimum": { + "type": "boolean" + }, + "externalDocs": { + "$ref": "#/definitions/v1beta1.ExternalDocumentation" + }, + "format": { "type": "string" }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "id": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrArray" + }, + "maxItems": { + "type": "integer", + "format": "int64" + }, + "maxLength": { + "type": "integer", + "format": "int64" + }, + "maxProperties": { + "type": "integer", + "format": "int64" + }, + "maximum": { + "type": "number", + "format": "double" + }, + "minItems": { + "type": "integer", + "format": "int64" + }, + "minLength": { + "type": "integer", + "format": "int64" + }, + "minProperties": { + "type": "integer", + "format": "int64" + }, + "minimum": { + "type": "number", + "format": "double" + }, + "multipleOf": { + "type": "number", + "format": "double" + }, + "not": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + }, + "oneOf": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "pattern": { + "type": "string" + }, + "patternProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "required": { "type": "array", "items": { "type": "string" } + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uniqueItems": { + "type": "boolean" } } }, - "v1.GlusterfsVolumeSource": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "v1.ContainerStatus": { + "description": "ContainerStatus contains details for the current status of this container.", "required": [ - "endpoints", - "path" + "name", + "ready", + "restartCount", + "image", + "imageID" ], "properties": { - "endpoints": { - "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "containerID": { + "description": "Container's ID in the format 'docker://'.", "type": "string" }, - "path": { - "description": "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "image": { + "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "imageID": { + "description": "ImageID of the container's image.", + "type": "string" + }, + "lastState": { + "description": "Details about the container's last termination condition.", + "$ref": "#/definitions/v1.ContainerState" + }, + "name": { + "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", + "type": "string" + }, + "ready": { + "description": "Specifies whether the container has passed its readiness probe.", "type": "boolean" + }, + "restartCount": { + "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", + "type": "integer", + "format": "int32" + }, + "state": { + "description": "Details about the container's current condition.", + "$ref": "#/definitions/v1.ContainerState" } } }, - "apps.v1beta1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", + "v1beta1.JSONSchemaPropsOrArray": { + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", "required": [ - "items" + "Schema", + "JSONSchemas" ], + "properties": { + "JSONSchemas": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + }, + "Schema": { + "$ref": "#/definitions/v1beta1.JSONSchemaProps" + } + } + }, + "v1.ServiceAccount": { + "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is the list of Deployments.", + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", + "type": "boolean" + }, + "imagePullSecrets": { + "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", "type": "array", "items": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.LocalObjectReference" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/v1.ListMeta" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "secrets": { + "description": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ObjectReference" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" } }, "x-kubernetes-group-version-kind": [ { - "Group": "apps", - "Version": "v1beta1", - "Kind": "DeploymentList" + "group": "", + "kind": "ServiceAccount", + "version": "v1" } ] }, - "v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "v1.HTTPHeader": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "required": [ + "name", + "value" + ], "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } + "name": { + "description": "The header field name", + "type": "string" }, - "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "value": { + "description": "The header field value", "type": "string" } } }, - "v1.ServiceList": { - "description": "ServiceList holds a list of services.", + "v1alpha1.InitializerConfigurationList": { + "description": "InitializerConfigurationList is a list of InitializerConfiguration.", "required": [ "items" ], "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "items": { - "description": "List of services", + "description": "List of InitializerConfiguration.", "type": "array", "items": { - "$ref": "#/definitions/v1.Service" + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" } }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "ServiceList" + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfigurationList", + "version": "v1alpha1" } ] }, - "v1.Node": { - "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", + "v1.EventSource": { + "description": "EventSource contains information for an event.", + "properties": { + "component": { + "description": "Component from which the event is generated.", + "type": "string" + }, + "host": { + "description": "Node name on which the event is generated.", + "type": "string" + } + } + }, + "v1beta1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "properties": { + "metadata": { + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.JobSpec" + } + } + }, + "v2alpha1.CronJob": { + "description": "CronJob represents the configuration of a single cron job.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.NodeSpec" + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v2alpha1.CronJobSpec" }, "status": { - "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.NodeStatus" + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v2alpha1.CronJobStatus" } }, "x-kubernetes-group-version-kind": [ { - "Group": "", - "Version": "v1", - "Kind": "Node" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } ] }, - "v1.Container": { - "description": "A single application container that you want to run within a pod.", + "v1alpha1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "name" + "subjects", + "roleRef" ], "properties": { - "args": { - "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", - "type": "array", - "items": { - "type": "string" - } - }, - "command": { - "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", - "type": "array", - "items": { - "type": "string" - } - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EnvVar" - } - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.EnvFromSource" - } - }, - "image": { - "description": "Docker image name. More info: http://kubernetes.io/docs/user-guide/images", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "lifecycle": { - "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", - "$ref": "#/definitions/v1.Lifecycle" - }, - "livenessProbe": { - "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", - "$ref": "#/definitions/v1.Probe" + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" + "roleRef": { + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1alpha1.RoleRef" }, - "ports": { - "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", "type": "array", "items": { - "$ref": "#/definitions/v1.ContainerPort" + "$ref": "#/definitions/v1alpha1.Subject" } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + ] + }, + "v1.DownwardAPIVolumeSource": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" }, - "readinessProbe": { - "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", - "$ref": "#/definitions/v1.Probe" - }, - "resources": { - "description": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", - "$ref": "#/definitions/v1.ResourceRequirements" - }, - "securityContext": { - "description": "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md", - "$ref": "#/definitions/v1.SecurityContext" - }, - "stdin": { - "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" - }, - "stdinOnce": { - "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" - }, - "terminationMessagePath": { - "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "items": { + "description": "Items is a list of downward API volume file", "type": "array", "items": { - "$ref": "#/definitions/v1.VolumeMount" + "$ref": "#/definitions/v1.DownwardAPIVolumeFile" } - }, - "workingDir": { - "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "type": "string" } } }, - "v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", - "required": [ - "repository" - ], + "v1.NodeDaemonEndpoints": { + "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", "properties": { - "directory": { - "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", - "type": "string" - }, - "repository": { - "description": "Repository URL", - "type": "string" - }, - "revision": { - "description": "Commit hash for the specified revision.", - "type": "string" + "kubeletEndpoint": { + "description": "Endpoint on which Kubelet is listening.", + "$ref": "#/definitions/v1.DaemonEndpoint" } } }, - "v2alpha1.PodsMetricSource": { - "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", - "required": [ - "metricName", - "targetAverageValue" - ], + "v1beta1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", "properties": { - "metricName": { - "description": "metricName is the name of the metric in question", - "type": "string" - }, - "targetAverageValue": { - "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)", - "type": "string" + "loadBalancer": { + "description": "LoadBalancer contains the current status of the load-balancer.", + "$ref": "#/definitions/v1.LoadBalancerStatus" } } }, - "v1.EndpointPort": { - "description": "EndpointPort is a tuple that describes a single port.", + "v1.NodeAddress": { + "description": "NodeAddress contains information for the node's address.", "required": [ - "port" + "type", + "address" ], "properties": { - "name": { - "description": "The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint.", - "type": "integer", - "format": "int32" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", + "address": { + "description": "The node address.", "type": "string" - } - } - }, - "v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", - "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } }, - "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "type": { + "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", "type": "string" } } }, - "v1.JobCondition": { - "description": "JobCondition describes current state of a job.", + "v1.QuobyteVolumeSource": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", "required": [ - "type", - "status" + "registry", + "volume" ], "properties": { - "lastProbeTime": { - "description": "Last time the condition was checked.", - "type": "string", - "format": "date-time" - }, - "lastTransitionTime": { - "description": "Last time the condition transit from one status to another.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "Human readable message indicating details about last transition.", + "group": { + "description": "Group to map volume access to Default is no group", "type": "string" }, - "reason": { - "description": "(brief) reason for the condition's last transition.", + "readOnly": { + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", + "type": "boolean" + }, + "registry": { + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", "type": "string" }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", + "user": { + "description": "User to map volume access to Defaults to serivceaccount user", "type": "string" }, - "type": { - "description": "Type of job condition, Complete or Failed.", + "volume": { + "description": "Volume is a string that references an already created Quobyte volume by name.", "type": "string" } } }, - "v1beta1.DaemonSetUpdateStrategy": { + "v1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource.", "properties": { - "rollingUpdate": { - "description": "Rolling update config params. Present only if type = \"RollingUpdate\".", - "$ref": "#/definitions/v1beta1.RollingUpdateDaemonSet" - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.", - "type": "string" + "replicas": { + "description": "desired number of instances for the scaled object.", + "type": "integer", + "format": "int32" } } }, - "v1beta1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "v1.WeightedPodAffinityTerm": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "required": [ - "verbs" + "weight", + "podAffinityTerm" ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "$ref": "#/definitions/v1.PodAffinityTerm" + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "v1alpha1.RuleWithOperations": { + "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", "properties": { "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", "type": "array", "items": { "type": "string" } }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", "type": "array", "items": { "type": "string" } }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "operations": { + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.", "type": "array", "items": { "type": "string" } }, "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", "type": "array", "items": { "type": "string" @@ -42771,161 +67272,230 @@ } } }, - "v1.NamespaceStatus": { - "description": "NamespaceStatus is information about the current status of a Namespace.", + "v1.Preconditions": { + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "properties": { - "phase": { - "description": "Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases", + "uid": { + "description": "Specifies the target UID.", "type": "string" } } }, - "v1beta1.NetworkPolicySpec": { + "v2beta1.PodsMetricSource": { + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", "required": [ - "podSelector" + "metricName", + "targetAverageValue" ], "properties": { - "ingress": { - "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.NetworkPolicyIngressRule" - } + "metricName": { + "description": "metricName is the name of the metric in question", + "type": "string" }, - "podSelector": { - "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", - "$ref": "#/definitions/v1.LabelSelector" + "targetAverageValue": { + "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "type": "string" } } }, - "v1.PodAntiAffinity": { - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "v1.ReplicationControllerSpec": { + "description": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.WeightedPodAffinityTerm" - } + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented. If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system will try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm `json:\"requiredDuringSchedulingRequiredDuringExecution,omitempty\"` If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PodAffinityTerm" + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "type": "object", + "additionalProperties": { + "type": "string" } + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" } } }, - "v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "v1.APIResource": { + "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ - "items" + "name", + "singularName", + "namespaced", + "kind", + "verbs" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "categories": { + "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", + "type": "array", + "items": { + "type": "string" + } + }, + "group": { + "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".", "type": "string" }, - "items": { - "description": "Items is a list of ClusterRoleBindings", + "kind": { + "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", + "type": "string" + }, + "name": { + "description": "name is the plural name of the resource.", + "type": "string" + }, + "namespaced": { + "description": "namespaced indicates if a resource is namespaced or not.", + "type": "boolean" + }, + "shortNames": { + "description": "shortNames is a list of suggested short names of the resource.", "type": "array", "items": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "type": "string" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "singularName": { + "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "Group": "rbac.authorization.k8s.io", - "Version": "v1alpha1", - "Kind": "ClusterRoleBindingList" + "verbs": { + "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".", + "type": "string" } - ] + } }, - "v1.EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", + "v1beta1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { - "configMapKeyRef": { - "description": "Selects a key of a ConfigMap.", - "$ref": "#/definitions/v1.ConfigMapKeySelector" - }, - "fieldRef": { - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP.", - "$ref": "#/definitions/v1.ObjectFieldSelector" - }, - "resourceFieldRef": { - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", - "$ref": "#/definitions/v1.ResourceFieldSelector" - }, - "secretKeyRef": { - "description": "Selects a key of a secret in the pod's namespace", - "$ref": "#/definitions/v1.SecretKeySelector" + "token": { + "description": "Token is the opaque bearer token.", + "type": "string" } } }, - "v1beta1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", - "required": [ - "paths" - ], + "v1.PodSecurityContext": { + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "$ref": "#/definitions/v1.SELinuxOptions" + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.HTTPIngressPath" + "type": "integer", + "format": "int64" } } } }, - "v2alpha1.PodsMetricStatus": { - "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "v1beta1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "required": [ - "metricName", - "currentAverageValue" + "spec" ], "properties": { - "currentAverageValue": { - "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "metricName": { - "description": "metricName is the name of the metric in question", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" + } + ] }, - "v1.LoadBalancerIngress": { - "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", + "v1beta2.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { - "hostname": { - "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", - "type": "string" - }, - "ip": { - "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", - "type": "string" + "replicas": { + "description": "desired number of instances for the scaled object.", + "type": "integer", + "format": "int32" } } }, - "v1beta1.NetworkPolicyPort": { + "extensions.v1beta1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status" + ], "properties": { - "port": { - "description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", "type": "string", - "format": "int-or-string" + "format": "date-time" }, - "protocol": { - "description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", "type": "string" } } diff --git a/scripts/update-client.sh b/scripts/update-client.sh new file mode 100755 index 0000000000..5d5718ff94 --- /dev/null +++ b/scripts/update-client.sh @@ -0,0 +1,54 @@ +#!/bin/bash + +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Script to fetch latest swagger spec. +# Puts the updated spec at api/swagger-spec/ + +set -o errexit +set -o nounset +set -o pipefail + +if ! which mvn > /dev/null 2>&1; then + echo "Maven is not installed." + exit +fi + +SCRIPT_ROOT=$(dirname "${BASH_SOURCE}") +CLIENT_ROOT="${SCRIPT_ROOT}/../kubernetes" + +pushd "${SCRIPT_ROOT}" > /dev/null +SCRIPT_ROOT=`pwd` +popd > /dev/null + +pushd "${CLIENT_ROOT}" > /dev/null +CLIENT_ROOT=`pwd` +popd > /dev/null + +TEMP_FOLDER=$(mktemp -d) +trap "rm -rf ${TEMP_FOLDER}" EXIT SIGINT + +if [[ -z ${GEN_ROOT:-} ]]; then + GEN_ROOT="${TEMP_FOLDER}/gen" + echo ">>> Cloning gen repo" + git clone --recursive https://github.com/kubernetes-client/gen.git "${GEN_ROOT}" +else + echo ">>> Reusing gen repo at ${GEN_ROOT}" +fi + +echo ">>> Running java generator from the gen repo" +"${GEN_ROOT}/openapi/java.sh" "${CLIENT_ROOT}" "${SCRIPT_ROOT}/../settings" + +echo ">>> Done." diff --git a/settings b/settings index 8d6867412a..020eff32f8 100644 --- a/settings +++ b/settings @@ -15,11 +15,11 @@ # limitations under the License. # Kubernetes branch to get the OpenAPI spec from. -export KUBERNETES_BRANCH="release-1.6" +export KUBERNETES_BRANCH="release-1.8" # client version for packaging and releasing. It can # be different than SPEC_VERSION. -export CLIENT_VERSION="0.1-SNAPSHOT" +export CLIENT_VERSION="1.0-SNAPSHOT" # Name of the release package export PACKAGE_NAME="io.kubernetes.client"